ASCII Table
Free web tool: ASCII Table
| Dec | Hex | Oct | Char | Description | |
|---|---|---|---|---|---|
| 0 | 0x00 | 000 | ^@ | NUL (Null) | Copy |
| 1 | 0x01 | 001 | ^A | SOH (Start of Heading) | Copy |
| 2 | 0x02 | 002 | ^B | STX (Start of Text) | Copy |
| 3 | 0x03 | 003 | ^C | ETX (End of Text) | Copy |
| 4 | 0x04 | 004 | ^D | EOT (End of Transmission) | Copy |
| 5 | 0x05 | 005 | ^E | ENQ (Enquiry) | Copy |
| 6 | 0x06 | 006 | ^F | ACK (Acknowledge) | Copy |
| 7 | 0x07 | 007 | ^G | BEL (Bell) | Copy |
| 8 | 0x08 | 010 | ^H | BS (Backspace) | Copy |
| 9 | 0x09 | 011 | ^I | HT (Horizontal Tab) | Copy |
| 10 | 0x0A | 012 | ^J | LF (Line Feed) | Copy |
| 11 | 0x0B | 013 | ^K | VT (Vertical Tab) | Copy |
| 12 | 0x0C | 014 | ^L | FF (Form Feed) | Copy |
| 13 | 0x0D | 015 | ^M | CR (Carriage Return) | Copy |
| 14 | 0x0E | 016 | ^N | SO (Shift Out) | Copy |
| 15 | 0x0F | 017 | ^O | SI (Shift In) | Copy |
| 16 | 0x10 | 020 | ^P | DLE (Data Link Escape) | Copy |
| 17 | 0x11 | 021 | ^Q | DC1 (Device Control 1) | Copy |
| 18 | 0x12 | 022 | ^R | DC2 (Device Control 2) | Copy |
| 19 | 0x13 | 023 | ^S | DC3 (Device Control 3) | Copy |
| 20 | 0x14 | 024 | ^T | DC4 (Device Control 4) | Copy |
| 21 | 0x15 | 025 | ^U | NAK (Negative Acknowledge) | Copy |
| 22 | 0x16 | 026 | ^V | SYN (Synchronous Idle) | Copy |
| 23 | 0x17 | 027 | ^W | ETB (End of Trans. Block) | Copy |
| 24 | 0x18 | 030 | ^X | CAN (Cancel) | Copy |
| 25 | 0x19 | 031 | ^Y | EM (End of Medium) | Copy |
| 26 | 0x1A | 032 | ^Z | SUB (Substitute) | Copy |
| 27 | 0x1B | 033 | ^[ | ESC (Escape) | Copy |
| 28 | 0x1C | 034 | ^\ | FS (File Separator) | Copy |
| 29 | 0x1D | 035 | ^] | GS (Group Separator) | Copy |
| 30 | 0x1E | 036 | ^^ | RS (Record Separator) | Copy |
| 31 | 0x1F | 037 | ^_ | US (Unit Separator) | Copy |
| 32 | 0x20 | 040 | SP | Space | Copy |
| 33 | 0x21 | 041 | ! | Symbol '!' | Copy |
| 34 | 0x22 | 042 | " | Symbol '"' | Copy |
| 35 | 0x23 | 043 | # | Symbol '#' | Copy |
| 36 | 0x24 | 044 | $ | Symbol '$' | Copy |
| 37 | 0x25 | 045 | % | Symbol '%' | Copy |
| 38 | 0x26 | 046 | & | Symbol '&' | Copy |
| 39 | 0x27 | 047 | ' | Symbol ''' | Copy |
| 40 | 0x28 | 050 | ( | Symbol '(' | Copy |
| 41 | 0x29 | 051 | ) | Symbol ')' | Copy |
| 42 | 0x2A | 052 | * | Symbol '*' | Copy |
| 43 | 0x2B | 053 | + | Symbol '+' | Copy |
| 44 | 0x2C | 054 | , | Symbol ',' | Copy |
| 45 | 0x2D | 055 | - | Symbol '-' | Copy |
| 46 | 0x2E | 056 | . | Symbol '.' | Copy |
| 47 | 0x2F | 057 | / | Symbol '/' | Copy |
| 48 | 0x30 | 060 | 0 | Digit 0 | Copy |
| 49 | 0x31 | 061 | 1 | Digit 1 | Copy |
| 50 | 0x32 | 062 | 2 | Digit 2 | Copy |
| 51 | 0x33 | 063 | 3 | Digit 3 | Copy |
| 52 | 0x34 | 064 | 4 | Digit 4 | Copy |
| 53 | 0x35 | 065 | 5 | Digit 5 | Copy |
| 54 | 0x36 | 066 | 6 | Digit 6 | Copy |
| 55 | 0x37 | 067 | 7 | Digit 7 | Copy |
| 56 | 0x38 | 070 | 8 | Digit 8 | Copy |
| 57 | 0x39 | 071 | 9 | Digit 9 | Copy |
| 58 | 0x3A | 072 | : | Symbol ':' | Copy |
| 59 | 0x3B | 073 | ; | Symbol ';' | Copy |
| 60 | 0x3C | 074 | < | Symbol '<' | Copy |
| 61 | 0x3D | 075 | = | Symbol '=' | Copy |
| 62 | 0x3E | 076 | > | Symbol '>' | Copy |
| 63 | 0x3F | 077 | ? | Symbol '?' | Copy |
| 64 | 0x40 | 100 | @ | Symbol '@' | Copy |
| 65 | 0x41 | 101 | A | Uppercase A | Copy |
| 66 | 0x42 | 102 | B | Uppercase B | Copy |
| 67 | 0x43 | 103 | C | Uppercase C | Copy |
| 68 | 0x44 | 104 | D | Uppercase D | Copy |
| 69 | 0x45 | 105 | E | Uppercase E | Copy |
| 70 | 0x46 | 106 | F | Uppercase F | Copy |
| 71 | 0x47 | 107 | G | Uppercase G | Copy |
| 72 | 0x48 | 110 | H | Uppercase H | Copy |
| 73 | 0x49 | 111 | I | Uppercase I | Copy |
| 74 | 0x4A | 112 | J | Uppercase J | Copy |
| 75 | 0x4B | 113 | K | Uppercase K | Copy |
| 76 | 0x4C | 114 | L | Uppercase L | Copy |
| 77 | 0x4D | 115 | M | Uppercase M | Copy |
| 78 | 0x4E | 116 | N | Uppercase N | Copy |
| 79 | 0x4F | 117 | O | Uppercase O | Copy |
| 80 | 0x50 | 120 | P | Uppercase P | Copy |
| 81 | 0x51 | 121 | Q | Uppercase Q | Copy |
| 82 | 0x52 | 122 | R | Uppercase R | Copy |
| 83 | 0x53 | 123 | S | Uppercase S | Copy |
| 84 | 0x54 | 124 | T | Uppercase T | Copy |
| 85 | 0x55 | 125 | U | Uppercase U | Copy |
| 86 | 0x56 | 126 | V | Uppercase V | Copy |
| 87 | 0x57 | 127 | W | Uppercase W | Copy |
| 88 | 0x58 | 130 | X | Uppercase X | Copy |
| 89 | 0x59 | 131 | Y | Uppercase Y | Copy |
| 90 | 0x5A | 132 | Z | Uppercase Z | Copy |
| 91 | 0x5B | 133 | [ | Symbol '[' | Copy |
| 92 | 0x5C | 134 | \ | Symbol '\' | Copy |
| 93 | 0x5D | 135 | ] | Symbol ']' | Copy |
| 94 | 0x5E | 136 | ^ | Symbol '^' | Copy |
| 95 | 0x5F | 137 | _ | Symbol '_' | Copy |
| 96 | 0x60 | 140 | ` | Symbol '`' | Copy |
| 97 | 0x61 | 141 | a | Lowercase a | Copy |
| 98 | 0x62 | 142 | b | Lowercase b | Copy |
| 99 | 0x63 | 143 | c | Lowercase c | Copy |
| 100 | 0x64 | 144 | d | Lowercase d | Copy |
| 101 | 0x65 | 145 | e | Lowercase e | Copy |
| 102 | 0x66 | 146 | f | Lowercase f | Copy |
| 103 | 0x67 | 147 | g | Lowercase g | Copy |
| 104 | 0x68 | 150 | h | Lowercase h | Copy |
| 105 | 0x69 | 151 | i | Lowercase i | Copy |
| 106 | 0x6A | 152 | j | Lowercase j | Copy |
| 107 | 0x6B | 153 | k | Lowercase k | Copy |
| 108 | 0x6C | 154 | l | Lowercase l | Copy |
| 109 | 0x6D | 155 | m | Lowercase m | Copy |
| 110 | 0x6E | 156 | n | Lowercase n | Copy |
| 111 | 0x6F | 157 | o | Lowercase o | Copy |
| 112 | 0x70 | 160 | p | Lowercase p | Copy |
| 113 | 0x71 | 161 | q | Lowercase q | Copy |
| 114 | 0x72 | 162 | r | Lowercase r | Copy |
| 115 | 0x73 | 163 | s | Lowercase s | Copy |
| 116 | 0x74 | 164 | t | Lowercase t | Copy |
| 117 | 0x75 | 165 | u | Lowercase u | Copy |
| 118 | 0x76 | 166 | v | Lowercase v | Copy |
| 119 | 0x77 | 167 | w | Lowercase w | Copy |
| 120 | 0x78 | 170 | x | Lowercase x | Copy |
| 121 | 0x79 | 171 | y | Lowercase y | Copy |
| 122 | 0x7A | 172 | z | Lowercase z | Copy |
| 123 | 0x7B | 173 | { | Symbol '{' | Copy |
| 124 | 0x7C | 174 | | | Symbol '|' | Copy |
| 125 | 0x7D | 175 | } | Symbol '}' | Copy |
| 126 | 0x7E | 176 | ~ | Symbol '~' | Copy |
| 127 | 0x7F | 177 | ^? | DEL (Delete) | Copy |
About ASCII Table
The ASCII Table is a comprehensive online reference for all 128 ASCII characters (codes 0-127), displaying each character with its decimal, hexadecimal, and octal values. The table covers the full ASCII spectrum: 33 control characters (0-31 and 127), the space character (32), printable symbols and punctuation (33-47, 58-64, 91-96, 123-126), digits 0-9 (48-57), uppercase letters A-Z (65-90), and lowercase letters a-z (97-122). Control characters are shown with their standard caret notation (^A through ^Z, ^?) and full names like NUL, SOH, ETX, LF, CR, and ESC.
This reference is essential for programmers, embedded systems engineers, network protocol developers, and computer science students. Common use cases include looking up character codes for serial communication protocols, debugging encoding issues in text processing, understanding escape sequences in terminal emulators, mapping keyboard scan codes, and converting between decimal, hex, and octal representations. The table is also invaluable when working with C/C++ char values, writing binary file parsers, or implementing text-based protocols like HTTP, SMTP, or FTP.
The table is fully searchable and filterable. Search by decimal value, hexadecimal code, character, or description to quickly find the entry you need. Filter by category (Control, Special, Digits, Uppercase, Lowercase) to focus on specific character ranges. Everything is generated dynamically in your browser with no server calls.
Key Features
- Complete ASCII table covering all 128 characters from code 0 (NUL) through 127 (DEL)
- Multiple numeric representations: decimal, hexadecimal (0x00-0x7F), and octal (000-177) columns for each character
- Control character reference with standard abbreviations (NUL, SOH, STX, ETX, EOT, ENQ, ACK, BEL, BS, HT, LF, VT, FF, CR, etc.) and full names
- Category filtering to isolate Control characters, Special/punctuation, Digits, Uppercase letters, or Lowercase letters
- Real-time search across decimal values, hex codes, characters, and descriptions to instantly locate any entry
- Caret notation display (^@, ^A, ^B, ... ^Z, ^[, ^\, ^], ^^, ^_, ^?) for all 33 control characters
- Result count display showing how many characters match your current search and filter criteria
- Responsive table layout that works across desktop monitors, tablets, and mobile devices
Frequently Asked Questions
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard published in 1963 that assigns numeric codes to 128 characters. It includes 33 non-printing control characters (codes 0-31 and 127), the space character (code 32), and 94 printable characters including digits, uppercase and lowercase English letters, and common punctuation and symbols. ASCII forms the foundation of virtually all modern character encoding systems, and its first 128 code points are identical in UTF-8, ISO-8859-1, and Windows-1252.
How many characters are in the ASCII table?
The standard ASCII table contains exactly 128 characters, numbered 0 through 127 (7 bits). This includes 33 control characters (0-31 plus 127/DEL), 1 space character (32), 10 digits (48-57), 26 uppercase letters (65-90), 26 lowercase letters (97-122), and 32 punctuation/symbol characters. Extended ASCII (codes 128-255) is not part of the original standard and varies by encoding (ISO-8859-1, Windows-1252, etc.).
What is the difference between ASCII and Unicode?
ASCII defines 128 characters using 7 bits, covering only English letters, digits, and basic symbols. Unicode is a much larger standard that aims to encode every character from every writing system in the world, currently defining over 149,000 characters. The first 128 Unicode code points (U+0000 to U+007F) are identical to ASCII, ensuring backward compatibility. UTF-8, the most common Unicode encoding, uses 1 byte for ASCII characters and 2-4 bytes for other characters.
What are ASCII control characters?
Control characters (codes 0-31 and 127) are non-printable characters originally designed to control hardware devices like printers and teletypes. Important ones still in use today include: LF (10, Line Feed) for Unix line endings, CR (13, Carriage Return) used with LF for Windows line endings (CR+LF), HT (9, Horizontal Tab) for tab characters, ESC (27, Escape) for terminal escape sequences, NUL (0, Null) as the C string terminator, and BS (8, Backspace). Most others like SOH, STX, ETX, and BEL are primarily relevant in serial communication protocols.
How do I convert between decimal, hexadecimal, and octal ASCII values?
Each ASCII character has equivalent values in different bases. For example, the letter "A" is decimal 65, hexadecimal 0x41, and octal 101. To convert: decimal to hex, divide by 16 and use A-F for remainders 10-15; decimal to octal, divide by 8. This table shows all three representations side by side so you do not need to calculate manually. In programming, hex is commonly used in escape sequences (\x41), octal in older C code (\101), and decimal in general ASCII code references.
Why is the letter "A" code 65 and not 1?
The first 32 codes (0-31) are reserved for control characters, and code 32 is the space. Codes 33-47 are punctuation and symbols, and codes 48-57 are the digits 0-9. The uppercase letters start at 65 because the ASCII designers placed control characters, space, symbols, and digits first in the encoding table. A useful property of this arrangement is that the difference between an uppercase letter and its lowercase equivalent is always exactly 32 (e.g., A=65, a=97), which corresponds to a single bit flip (bit 5), making case conversion efficient in binary.
What is caret notation for control characters?
Caret notation represents control characters as ^ followed by another character. It is derived from the fact that control characters are generated by holding Ctrl and pressing a key. ^A (Ctrl+A) is code 1, ^B is code 2, up through ^Z for code 26. ^@ is NUL (code 0), ^[ is ESC (code 27), and ^? is DEL (code 127). This notation is commonly seen in terminal emulators, command-line tools, and text editors like Vim and Nano when displaying non-printable characters.
How do I search for a specific character in this table?
Use the search bar at the top to search by any attribute. Type a decimal number (e.g., "65") to find that code, a hex value (e.g., "41"), a character (e.g., "A"), or a description keyword (e.g., "Escape" or "Tab"). You can also click the category filter buttons to show only Control characters, Special characters, Digits, Uppercase letters, or Lowercase letters. The result count updates in real time as you type.