Skip to content
Aback Tools Logo

ASCII Table Reference

Browse all 128 ASCII characters online for free with our interactive ascii table reference. Instantly look up any character by decimal code, hex value, octal, binary, or description — with click-to-copy and category filters. No signup required.

ASCII Table Reference

Browse all 128 ASCII characters with their decimal, hexadecimal, octal, and binary values. Search by character, decimal code, hex value, or description. Click any row to copy the character to your clipboard.

Showing 128 of 128 characters Printable Control
DecHexOctBinaryCharDescriptionType
00x000000000 0000\x00NUL (Null)control
10x010010000 0001\x01SOH (Start of Heading)control
20x020020000 0010\x02STX (Start of Text)control
30x030030000 0011\x03ETX (End of Text)control
40x040040000 0100\x04EOT (End of Transmission)control
50x050050000 0101\x05ENQ (Enquiry)control
60x060060000 0110\x06ACK (Acknowledge)control
70x070070000 0111\x07BEL (Bell)control
80x080100000 1000\x08BS (Backspace)control
90x090110000 1001\x09HT (Horizontal Tab)control
100x0A0120000 1010\x0ALF (Line Feed)control
110x0B0130000 1011\x0BVT (Vertical Tab)control
120x0C0140000 1100\x0CFF (Form Feed)control
130x0D0150000 1101\x0DCR (Carriage Return)control
140x0E0160000 1110\x0ESO (Shift Out)control
150x0F0170000 1111\x0FSI (Shift In)control
160x100200001 0000\x10DLE (Data Link Escape)control
170x110210001 0001\x11DC1 (Device Control 1)control
180x120220001 0010\x12DC2 (Device Control 2)control
190x130230001 0011\x13DC3 (Device Control 3)control
200x140240001 0100\x14DC4 (Device Control 4)control
210x150250001 0101\x15NAK (Negative Acknowledge)control
220x160260001 0110\x16SYN (Synchronous Idle)control
230x170270001 0111\x17ETB (End of Transmission Block)control
240x180300001 1000\x18CAN (Cancel)control
250x190310001 1001\x19EM (End of Medium)control
260x1A0320001 1010\x1ASUB (Substitute)control
270x1B0330001 1011\x1BESC (Escape)control
280x1C0340001 1100\x1CFS (File Separator)control
290x1D0350001 1101\x1DGS (Group Separator)control
300x1E0360001 1110\x1ERS (Record Separator)control
310x1F0370001 1111\x1FUS (Unit Separator)control
320x200400010 0000 SP (Space)printable
330x210410010 0001!!printable
340x220420010 0010""printable
350x230430010 0011##printable
360x240440010 0100$$printable
370x250450010 0101%%printable
380x260460010 0110&&printable
390x270470010 0111''printable
400x280500010 1000((printable
410x290510010 1001))printable
420x2A0520010 1010**printable
430x2B0530010 1011++printable
440x2C0540010 1100,,printable
450x2D0550010 1101--printable
460x2E0560010 1110..printable
470x2F0570010 1111//printable
480x300600011 000000printable
490x310610011 000111printable
500x320620011 001022printable
510x330630011 001133printable
520x340640011 010044printable
530x350650011 010155printable
540x360660011 011066printable
550x370670011 011177printable
560x380700011 100088printable
570x390710011 100199printable
580x3A0720011 1010::printable
590x3B0730011 1011;;printable
600x3C0740011 1100<<printable
610x3D0750011 1101==printable
620x3E0760011 1110>>printable
630x3F0770011 1111??printable
640x401000100 0000@@printable
650x411010100 0001AAprintable
660x421020100 0010BBprintable
670x431030100 0011CCprintable
680x441040100 0100DDprintable
690x451050100 0101EEprintable
700x461060100 0110FFprintable
710x471070100 0111GGprintable
720x481100100 1000HHprintable
730x491110100 1001IIprintable
740x4A1120100 1010JJprintable
750x4B1130100 1011KKprintable
760x4C1140100 1100LLprintable
770x4D1150100 1101MMprintable
780x4E1160100 1110NNprintable
790x4F1170100 1111OOprintable
800x501200101 0000PPprintable
810x511210101 0001QQprintable
820x521220101 0010RRprintable
830x531230101 0011SSprintable
840x541240101 0100TTprintable
850x551250101 0101UUprintable
860x561260101 0110VVprintable
870x571270101 0111WWprintable
880x581300101 1000XXprintable
890x591310101 1001YYprintable
900x5A1320101 1010ZZprintable
910x5B1330101 1011[[printable
920x5C1340101 1100\\printable
930x5D1350101 1101]]printable
940x5E1360101 1110^^printable
950x5F1370101 1111__printable
960x601400110 0000``printable
970x611410110 0001aaprintable
980x621420110 0010bbprintable
990x631430110 0011ccprintable
1000x641440110 0100ddprintable
1010x651450110 0101eeprintable
1020x661460110 0110ffprintable
1030x671470110 0111ggprintable
1040x681500110 1000hhprintable
1050x691510110 1001iiprintable
1060x6A1520110 1010jjprintable
1070x6B1530110 1011kkprintable
1080x6C1540110 1100llprintable
1090x6D1550110 1101mmprintable
1100x6E1560110 1110nnprintable
1110x6F1570110 1111ooprintable
1120x701600111 0000ppprintable
1130x711610111 0001qqprintable
1140x721620111 0010rrprintable
1150x731630111 0011ssprintable
1160x741640111 0100ttprintable
1170x751650111 0101uuprintable
1180x761660111 0110vvprintable
1190x771670111 0111wwprintable
1200x781700111 1000xxprintable
1210x791710111 1001yyprintable
1220x7A1720111 1010zzprintable
1230x7B1730111 1011{{printable
1240x7C1740111 1100||printable
1250x7D1750111 1101}}printable
1260x7E1760111 1110~~printable
1270x7F1770111 1111\x7FDEL (Delete)control
Digits
48–57
0–9
Uppercase
65–90
A–Z
Lowercase
97–122
a–z
Space
32
SP

