ASCII Table
Complete ASCII character code reference with control, printable, and extended characters
| Decimal | Hex | Character | Description | |
|---|---|---|---|---|
| 0 | 0x00 | - | Null character | |
| 1 | 0x01 | - | Start of Heading | |
| 2 | 0x02 | - | Start of Text | |
| 3 | 0x03 | - | End of Text | |
| 4 | 0x04 | - | End of Transmission | |
| 5 | 0x05 | - | Enquiry | |
| 6 | 0x06 | - | Acknowledge | |
| 7 | 0x07 | - | Bell | |
| 8 | 0x08 | - | Backspace | |
| 9 | 0x09 | - | Horizontal Tab | |
| 10 | 0x0A | - | Line Feed | |
| 11 | 0x0B | - | Vertical Tab | |
| 12 | 0x0C | - | Form Feed | |
| 13 | 0x0D | - | Carriage Return | |
| 14 | 0x0E | - | Shift Out | |
| 15 | 0x0F | - | Shift In | |
| 16 | 0x10 | - | Data Link Escape | |
| 17 | 0x11 | - | Device Control 1 | |
| 18 | 0x12 | - | Device Control 2 | |
| 19 | 0x13 | - | Device Control 3 | |
| 20 | 0x14 | - | Device Control 4 | |
| 21 | 0x15 | - | Negative Acknowledge | |
| 22 | 0x16 | - | Synchronous Idle | |
| 23 | 0x17 | - | End of Transmission Block | |
| 24 | 0x18 | - | Cancel | |
| 25 | 0x19 | - | End of Medium | |
| 26 | 0x1A | - | Substitute | |
| 27 | 0x1B | - | Escape | |
| 28 | 0x1C | - | File Separator | |
| 29 | 0x1D | - | Group Separator | |
| 30 | 0x1E | - | Record Separator | |
| 31 | 0x1F | - | Unit Separator | |
| 127 | 0x7F | - | Delete | |
| 32 | 0x20 | ␣ | Space | |
| 33 | 0x21 | ! | Exclamation mark | |
| 34 | 0x22 | " | Double quote | |
| 35 | 0x23 | # | Number sign | |
| 36 | 0x24 | $ | Dollar sign | |
| 37 | 0x25 | % | Percent sign | |
| 38 | 0x26 | & | Ampersand | |
| 39 | 0x27 | ' | Single quote | |
| 40 | 0x28 | ( | Left parenthesis | |
| 41 | 0x29 | ) | Right parenthesis | |
| 42 | 0x2A | * | Asterisk | |
| 43 | 0x2B | + | Plus sign | |
| 44 | 0x2C | , | Comma | |
| 45 | 0x2D | - | Hyphen | |
| 46 | 0x2E | . | Period | |
| 47 | 0x2F | / | Slash | |
| 48 | 0x30 | 0 | Digit 0 | |
| 49 | 0x31 | 1 | Digit 1 | |
| 50 | 0x32 | 2 | Digit 2 | |
| 51 | 0x33 | 3 | Digit 3 | |
| 52 | 0x34 | 4 | Digit 4 | |
| 53 | 0x35 | 5 | Digit 5 | |
| 54 | 0x36 | 6 | Digit 6 | |
| 55 | 0x37 | 7 | Digit 7 | |
| 56 | 0x38 | 8 | Digit 8 | |
| 57 | 0x39 | 9 | Digit 9 | |
| 58 | 0x3A | : | Colon | |
| 59 | 0x3B | ; | Semicolon | |
| 60 | 0x3C | < | Less than | |
| 61 | 0x3D | = | Equal sign | |
| 62 | 0x3E | > | Greater than | |
| 63 | 0x3F | ? | Question mark | |
| 64 | 0x40 | @ | At sign | |
| 65 | 0x41 | A | Uppercase A | |
| 66 | 0x42 | B | Uppercase B | |
| 67 | 0x43 | C | Uppercase C | |
| 68 | 0x44 | D | Uppercase D | |
| 69 | 0x45 | E | Uppercase E | |
| 70 | 0x46 | F | Uppercase F | |
| 71 | 0x47 | G | Uppercase G | |
| 72 | 0x48 | H | Uppercase H | |
| 73 | 0x49 | I | Uppercase I | |
| 74 | 0x4A | J | Uppercase J | |
| 75 | 0x4B | K | Uppercase K | |
| 76 | 0x4C | L | Uppercase L | |
| 77 | 0x4D | M | Uppercase M | |
| 78 | 0x4E | N | Uppercase N | |
| 79 | 0x4F | O | Uppercase O | |
| 80 | 0x50 | P | Uppercase P | |
| 81 | 0x51 | Q | Uppercase Q | |
| 82 | 0x52 | R | Uppercase R | |
| 83 | 0x53 | S | Uppercase S | |
| 84 | 0x54 | T | Uppercase T | |
| 85 | 0x55 | U | Uppercase U | |
| 86 | 0x56 | V | Uppercase V | |
| 87 | 0x57 | W | Uppercase W | |
| 88 | 0x58 | X | Uppercase X | |
| 89 | 0x59 | Y | Uppercase Y | |
| 90 | 0x5A | Z | Uppercase Z | |
| 91 | 0x5B | [ | Left bracket | |
| 92 | 0x5C | \ | Backslash | |
| 93 | 0x5D | ] | Right bracket | |
| 94 | 0x5E | ^ | Caret | |
| 95 | 0x5F | _ | Underscore | |
| 96 | 0x60 | ` | Grave accent | |
| 97 | 0x61 | a | Lowercase a | |
| 98 | 0x62 | b | Lowercase b | |
| 99 | 0x63 | c | Lowercase c | |
| 100 | 0x64 | d | Lowercase d | |
| 101 | 0x65 | e | Lowercase e | |
| 102 | 0x66 | f | Lowercase f | |
| 103 | 0x67 | g | Lowercase g | |
| 104 | 0x68 | h | Lowercase h | |
| 105 | 0x69 | i | Lowercase i | |
| 106 | 0x6A | j | Lowercase j | |
| 107 | 0x6B | k | Lowercase k | |
| 108 | 0x6C | l | Lowercase l | |
| 109 | 0x6D | m | Lowercase m | |
| 110 | 0x6E | n | Lowercase n | |
| 111 | 0x6F | o | Lowercase o | |
| 112 | 0x70 | p | Lowercase p | |
| 113 | 0x71 | q | Lowercase q | |
| 114 | 0x72 | r | Lowercase r | |
| 115 | 0x73 | s | Lowercase s | |
| 116 | 0x74 | t | Lowercase t | |
| 117 | 0x75 | u | Lowercase u | |
| 118 | 0x76 | v | Lowercase v | |
| 119 | 0x77 | w | Lowercase w | |
| 120 | 0x78 | x | Lowercase x | |
| 121 | 0x79 | y | Lowercase y | |
| 122 | 0x7A | z | Lowercase z | |
| 123 | 0x7B | { | Left brace | |
| 124 | 0x7C | | | Vertical bar | |
| 125 | 0x7D | } | Right brace | |
| 126 | 0x7E | ~ | Tilde | |
| 128 | 0x80 | | ||
| 129 | 0x81 | | ||
| 130 | 0x82 | | ||
| 131 | 0x83 | | ||
| 132 | 0x84 | | ||
| 133 | 0x85 | |||
| 134 | 0x86 | | ||
| 135 | 0x87 | | ||
| 136 | 0x88 | | ||
| 137 | 0x89 | | ||
| 138 | 0x8A | | ||
| 139 | 0x8B | | ||
| 140 | 0x8C | | ||
| 141 | 0x8D | | ||
| 142 | 0x8E | | ||
| 143 | 0x8F | | ||
| 144 | 0x90 | | ||
| 145 | 0x91 | | ||
| 146 | 0x92 | | ||
| 147 | 0x93 | | ||
| 148 | 0x94 | | ||
| 149 | 0x95 | | ||
| 150 | 0x96 | | ||
| 151 | 0x97 | | ||
| 152 | 0x98 | | ||
| 153 | 0x99 | | ||
| 154 | 0x9A | | ||
| 155 | 0x9B | | ||
| 156 | 0x9C | | ||
| 157 | 0x9D | | ||
| 158 | 0x9E | | ||
| 159 | 0x9F | | ||
| 160 | 0xA0 | |||
| 161 | 0xA1 | ¡ | ||
| 162 | 0xA2 | ¢ | ||
| 163 | 0xA3 | £ | ||
| 164 | 0xA4 | ¤ | ||
| 165 | 0xA5 | ¥ | ||
| 166 | 0xA6 | ¦ | ||
| 167 | 0xA7 | § | ||
| 168 | 0xA8 | ¨ | ||
| 169 | 0xA9 | © | ||
| 170 | 0xAA | ª | ||
| 171 | 0xAB | « | ||
| 172 | 0xAC | ¬ | ||
| 173 | 0xAD | | ||
| 174 | 0xAE | ® | ||
| 175 | 0xAF | ¯ | ||
| 176 | 0xB0 | ° | ||
| 177 | 0xB1 | ± | ||
| 178 | 0xB2 | ² | ||
| 179 | 0xB3 | ³ | ||
| 180 | 0xB4 | ´ | ||
| 181 | 0xB5 | µ | ||
| 182 | 0xB6 | ¶ | ||
| 183 | 0xB7 | · | ||
| 184 | 0xB8 | ¸ | ||
| 185 | 0xB9 | ¹ | ||
| 186 | 0xBA | º | ||
| 187 | 0xBB | » | ||
| 188 | 0xBC | ¼ | ||
| 189 | 0xBD | ½ | ||
| 190 | 0xBE | ¾ | ||
| 191 | 0xBF | ¿ | ||
| 192 | 0xC0 | À | ||
| 193 | 0xC1 | Á | ||
| 194 | 0xC2 | Â | ||
| 195 | 0xC3 | Ã | ||
| 196 | 0xC4 | Ä | ||
| 197 | 0xC5 | Å | ||
| 198 | 0xC6 | Æ | ||
| 199 | 0xC7 | Ç | ||
| 200 | 0xC8 | È | ||
| 201 | 0xC9 | É | ||
| 202 | 0xCA | Ê | ||
| 203 | 0xCB | Ë | ||
| 204 | 0xCC | Ì | ||
| 205 | 0xCD | Í | ||
| 206 | 0xCE | Î | ||
| 207 | 0xCF | Ï | ||
| 208 | 0xD0 | Ð | ||
| 209 | 0xD1 | Ñ | ||
| 210 | 0xD2 | Ò | ||
| 211 | 0xD3 | Ó | ||
| 212 | 0xD4 | Ô | ||
| 213 | 0xD5 | Õ | ||
| 214 | 0xD6 | Ö | ||
| 215 | 0xD7 | × | ||
| 216 | 0xD8 | Ø | ||
| 217 | 0xD9 | Ù | ||
| 218 | 0xDA | Ú | ||
| 219 | 0xDB | Û | ||
| 220 | 0xDC | Ü | ||
| 221 | 0xDD | Ý | ||
| 222 | 0xDE | Þ | ||
| 223 | 0xDF | ß | ||
| 224 | 0xE0 | à | ||
| 225 | 0xE1 | á | ||
| 226 | 0xE2 | â | ||
| 227 | 0xE3 | ã | ||
| 228 | 0xE4 | ä | ||
| 229 | 0xE5 | å | ||
| 230 | 0xE6 | æ | ||
| 231 | 0xE7 | ç | ||
| 232 | 0xE8 | è | ||
| 233 | 0xE9 | é | ||
| 234 | 0xEA | ê | ||
| 235 | 0xEB | ë | ||
| 236 | 0xEC | ì | ||
| 237 | 0xED | í | ||
| 238 | 0xEE | î | ||
| 239 | 0xEF | ï | ||
| 240 | 0xF0 | ð | ||
| 241 | 0xF1 | ñ | ||
| 242 | 0xF2 | ò | ||
| 243 | 0xF3 | ó | ||
| 244 | 0xF4 | ô | ||
| 245 | 0xF5 | õ | ||
| 246 | 0xF6 | ö | ||
| 247 | 0xF7 | ÷ | ||
| 248 | 0xF8 | ø | ||
| 249 | 0xF9 | ù | ||
| 250 | 0xFA | ú | ||
| 251 | 0xFB | û | ||
| 252 | 0xFC | ü | ||
| 253 | 0xFD | ý | ||
| 254 | 0xFE | þ | ||
| 255 | 0xFF | ÿ |
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character encoding standard based on the Latin alphabet. Originally developed for telegraph communication, it became the fundamental character encoding system in computing.
Standard ASCII contains 128 characters (0-127), including 33 control characters and 95 printable characters. Extended ASCII (128-255) includes additional special symbols and international characters.
How to Use
Click any value or character to copy it. Use the search box to quickly find specific characters. Click category buttons to filter by character type.
Character Categories
- 0-31, 127 - Control characters: Non-printable special characters for device control and communication protocols.
- 32-126 - Printable characters: Visible characters including digits, letters, and punctuation marks.
- 128-255 - Extended characters: Characters in the 128-255 range, varying by encoding table.
Frequently Asked Questions (FAQ)
Q: What's the difference between ASCII and Unicode?
A: ASCII is a 7-bit encoding that can represent only 128 characters, mainly English letters and symbols. Unicode is a modern encoding standard that can represent almost all writing systems worldwide and is ASCII-compatible (the first 128 characters are identical). Unicode is a superset of ASCII.
Q: What are the most commonly used ASCII control characters?
A: Most common control characters: 0 (NUL null), 9 (TAB tab), 10 (LF line feed), 13 (CR carriage return), 27 (ESC escape), 127 (DEL delete). LF and CR have different newline combinations across operating systems.
Q: Why do Windows and Linux use different line endings?
A: This stems from history. Windows uses CRLF (\r\n, 13+10), from early typewriter operations (carriage return + line feed). Linux/Unix uses LF (\n, 10), which is simpler. Mac OS 9 and earlier used CR (\r), but OS X switched to LF.
Q: How do I represent ASCII characters in code?
A: Different languages have different methods: Python uses chr(65) or '\x41'; JavaScript uses String.fromCharCode(65) or '\x41'; C/C++ uses '\x41' or char(65). The hex notation '\xNN' works in most languages.