Encoding reference / ASCII
ASCII Table and Converter
Find all 128 standard ASCII codes, copy their values, or convert text locally. A separate reference shows how named eight-bit encodings differ.
Find a character or code
Showing all 128 ASCII codes.
Standard ASCII: codes 0–127
The seven-bit column is the standard code. The eight-bit column shows the same value in a byte. Select a cell to copy its displayed value. Control names are shown instead of invisible characters.
| Dec | Hex | Oct | 7-bit | 8-bit | Character | Name | Description | Escape | HTML dec | HTML hex | More |
|---|---|---|---|---|---|---|---|---|---|---|---|
| ␀ NUL | Null | Null code with no printable glyph. | — | — | |||||||
| ␁ SOH | Start of Heading | Marks the start of a message heading. | — | — | |||||||
| ␂ STX | Start of Text | Marks the start of message text. | — | — | |||||||
| ␃ ETX | End of Text | Marks the end of message text. | — | — | |||||||
| ␄ EOT | End of Transmission | Marks the end of a transmission. | — | — | |||||||
| ␅ ENQ | Enquiry | Requests a response from another device. | — | — | |||||||
| ␆ ACK | Acknowledge | Positive acknowledgment of received data. | — | — | |||||||
| ␇ BEL | Bell | Historically triggers an audible alert. | — | — | |||||||
| ␈ BS | Backspace | Moves the cursor back one position in some systems. | — | — | |||||||
| ␉ HT | Horizontal Tab | Moves to the next horizontal tab stop. | — | — | |||||||
| ␊ LF | Line Feed | Advances to a new line without returning horizontally. | — | — | |||||||
| ␋ VT | Vertical Tab | Moves to the next vertical tab stop. | — | — | |||||||
| ␌ FF | Form Feed | Advances to the next form or page. | — | — | |||||||
| ␍ CR | Carriage Return | Returns to the start of the current line. | — | — | |||||||
| ␎ SO | Shift Out | Switches to an alternate character set in older systems. | — | — | |||||||
| ␏ SI | Shift In | Switches back from an alternate character set. | — | — | |||||||
| ␐ DLE | Data Link Escape | Introduces a data-link control sequence. | — | — | |||||||
| ␑ DC1 | Device Control One | Device control code one, also known as XON. | — | — | |||||||
| ␒ DC2 | Device Control Two | Device control code two. | — | — | |||||||
| ␓ DC3 | Device Control Three | Device control code three, also known as XOFF. | — | — | |||||||
| ␔ DC4 | Device Control Four | Device control code four. | — | — | |||||||
| ␕ NAK | Negative Acknowledge | Negative acknowledgment of received data. | — | — | |||||||
| ␖ SYN | Synchronous Idle | Used as a synchronization pattern. | — | — | |||||||
| ␗ ETB | End of Transmission Block | Marks the end of a transmission block. | — | — | |||||||
| ␘ CAN | Cancel | Signals cancellation of transmitted data. | — | — | |||||||
| ␙ EM | End of Medium | Marks the end of a physical medium. | — | — | |||||||
| ␚ SUB | Substitute | Substitute for an invalid or unavailable character. | — | — | |||||||
| ␛ ESC | Escape | Introduces an escape sequence. | — | — | |||||||
| ␜ FS | File Separator | Historical file-separator control. | — | — | |||||||
| ␝ GS | Group Separator | Historical group-separator control. | — | — | |||||||
| ␞ RS | Record Separator | Historical record-separator control. | — | — | |||||||
| ␟ US | Unit Separator | Historical unit-separator control. | — | — | |||||||
| Space | Space | ||||||||||
| Exclamation mark | Exclamation mark | — | |||||||||
| Quotation mark | Quotation mark | — | |||||||||
| Number sign | Number sign | — | |||||||||
| Dollar sign | Dollar sign | — | |||||||||
| Percent sign | Percent sign | — | |||||||||
| Ampersand | Ampersand | — | |||||||||
| Apostrophe | Apostrophe | — | |||||||||
| Left parenthesis | Left parenthesis | — | |||||||||
| Right parenthesis | Right parenthesis | — | |||||||||
| Asterisk | Asterisk | — | |||||||||
| Plus sign | Plus sign | — | |||||||||
| Comma | Comma | — | |||||||||
| Hyphen-minus | Hyphen-minus | — | |||||||||
| Full stop | Full stop | — | |||||||||
| Solidus | Solidus | — | |||||||||
| Digit 0 | Digit 0 | — | |||||||||
| Digit 1 | Digit 1 | — | |||||||||
| Digit 2 | Digit 2 | — | |||||||||
| Digit 3 | Digit 3 | — | |||||||||
| Digit 4 | Digit 4 | — | |||||||||
| Digit 5 | Digit 5 | — | |||||||||
| Digit 6 | Digit 6 | — | |||||||||
| Digit 7 | Digit 7 | — | |||||||||
| Digit 8 | Digit 8 | — | |||||||||
| Digit 9 | Digit 9 | — | |||||||||
| Colon | Colon | — | |||||||||
| Semicolon | Semicolon | — | |||||||||
| Less-than sign | Less-than sign | — | |||||||||
| Equals sign | Equals sign | — | |||||||||
| Greater-than sign | Greater-than sign | — | |||||||||
| Question mark | Question mark | — | |||||||||
| Commercial at | Commercial at | — | |||||||||
| Uppercase A | Uppercase A | — | |||||||||
| Uppercase B | Uppercase B | — | |||||||||
| Uppercase C | Uppercase C | — | |||||||||
| Uppercase D | Uppercase D | — | |||||||||
| Uppercase E | Uppercase E | — | |||||||||
| Uppercase F | Uppercase F | — | |||||||||
| Uppercase G | Uppercase G | — | |||||||||
| Uppercase H | Uppercase H | — | |||||||||
| Uppercase I | Uppercase I | — | |||||||||
| Uppercase J | Uppercase J | — | |||||||||
| Uppercase K | Uppercase K | — | |||||||||
| Uppercase L | Uppercase L | — | |||||||||
| Uppercase M | Uppercase M | — | |||||||||
| Uppercase N | Uppercase N | — | |||||||||
| Uppercase O | Uppercase O | — | |||||||||
| Uppercase P | Uppercase P | — | |||||||||
| Uppercase Q | Uppercase Q | — | |||||||||
| Uppercase R | Uppercase R | — | |||||||||
| Uppercase S | Uppercase S | — | |||||||||
| Uppercase T | Uppercase T | — | |||||||||
| Uppercase U | Uppercase U | — | |||||||||
| Uppercase V | Uppercase V | — | |||||||||
| Uppercase W | Uppercase W | — | |||||||||
| Uppercase X | Uppercase X | — | |||||||||
| Uppercase Y | Uppercase Y | — | |||||||||
| Uppercase Z | Uppercase Z | — | |||||||||
| Left square bracket | Left square bracket | — | |||||||||
| Reverse solidus | Reverse solidus | — | |||||||||
| Right square bracket | Right square bracket | — | |||||||||
| Circumflex accent | Circumflex accent | — | |||||||||
| Low line | Low line | — | |||||||||
| Grave accent | Grave accent | — | |||||||||
| Lowercase a | Lowercase a | — | |||||||||
| Lowercase b | Lowercase b | — | |||||||||
| Lowercase c | Lowercase c | — | |||||||||
| Lowercase d | Lowercase d | — | |||||||||
| Lowercase e | Lowercase e | — | |||||||||
| Lowercase f | Lowercase f | — | |||||||||
| Lowercase g | Lowercase g | — | |||||||||
| Lowercase h | Lowercase h | — | |||||||||
| Lowercase i | Lowercase i | — | |||||||||
| Lowercase j | Lowercase j | — | |||||||||
| Lowercase k | Lowercase k | — | |||||||||
| Lowercase l | Lowercase l | — | |||||||||
| Lowercase m | Lowercase m | — | |||||||||
| Lowercase n | Lowercase n | — | |||||||||
| Lowercase o | Lowercase o | — | |||||||||
| Lowercase p | Lowercase p | — | |||||||||
| Lowercase q | Lowercase q | — | |||||||||
| Lowercase r | Lowercase r | — | |||||||||
| Lowercase s | Lowercase s | — | |||||||||
| Lowercase t | Lowercase t | — | |||||||||
| Lowercase u | Lowercase u | — | |||||||||
| Lowercase v | Lowercase v | — | |||||||||
| Lowercase w | Lowercase w | — | |||||||||
| Lowercase x | Lowercase x | — | |||||||||
| Lowercase y | Lowercase y | — | |||||||||
| Lowercase z | Lowercase z | — | |||||||||
| Left curly bracket | Left curly bracket | — | |||||||||
| Vertical line | Vertical line | — | |||||||||
| Right curly bracket | Right curly bracket | — | |||||||||
| Tilde | Tilde | — | |||||||||
| ␡ DEL | Delete | Historically marks a deleted character. | — | — |
No ASCII rows match this search and category.
Text and code converter
Ready. Conversion stays in this browser.
Result
The visible preview uses control pictures for spaces and controls. Copy and download use the exact result, including any actual control characters.
Named eight-bit byte references
Values 128–255 are outside standard ASCII. Choose an encoding to see what each byte means. These references do not change the strict ASCII converter above.
| Byte dec | Byte hex | Byte binary | Unicode mapping | Character | Name or state |
|---|---|---|---|---|---|
| 128 | 80 | 10000000 | U+20AC | € | Euro sign |
| 129 | 81 | 10000001 | — | — | Undefined |
| 130 | 82 | 10000010 | U+201A | ‚ | Single low-9 quotation mark |
| 131 | 83 | 10000011 | U+0192 | ƒ | Latin small letter f with hook |
| 132 | 84 | 10000100 | U+201E | „ | Double low-9 quotation mark |
| 133 | 85 | 10000101 | U+2026 | … | Horizontal ellipsis |
| 134 | 86 | 10000110 | U+2020 | † | Dagger |
| 135 | 87 | 10000111 | U+2021 | ‡ | Double dagger |
| 136 | 88 | 10001000 | U+02C6 | ˆ | Modifier letter circumflex accent |
| 137 | 89 | 10001001 | U+2030 | ‰ | Per mille sign |
| 138 | 8A | 10001010 | U+0160 | Š | Latin capital letter S with caron |
| 139 | 8B | 10001011 | U+2039 | ‹ | Single left-pointing angle quotation mark |
| 140 | 8C | 10001100 | U+0152 | Œ | Latin capital ligature OE |
| 141 | 8D | 10001101 | — | — | Undefined |
| 142 | 8E | 10001110 | U+017D | Ž | Latin capital letter Z with caron |
| 143 | 8F | 10001111 | — | — | Undefined |
| 144 | 90 | 10010000 | — | — | Undefined |
| 145 | 91 | 10010001 | U+2018 | ‘ | Left single quotation mark |
| 146 | 92 | 10010010 | U+2019 | ’ | Right single quotation mark |
| 147 | 93 | 10010011 | U+201C | “ | Left double quotation mark |
| 148 | 94 | 10010100 | U+201D | ” | Right double quotation mark |
| 149 | 95 | 10010101 | U+2022 | • | Bullet |
| 150 | 96 | 10010110 | U+2013 | – | En dash |
| 151 | 97 | 10010111 | U+2014 | — | Em dash |
| 152 | 98 | 10011000 | U+02DC | ˜ | Small tilde |
| 153 | 99 | 10011001 | U+2122 | ™ | Trade mark sign |
| 154 | 9A | 10011010 | U+0161 | š | Latin small letter s with caron |
| 155 | 9B | 10011011 | U+203A | › | Single right-pointing angle quotation mark |
| 156 | 9C | 10011100 | U+0153 | œ | Latin small ligature oe |
| 157 | 9D | 10011101 | — | — | Undefined |
| 158 | 9E | 10011110 | U+017E | ž | Latin small letter z with caron |
| 159 | 9F | 10011111 | U+0178 | Ÿ | Latin capital letter Y with diaeresis |
| 160 | A0 | 10100000 | U+00A0 | Unicode U+00A0 | |
| 161 | A1 | 10100001 | U+00A1 | ¡ | Unicode U+00A1 |
| 162 | A2 | 10100010 | U+00A2 | ¢ | Unicode U+00A2 |
| 163 | A3 | 10100011 | U+00A3 | £ | Unicode U+00A3 |
| 164 | A4 | 10100100 | U+00A4 | ¤ | Unicode U+00A4 |
| 165 | A5 | 10100101 | U+00A5 | ¥ | Unicode U+00A5 |
| 166 | A6 | 10100110 | U+00A6 | ¦ | Unicode U+00A6 |
| 167 | A7 | 10100111 | U+00A7 | § | Unicode U+00A7 |
| 168 | A8 | 10101000 | U+00A8 | ¨ | Unicode U+00A8 |
| 169 | A9 | 10101001 | U+00A9 | © | Unicode U+00A9 |
| 170 | AA | 10101010 | U+00AA | ª | Unicode U+00AA |
| 171 | AB | 10101011 | U+00AB | « | Unicode U+00AB |
| 172 | AC | 10101100 | U+00AC | ¬ | Unicode U+00AC |
| 173 | AD | 10101101 | U+00AD | | Unicode U+00AD |
| 174 | AE | 10101110 | U+00AE | ® | Unicode U+00AE |
| 175 | AF | 10101111 | U+00AF | ¯ | Unicode U+00AF |
| 176 | B0 | 10110000 | U+00B0 | ° | Unicode U+00B0 |
| 177 | B1 | 10110001 | U+00B1 | ± | Unicode U+00B1 |
| 178 | B2 | 10110010 | U+00B2 | ² | Unicode U+00B2 |
| 179 | B3 | 10110011 | U+00B3 | ³ | Unicode U+00B3 |
| 180 | B4 | 10110100 | U+00B4 | ´ | Unicode U+00B4 |
| 181 | B5 | 10110101 | U+00B5 | µ | Unicode U+00B5 |
| 182 | B6 | 10110110 | U+00B6 | ¶ | Unicode U+00B6 |
| 183 | B7 | 10110111 | U+00B7 | · | Unicode U+00B7 |
| 184 | B8 | 10111000 | U+00B8 | ¸ | Unicode U+00B8 |
| 185 | B9 | 10111001 | U+00B9 | ¹ | Unicode U+00B9 |
| 186 | BA | 10111010 | U+00BA | º | Unicode U+00BA |
| 187 | BB | 10111011 | U+00BB | » | Unicode U+00BB |
| 188 | BC | 10111100 | U+00BC | ¼ | Unicode U+00BC |
| 189 | BD | 10111101 | U+00BD | ½ | Unicode U+00BD |
| 190 | BE | 10111110 | U+00BE | ¾ | Unicode U+00BE |
| 191 | BF | 10111111 | U+00BF | ¿ | Unicode U+00BF |
| 192 | C0 | 11000000 | U+00C0 | À | Unicode U+00C0 |
| 193 | C1 | 11000001 | U+00C1 | Á | Unicode U+00C1 |
| 194 | C2 | 11000010 | U+00C2 | Â | Unicode U+00C2 |
| 195 | C3 | 11000011 | U+00C3 | Ã | Unicode U+00C3 |
| 196 | C4 | 11000100 | U+00C4 | Ä | Unicode U+00C4 |
| 197 | C5 | 11000101 | U+00C5 | Å | Unicode U+00C5 |
| 198 | C6 | 11000110 | U+00C6 | Æ | Unicode U+00C6 |
| 199 | C7 | 11000111 | U+00C7 | Ç | Unicode U+00C7 |
| 200 | C8 | 11001000 | U+00C8 | È | Unicode U+00C8 |
| 201 | C9 | 11001001 | U+00C9 | É | Unicode U+00C9 |
| 202 | CA | 11001010 | U+00CA | Ê | Unicode U+00CA |
| 203 | CB | 11001011 | U+00CB | Ë | Unicode U+00CB |
| 204 | CC | 11001100 | U+00CC | Ì | Unicode U+00CC |
| 205 | CD | 11001101 | U+00CD | Í | Unicode U+00CD |
| 206 | CE | 11001110 | U+00CE | Î | Unicode U+00CE |
| 207 | CF | 11001111 | U+00CF | Ï | Unicode U+00CF |
| 208 | D0 | 11010000 | U+00D0 | Ð | Unicode U+00D0 |
| 209 | D1 | 11010001 | U+00D1 | Ñ | Unicode U+00D1 |
| 210 | D2 | 11010010 | U+00D2 | Ò | Unicode U+00D2 |
| 211 | D3 | 11010011 | U+00D3 | Ó | Unicode U+00D3 |
| 212 | D4 | 11010100 | U+00D4 | Ô | Unicode U+00D4 |
| 213 | D5 | 11010101 | U+00D5 | Õ | Unicode U+00D5 |
| 214 | D6 | 11010110 | U+00D6 | Ö | Unicode U+00D6 |
| 215 | D7 | 11010111 | U+00D7 | × | Unicode U+00D7 |
| 216 | D8 | 11011000 | U+00D8 | Ø | Unicode U+00D8 |
| 217 | D9 | 11011001 | U+00D9 | Ù | Unicode U+00D9 |
| 218 | DA | 11011010 | U+00DA | Ú | Unicode U+00DA |
| 219 | DB | 11011011 | U+00DB | Û | Unicode U+00DB |
| 220 | DC | 11011100 | U+00DC | Ü | Unicode U+00DC |
| 221 | DD | 11011101 | U+00DD | Ý | Unicode U+00DD |
| 222 | DE | 11011110 | U+00DE | Þ | Unicode U+00DE |
| 223 | DF | 11011111 | U+00DF | ß | Unicode U+00DF |
| 224 | E0 | 11100000 | U+00E0 | à | Unicode U+00E0 |
| 225 | E1 | 11100001 | U+00E1 | á | Unicode U+00E1 |
| 226 | E2 | 11100010 | U+00E2 | â | Unicode U+00E2 |
| 227 | E3 | 11100011 | U+00E3 | ã | Unicode U+00E3 |
| 228 | E4 | 11100100 | U+00E4 | ä | Unicode U+00E4 |
| 229 | E5 | 11100101 | U+00E5 | å | Unicode U+00E5 |
| 230 | E6 | 11100110 | U+00E6 | æ | Unicode U+00E6 |
| 231 | E7 | 11100111 | U+00E7 | ç | Unicode U+00E7 |
| 232 | E8 | 11101000 | U+00E8 | è | Unicode U+00E8 |
| 233 | E9 | 11101001 | U+00E9 | é | Unicode U+00E9 |
| 234 | EA | 11101010 | U+00EA | ê | Unicode U+00EA |
| 235 | EB | 11101011 | U+00EB | ë | Unicode U+00EB |
| 236 | EC | 11101100 | U+00EC | ì | Unicode U+00EC |
| 237 | ED | 11101101 | U+00ED | í | Unicode U+00ED |
| 238 | EE | 11101110 | U+00EE | î | Unicode U+00EE |
| 239 | EF | 11101111 | U+00EF | ï | Unicode U+00EF |
| 240 | F0 | 11110000 | U+00F0 | ð | Unicode U+00F0 |
| 241 | F1 | 11110001 | U+00F1 | ñ | Unicode U+00F1 |
| 242 | F2 | 11110010 | U+00F2 | ò | Unicode U+00F2 |
| 243 | F3 | 11110011 | U+00F3 | ó | Unicode U+00F3 |
| 244 | F4 | 11110100 | U+00F4 | ô | Unicode U+00F4 |
| 245 | F5 | 11110101 | U+00F5 | õ | Unicode U+00F5 |
| 246 | F6 | 11110110 | U+00F6 | ö | Unicode U+00F6 |
| 247 | F7 | 11110111 | U+00F7 | ÷ | Unicode U+00F7 |
| 248 | F8 | 11111000 | U+00F8 | ø | Unicode U+00F8 |
| 249 | F9 | 11111001 | U+00F9 | ù | Unicode U+00F9 |
| 250 | FA | 11111010 | U+00FA | ú | Unicode U+00FA |
| 251 | FB | 11111011 | U+00FB | û | Unicode U+00FB |
| 252 | FC | 11111100 | U+00FC | ü | Unicode U+00FC |
| 253 | FD | 11111101 | U+00FD | ý | Unicode U+00FD |
| 254 | FE | 11111110 | U+00FE | þ | Unicode U+00FE |
| 255 | FF | 11111111 | U+00FF | ÿ | Unicode U+00FF |
What is ASCII?
ASCII assigns 7-bit codes 0 through 127 to letters, digits, punctuation and control characters. Codes 0–31 and 127 are controls. Space is code 32, uppercase A is 65, and lowercase a is 97. A displayed eight-bit byte adds a leading zero; it does not extend ASCII.
Common control codes
Tab is 9 (HT), line feed is 10 (LF), carriage return is 13 (CR), and delete is 127 (DEL). LF moves to a new line; CR historically returns to the start of a line. Many text files use LF or CR followed by LF for line endings. The visible control pictures in the converter are labels; copying the exact result preserves the actual codes.
Why are there different eight-bit tables?
ASCII defines only 0–127. Windows-1252 and ISO-8859-1 assign different meanings to some bytes above 127: byte 0x80 is a euro sign in Windows-1252 but a C1 control in ISO-8859-1. An HTML numeric reference names a Unicode character, not a byte in either encoding. Undefined Windows-1252 bytes remain undefined here.
How to convert text
Choose Text to codes or Codes to text and a base, then select Convert. Encoded codes are space-separated. For decoding, spaces, tabs, newlines or single commas separate codes. Hex can use a 0x prefix and binary a 0b prefix. The tool rejects non-ASCII text and codes above 127 instead of silently changing them. Input and output are limited to 2 MiB each.
Need UTF-8 text and binary bytes? Open the binary converter →
Updated