Why Use Our ASCII Table Reference?

Fast, searchable, and multi-base ASCII character lookup

Instant ASCII Character Lookup

Our ASCII table reference lets you find any character instantly by decimal code, hex value, octal, binary, or description. Search for "65" to find A, "0x41" to find the same, or "carriage" to find CR — all in milliseconds.

Secure ASCII Table Reference Online

Our ASCII table reference runs entirely in your browser with no server requests. Your searches and lookups never leave your device, ensuring complete privacy when you use our ASCII table online.

ASCII Table Reference — No Installation

Use our ASCII table reference directly in any browser with no downloads, plugins, or account required. Look up ASCII character codes from any device — desktop, tablet, or mobile — for free.

Decimal, Hex, Octal, and Binary Values

Our ASCII table reference shows every character in all four number bases simultaneously — decimal, hexadecimal, octal, and binary. Filter by category (printable, control, digits, letters) and click any row to copy the character.

Common Use Cases for ASCII Table Reference

From programming to security — ASCII character lookup for every developer

Programming & Software Development

Developers use our ASCII table reference to look up character codes for string manipulation, character validation, and encoding operations. Find the decimal or hex value of any character instantly for use in code.

Network Protocol & Data Format Analysis

Network engineers and protocol developers use our ASCII table reference to decode raw byte streams, analyze packet data, and understand control characters in network protocols like HTTP, SMTP, and FTP.

Embedded Systems & Microcontroller Programming

Embedded developers use our ASCII table reference to look up character codes for UART communication, LCD display programming, and serial protocol implementation where exact byte values matter.

Cybersecurity & CTF Challenges

Security researchers and CTF participants use our ASCII table reference to decode encoded strings, analyze binary data, and understand character-based encoding schemes in security challenges.

Regular Expression & Text Processing

Developers writing regular expressions use our ASCII table reference to find the exact decimal or hex values for character class ranges, escape sequences, and special character matching.

Computer Science Education

Students and educators use our ASCII table reference to understand character encoding, binary representation, and the relationship between characters and their numeric codes in computer science courses.

Understanding ASCII Character Codes

What ASCII is, how it works, and how to use character codes

What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns a unique number to 128 characters — including letters, digits, punctuation, and control characters. Developed in the 1960s, ASCII uses 7 bits to represent values from 0 to 127. Each character has a decimal code (0–127), a hexadecimal code (0x00–0x7F), an octal code (000–177), and an 8-bit binary representation. Our ASCII table reference shows all four representations simultaneously for every character.

ASCII is the foundation of modern text encoding. Unicode (UTF-8, UTF-16) is backward compatible with ASCII — the first 128 Unicode code points are identical to ASCII. This means ASCII character codes are still relevant in modern programming, network protocols, and data formats.

ASCII Character Categories

  1. Control Characters (0–31, 127): Non-printable characters used to control devices and data transmission. Includes NUL (0), TAB (9), LF (10), CR (13), ESC (27), and DEL (127). These characters have special meaning in terminals, network protocols, and file formats.
  2. Printable Characters (32–126): Visible characters including Space (32), digits 0–9 (48–57), uppercase A–Z (65–90), lowercase a–z (97–122), and punctuation/symbols. These are the characters you type on a keyboard.
  3. Extended ASCII (128–255): Not part of standard ASCII — these are defined by various code pages (ISO 8859, Windows-1252, etc.) and vary by platform. Our ASCII table reference covers the standard 0–127 range.

How to Use ASCII Codes in Programming

  • Character to Code: In most languages, you can get the ASCII code of a character using ord('A') in Python, 'A'.charCodeAt(0) in JavaScript, or (int)'A' in C.
  • Code to Character: Convert a code back to a character using chr(65) in Python, String.fromCharCode(65) in JavaScript, or (char)65 in C.
  • Hex Escape Sequences: Use hex codes in string literals: \x41 for A, \x0A for newline (LF), \x09 for tab.
  • Character Ranges: Use decimal ranges for validation: digits are 48–57, uppercase letters are 65–90, lowercase letters are 97–122. The difference between uppercase and lowercase is always 32 (0x20).

Key ASCII Values to Remember

A few ASCII values are worth memorizing: Space = 32, 0 = 48, A = 65, a = 97 (lowercase is uppercase + 32), Tab = 9, Newline (LF) = 10, Carriage Return (CR) = 13, Escape = 27, Delete = 127. The difference between any uppercase letter and its lowercase equivalent is always 32 — this is why toggling bit 5 (0x20) switches case.

Frequently Asked Questions About ASCII Table Reference

Common questions about ASCII character codes and how to use them

An ASCII table is a reference chart showing all 128 ASCII characters with their corresponding decimal, hexadecimal, octal, and binary values. ASCII (American Standard Code for Information Interchange) assigns a unique number to each character — letters, digits, punctuation, and control characters. Our ASCII table reference is interactive and searchable.

The standard ASCII table contains 128 characters (codes 0–127). This includes 33 control characters (0–31 and 127) and 95 printable characters (32–126). Extended ASCII adds another 128 characters (128–255) that vary by code page, but our reference covers the standard 0–127 range.

The ASCII code for a space character is 32 (decimal), 0x20 (hexadecimal), 040 (octal), and 00100000 (binary). Space is the first printable ASCII character and is commonly used as a delimiter in text processing.

The ASCII codes for uppercase letters (A=65 to Z=90) and lowercase letters (a=97 to z=122) differ by exactly 32. This means you can convert between cases by adding or subtracting 32, or by toggling bit 5 (0x20). For example, A=65 and a=97, B=66 and b=98, and so on.

ASCII control characters are non-printable characters with codes 0–31 and 127. They were originally designed to control teletype machines and data transmission. Common ones include NUL (0), TAB (9), LF/newline (10), CR (13), ESC (27), and DEL (127). Many are still used in modern protocols and file formats.

In Python, use ord("A") to get 65 and chr(65) to get "A". In JavaScript, use "A".charCodeAt(0) for 65 and String.fromCharCode(65) for "A". In C/C++, cast between char and int. In string literals, use hex escapes like \x41 for A or \x0A for newline.

The ASCII code for newline (Line Feed, LF) is 10 (decimal), 0x0A (hex). On Unix/Linux/macOS, a newline is just LF (10). On Windows, a newline is CR+LF (13+10). The Carriage Return (CR) character is ASCII code 13 (0x0D).

Yes. ASCII is the foundation of Unicode — the first 128 Unicode code points (U+0000 to U+007F) are identical to ASCII. UTF-8, the most common text encoding on the web, encodes ASCII characters as single bytes. ASCII codes are used daily in programming, network protocols, file formats, and data processing.

ASCII covers only 128 characters (English letters, digits, and basic symbols). Unicode covers over 140,000 characters from all writing systems worldwide. UTF-8 is backward compatible with ASCII — any ASCII text is valid UTF-8. For modern applications, Unicode (UTF-8) is recommended, but ASCII codes remain relevant for the first 128 characters.