ASCII Table
runs in your browserno sign-upfree
Full ASCII table with decimal, hex, octal, binary and HTML codes for all 256 characters, control code names and extended ASCII. Search and copy.
| Dec | Hex | Oct | Binary | Char | HTML | Description |
|---|---|---|---|---|---|---|
| Control characters (0–31) | ||||||
| 0 | 00 | 000 | 00000000 | � | NULNull\0Marks the end of a string in C. | |
| 1 | 01 | 001 | 00000001 |  | SOHStart of heading | |
| 2 | 02 | 002 | 00000010 |  | STXStart of text | |
| 3 | 03 | 003 | 00000011 |  | ETXEnd of textCtrl+C in a terminal sends this to stop a program. | |
| 4 | 04 | 004 | 00000100 |  | EOTEnd of transmissionCtrl+D: end of input in Unix terminals. | |
| 5 | 05 | 005 | 00000101 |  | ENQEnquiry | |
| 6 | 06 | 006 | 00000110 |  | ACKAcknowledge | |
| 7 | 07 | 007 | 00000111 |  | BELBell\aMakes a terminal beep. | |
| 8 | 08 | 010 | 00001000 |  | BSBackspace\b | |
| 9 | 09 | 011 | 00001001 | 		 | HTHorizontal tab\tThe Tab key. | |
| 10 | 0A | 012 | 00001010 | 
 | LFLine feed (new line)\nLine ending on Linux and macOS. | |
| 11 | 0B | 013 | 00001011 |  | VTVertical tab\v | |
| 12 | 0C | 014 | 00001100 |  | FFForm feed (new page)\f | |
| 13 | 0D | 015 | 00001101 | | CRCarriage return\rWindows ends lines with CR + LF (\r\n). | |
| 14 | 0E | 016 | 00001110 |  | SOShift out | |
| 15 | 0F | 017 | 00001111 |  | SIShift in | |
| 16 | 10 | 020 | 00010000 |  | DLEData link escape | |
| 17 | 11 | 021 | 00010001 |  | DC1Device control 1 (XON)Resumes output paused with XOFF. | |
| 18 | 12 | 022 | 00010010 |  | DC2Device control 2 | |
| 19 | 13 | 023 | 00010011 |  | DC3Device control 3 (XOFF)Ctrl+S: pauses terminal output. | |
| 20 | 14 | 024 | 00010100 |  | DC4Device control 4 | |
| 21 | 15 | 025 | 00010101 |  | NAKNegative acknowledge | |
| 22 | 16 | 026 | 00010110 |  | SYNSynchronous idle | |
| 23 | 17 | 027 | 00010111 |  | ETBEnd of transmission block | |
| 24 | 18 | 030 | 00011000 |  | CANCancel | |
| 25 | 19 | 031 | 00011001 |  | EMEnd of medium | |
| 26 | 1A | 032 | 00011010 |  | SUBSubstituteCtrl+Z: end of file in old Windows/DOS text files. | |
| 27 | 1B | 033 | 00011011 |  | ESCEscape\eStarts terminal colour and cursor codes (\e[31m = red). | |
| 28 | 1C | 034 | 00011100 |  | FSFile separator | |
| 29 | 1D | 035 | 00011101 |  | GSGroup separator | |
| 30 | 1E | 036 | 00011110 |  | RSRecord separator | |
| 31 | 1F | 037 | 00011111 |  | USUnit separator | |
| Printable characters (32–126) and DEL (127) | ||||||
| 32 | 20 | 040 | 00100000 |   | SPSpace | |
| 33 | 21 | 041 | 00100001 | !! | Exclamation mark | |
| 34 | 22 | 042 | 00100010 | "" | Quotation mark (double quote) | |
| 35 | 23 | 043 | 00100011 | ## | Number sign (hash) | |
| 36 | 24 | 044 | 00100100 | $$ | Dollar sign | |
| 37 | 25 | 045 | 00100101 | %% | Percent sign | |
| 38 | 26 | 046 | 00100110 | && | Ampersand | |
| 39 | 27 | 047 | 00100111 | '' | Apostrophe (single quote) | |
| 40 | 28 | 050 | 00101000 | (( | Left parenthesis | |
| 41 | 29 | 051 | 00101001 | )) | Right parenthesis | |
| 42 | 2A | 052 | 00101010 | ** | Asterisk | |
| 43 | 2B | 053 | 00101011 | ++ | Plus sign | |
| 44 | 2C | 054 | 00101100 | ,, | Comma | |
| 45 | 2D | 055 | 00101101 | - | Hyphen-minus | |
| 46 | 2E | 056 | 00101110 | .. | Full stop (period, dot) | |
| 47 | 2F | 057 | 00101111 | // | Slash (solidus) | |
| 48 | 30 | 060 | 00110000 | 0 | Digit zero | |
| 49 | 31 | 061 | 00110001 | 1 | Digit one | |
| 50 | 32 | 062 | 00110010 | 2 | Digit two | |
| 51 | 33 | 063 | 00110011 | 3 | Digit three | |
| 52 | 34 | 064 | 00110100 | 4 | Digit four | |
| 53 | 35 | 065 | 00110101 | 5 | Digit five | |
| 54 | 36 | 066 | 00110110 | 6 | Digit six | |
| 55 | 37 | 067 | 00110111 | 7 | Digit seven | |
| 56 | 38 | 070 | 00111000 | 8 | Digit eight | |
| 57 | 39 | 071 | 00111001 | 9 | Digit nine | |
| 58 | 3A | 072 | 00111010 | :: | Colon | |
| 59 | 3B | 073 | 00111011 | ;; | Semicolon | |
| 60 | 3C | 074 | 00111100 | << | Less-than sign | |
| 61 | 3D | 075 | 00111101 | == | Equals sign | |
| 62 | 3E | 076 | 00111110 | >> | Greater-than sign | |
| 63 | 3F | 077 | 00111111 | ?? | Question mark | |
| 64 | 40 | 100 | 01000000 | @@ | At sign | |
| 65 | 41 | 101 | 01000001 | A | Latin capital letter A | |
| 66 | 42 | 102 | 01000010 | B | Latin capital letter B | |
| 67 | 43 | 103 | 01000011 | C | Latin capital letter C | |
| 68 | 44 | 104 | 01000100 | D | Latin capital letter D | |
| 69 | 45 | 105 | 01000101 | E | Latin capital letter E | |
| 70 | 46 | 106 | 01000110 | F | Latin capital letter F | |
| 71 | 47 | 107 | 01000111 | G | Latin capital letter G | |
| 72 | 48 | 110 | 01001000 | H | Latin capital letter H | |
| 73 | 49 | 111 | 01001001 | I | Latin capital letter I | |
| 74 | 4A | 112 | 01001010 | J | Latin capital letter J | |
| 75 | 4B | 113 | 01001011 | K | Latin capital letter K | |
| 76 | 4C | 114 | 01001100 | L | Latin capital letter L | |
| 77 | 4D | 115 | 01001101 | M | Latin capital letter M | |
| 78 | 4E | 116 | 01001110 | N | Latin capital letter N | |
| 79 | 4F | 117 | 01001111 | O | Latin capital letter O | |
| 80 | 50 | 120 | 01010000 | P | Latin capital letter P | |
| 81 | 51 | 121 | 01010001 | Q | Latin capital letter Q | |
| 82 | 52 | 122 | 01010010 | R | Latin capital letter R | |
| 83 | 53 | 123 | 01010011 | S | Latin capital letter S | |
| 84 | 54 | 124 | 01010100 | T | Latin capital letter T | |
| 85 | 55 | 125 | 01010101 | U | Latin capital letter U | |
| 86 | 56 | 126 | 01010110 | V | Latin capital letter V | |
| 87 | 57 | 127 | 01010111 | W | Latin capital letter W | |
| 88 | 58 | 130 | 01011000 | X | Latin capital letter X | |
| 89 | 59 | 131 | 01011001 | Y | Latin capital letter Y | |
| 90 | 5A | 132 | 01011010 | Z | Latin capital letter Z | |
| 91 | 5B | 133 | 01011011 | [[ | Left square bracket | |
| 92 | 5C | 134 | 01011100 | \\ | Backslash (reverse solidus) | |
| 93 | 5D | 135 | 01011101 | ]] | Right square bracket | |
| 94 | 5E | 136 | 01011110 | ^^ | Caret (circumflex accent) | |
| 95 | 5F | 137 | 01011111 | __ | Underscore (low line) | |
| 96 | 60 | 140 | 01100000 | `` | Grave accent (backtick) | |
| 97 | 61 | 141 | 01100001 | a | Latin small letter a | |
| 98 | 62 | 142 | 01100010 | b | Latin small letter b | |
| 99 | 63 | 143 | 01100011 | c | Latin small letter c | |
| 100 | 64 | 144 | 01100100 | d | Latin small letter d | |
| 101 | 65 | 145 | 01100101 | e | Latin small letter e | |
| 102 | 66 | 146 | 01100110 | f | Latin small letter f | |
| 103 | 67 | 147 | 01100111 | g | Latin small letter g | |
| 104 | 68 | 150 | 01101000 | h | Latin small letter h | |
| 105 | 69 | 151 | 01101001 | i | Latin small letter i | |
| 106 | 6A | 152 | 01101010 | j | Latin small letter j | |
| 107 | 6B | 153 | 01101011 | k | Latin small letter k | |
| 108 | 6C | 154 | 01101100 | l | Latin small letter l | |
| 109 | 6D | 155 | 01101101 | m | Latin small letter m | |
| 110 | 6E | 156 | 01101110 | n | Latin small letter n | |
| 111 | 6F | 157 | 01101111 | o | Latin small letter o | |
| 112 | 70 | 160 | 01110000 | p | Latin small letter p | |
| 113 | 71 | 161 | 01110001 | q | Latin small letter q | |
| 114 | 72 | 162 | 01110010 | r | Latin small letter r | |
| 115 | 73 | 163 | 01110011 | s | Latin small letter s | |
| 116 | 74 | 164 | 01110100 | t | Latin small letter t | |
| 117 | 75 | 165 | 01110101 | u | Latin small letter u | |
| 118 | 76 | 166 | 01110110 | v | Latin small letter v | |
| 119 | 77 | 167 | 01110111 | w | Latin small letter w | |
| 120 | 78 | 170 | 01111000 | x | Latin small letter x | |
| 121 | 79 | 171 | 01111001 | y | Latin small letter y | |
| 122 | 7A | 172 | 01111010 | z | Latin small letter z | |
| 123 | 7B | 173 | 01111011 | {{ | Left curly brace | |
| 124 | 7C | 174 | 01111100 | || | Vertical bar (pipe) | |
| 125 | 7D | 175 | 01111101 | }} | Right curly brace | |
| 126 | 7E | 176 | 01111110 | ~ | Tilde | |
| 127 | 7F | 177 | 01111111 |  | DELDelete | |
| Extended ASCII (128–255) | ||||||
| 128 | 80 | 200 | 10000000 | €€ | Euro sign | |
| 129 | 81 | 201 | 10000001 | Not used in Windows-1252 | ||
| 130 | 82 | 202 | 10000010 | ‚‚ | Single low-9 quotation mark | |
| 131 | 83 | 203 | 10000011 | ƒƒ | Latin small letter f with hook | |
| 132 | 84 | 204 | 10000100 | „„ | Double low-9 quotation mark | |
| 133 | 85 | 205 | 10000101 | …… | Horizontal ellipsis | |
| 134 | 86 | 206 | 10000110 | †† | Dagger | |
| 135 | 87 | 207 | 10000111 | ‡‡ | Double dagger | |
| 136 | 88 | 210 | 10001000 | ˆˆ | Modifier letter circumflex accent | |
| 137 | 89 | 211 | 10001001 | ‰‰ | Per mille sign | |
| 138 | 8A | 212 | 10001010 | ŠŠ | Latin capital letter S with caron | |
| 139 | 8B | 213 | 10001011 | ‹‹ | Single left-pointing angle quotation mark | |
| 140 | 8C | 214 | 10001100 | ŒŒ | Latin capital ligature oe | |
| 141 | 8D | 215 | 10001101 | Not used in Windows-1252 | ||
| 142 | 8E | 216 | 10001110 | ŽŽ | Latin capital letter Z with caron | |
| 143 | 8F | 217 | 10001111 | Not used in Windows-1252 | ||
| 144 | 90 | 220 | 10010000 | Not used in Windows-1252 | ||
| 145 | 91 | 221 | 10010001 | ‘‘ | Left single quotation mark | |
| 146 | 92 | 222 | 10010010 | ’’ | Right single quotation mark | |
| 147 | 93 | 223 | 10010011 | ““ | Left double quotation mark | |
| 148 | 94 | 224 | 10010100 | ”” | Right double quotation mark | |
| 149 | 95 | 225 | 10010101 | •• | Bullet | |
| 150 | 96 | 226 | 10010110 | –– | En dash | |
| 151 | 97 | 227 | 10010111 | —— | Em dash | |
| 152 | 98 | 230 | 10011000 | ˜˜ | Small tilde | |
| 153 | 99 | 231 | 10011001 | ™™ | Trade mark sign | |
| 154 | 9A | 232 | 10011010 | šš | Latin small letter s with caron | |
| 155 | 9B | 233 | 10011011 | ›› | Single right-pointing angle quotation mark | |
| 156 | 9C | 234 | 10011100 | œœ | Latin small ligature oe | |
| 157 | 9D | 235 | 10011101 | Not used in Windows-1252 | ||
| 158 | 9E | 236 | 10011110 | žž | Latin small letter z with caron | |
| 159 | 9F | 237 | 10011111 | ŸŸ | Latin capital letter Y with diaeresis | |
| 160 | A0 | 240 | 10100000 |   | NBSPNon-breaking space | |
| 161 | A1 | 241 | 10100001 | ¡¡ | Inverted exclamation mark | |
| 162 | A2 | 242 | 10100010 | ¢¢ | Cent sign | |
| 163 | A3 | 243 | 10100011 | ££ | Pound sign | |
| 164 | A4 | 244 | 10100100 | ¤¤ | Currency sign | |
| 165 | A5 | 245 | 10100101 | ¥¥ | Yen sign | |
| 166 | A6 | 246 | 10100110 | ¦¦ | Broken bar | |
| 167 | A7 | 247 | 10100111 | §§ | Section sign | |
| 168 | A8 | 250 | 10101000 | ¨¨ | Diaeresis | |
| 169 | A9 | 251 | 10101001 | ©© | Copyright sign | |
| 170 | AA | 252 | 10101010 | ªª | Feminine ordinal indicator | |
| 171 | AB | 253 | 10101011 | «« | Left-pointing double angle quotation mark | |
| 172 | AC | 254 | 10101100 | ¬¬ | Not sign | |
| 173 | AD | 255 | 10101101 | ­­ | SHYSoft hyphen | |
| 174 | AE | 256 | 10101110 | ®® | Registered sign | |
| 175 | AF | 257 | 10101111 | ¯¯ | Macron | |
| 176 | B0 | 260 | 10110000 | °° | Degree sign | |
| 177 | B1 | 261 | 10110001 | ±± | Plus-minus sign | |
| 178 | B2 | 262 | 10110010 | ²² | Superscript two | |
| 179 | B3 | 263 | 10110011 | ³³ | Superscript three | |
| 180 | B4 | 264 | 10110100 | ´´ | Acute accent | |
| 181 | B5 | 265 | 10110101 | µµ | Micro sign | |
| 182 | B6 | 266 | 10110110 | ¶¶ | Pilcrow sign | |
| 183 | B7 | 267 | 10110111 | ·· | Middle dot | |
| 184 | B8 | 270 | 10111000 | ¸¸ | Cedilla | |
| 185 | B9 | 271 | 10111001 | ¹¹ | Superscript one | |
| 186 | BA | 272 | 10111010 | ºº | Masculine ordinal indicator | |
| 187 | BB | 273 | 10111011 | »» | Right-pointing double angle quotation mark | |
| 188 | BC | 274 | 10111100 | ¼¼ | Vulgar fraction one quarter | |
| 189 | BD | 275 | 10111101 | ½½ | Vulgar fraction one half | |
| 190 | BE | 276 | 10111110 | ¾¾ | Vulgar fraction three quarters | |
| 191 | BF | 277 | 10111111 | ¿¿ | Inverted question mark | |
| 192 | C0 | 300 | 11000000 | ÀÀ | Latin capital letter A with grave | |
| 193 | C1 | 301 | 11000001 | ÁÁ | Latin capital letter A with acute | |
| 194 | C2 | 302 | 11000010 | ÂÂ | Latin capital letter A with circumflex | |
| 195 | C3 | 303 | 11000011 | ÃÃ | Latin capital letter A with tilde | |
| 196 | C4 | 304 | 11000100 | ÄÄ | Latin capital letter A with diaeresis | |
| 197 | C5 | 305 | 11000101 | ÅÅ | Latin capital letter A with ring above | |
| 198 | C6 | 306 | 11000110 | ÆÆ | Latin capital letter ae | |
| 199 | C7 | 307 | 11000111 | ÇÇ | Latin capital letter C with cedilla | |
| 200 | C8 | 310 | 11001000 | ÈÈ | Latin capital letter E with grave | |
| 201 | C9 | 311 | 11001001 | ÉÉ | Latin capital letter E with acute | |
| 202 | CA | 312 | 11001010 | ÊÊ | Latin capital letter E with circumflex | |
| 203 | CB | 313 | 11001011 | ËË | Latin capital letter E with diaeresis | |
| 204 | CC | 314 | 11001100 | ÌÌ | Latin capital letter I with grave | |
| 205 | CD | 315 | 11001101 | ÍÍ | Latin capital letter I with acute | |
| 206 | CE | 316 | 11001110 | ÎÎ | Latin capital letter I with circumflex | |
| 207 | CF | 317 | 11001111 | ÏÏ | Latin capital letter I with diaeresis | |
| 208 | D0 | 320 | 11010000 | ÐÐ | Latin capital letter eth | |
| 209 | D1 | 321 | 11010001 | ÑÑ | Latin capital letter N with tilde | |
| 210 | D2 | 322 | 11010010 | ÒÒ | Latin capital letter O with grave | |
| 211 | D3 | 323 | 11010011 | ÓÓ | Latin capital letter O with acute | |
| 212 | D4 | 324 | 11010100 | ÔÔ | Latin capital letter O with circumflex | |
| 213 | D5 | 325 | 11010101 | ÕÕ | Latin capital letter O with tilde | |
| 214 | D6 | 326 | 11010110 | ÖÖ | Latin capital letter O with diaeresis | |
| 215 | D7 | 327 | 11010111 | ×× | Multiplication sign | |
| 216 | D8 | 330 | 11011000 | ØØ | Latin capital letter O with stroke | |
| 217 | D9 | 331 | 11011001 | ÙÙ | Latin capital letter U with grave | |
| 218 | DA | 332 | 11011010 | ÚÚ | Latin capital letter U with acute | |
| 219 | DB | 333 | 11011011 | ÛÛ | Latin capital letter U with circumflex | |
| 220 | DC | 334 | 11011100 | ÜÜ | Latin capital letter U with diaeresis | |
| 221 | DD | 335 | 11011101 | ÝÝ | Latin capital letter Y with acute | |
| 222 | DE | 336 | 11011110 | ÞÞ | Latin capital letter thorn | |
| 223 | DF | 337 | 11011111 | ßß | Latin small letter sharp s | |
| 224 | E0 | 340 | 11100000 | àà | Latin small letter a with grave | |
| 225 | E1 | 341 | 11100001 | áá | Latin small letter a with acute | |
| 226 | E2 | 342 | 11100010 | ââ | Latin small letter a with circumflex | |
| 227 | E3 | 343 | 11100011 | ãã | Latin small letter a with tilde | |
| 228 | E4 | 344 | 11100100 | ää | Latin small letter a with diaeresis | |
| 229 | E5 | 345 | 11100101 | åå | Latin small letter a with ring above | |
| 230 | E6 | 346 | 11100110 | ææ | Latin small letter ae | |
| 231 | E7 | 347 | 11100111 | çç | Latin small letter c with cedilla | |
| 232 | E8 | 350 | 11101000 | èè | Latin small letter e with grave | |
| 233 | E9 | 351 | 11101001 | éé | Latin small letter e with acute | |
| 234 | EA | 352 | 11101010 | êê | Latin small letter e with circumflex | |
| 235 | EB | 353 | 11101011 | ëë | Latin small letter e with diaeresis | |
| 236 | EC | 354 | 11101100 | ìì | Latin small letter i with grave | |
| 237 | ED | 355 | 11101101 | íí | Latin small letter i with acute | |
| 238 | EE | 356 | 11101110 | îî | Latin small letter i with circumflex | |
| 239 | EF | 357 | 11101111 | ïï | Latin small letter i with diaeresis | |
| 240 | F0 | 360 | 11110000 | ðð | Latin small letter eth | |
| 241 | F1 | 361 | 11110001 | ññ | Latin small letter n with tilde | |
| 242 | F2 | 362 | 11110010 | òò | Latin small letter o with grave | |
| 243 | F3 | 363 | 11110011 | óó | Latin small letter o with acute | |
| 244 | F4 | 364 | 11110100 | ôô | Latin small letter o with circumflex | |
| 245 | F5 | 365 | 11110101 | õõ | Latin small letter o with tilde | |
| 246 | F6 | 366 | 11110110 | öö | Latin small letter o with diaeresis | |
| 247 | F7 | 367 | 11110111 | ÷÷ | Division sign | |
| 248 | F8 | 370 | 11111000 | øø | Latin small letter o with stroke | |
| 249 | F9 | 371 | 11111001 | ùù | Latin small letter u with grave | |
| 250 | FA | 372 | 11111010 | úú | Latin small letter u with acute | |
| 251 | FB | 373 | 11111011 | ûû | Latin small letter u with circumflex | |
| 252 | FC | 374 | 11111100 | üü | Latin small letter u with diaeresis | |
| 253 | FD | 375 | 11111101 | ýý | Latin small letter y with acute | |
| 254 | FE | 376 | 11111110 | þþ | Latin small letter thorn | |
| 255 | FF | 377 | 11111111 | ÿÿ | Latin small letter y with diaeresis | |
About this tool
ASCII gives every basic letter, digit, punctuation mark and control code a number from 0 to 127. This table lists all of them — plus the extended codes 128–255 — with the decimal, hexadecimal, octal and binary value, the HTML code, and a plain description. Control characters such as LF, CR and TAB also show their escape sequence (\n, \r, \t) and caret notation. Search by number in any base, by character or by name, and click a character to copy any of its codes.
How to use
- Scroll the table, or type in the search box: a number (65, 0x41, 01000001), a character (@) or a name (line feed).
- Use Show to see only the control, printable or extended characters, or switch to Chart for a compact grid.
- Click a character to see all its codes, and copy the one you need.
FAQ
What is the ASCII code of A, a, 0 and space?
Capital A is 65 (hex 41), small a is 97 (hex 61), the digit 0 is 48 (hex 30) and space is 32 (hex 20). Small letters are always 32 more than their capitals, which is why changing case is a single bit flip.
What are control characters?
Codes 0–31 and 127 don’t print anything; they control devices and text layout. The ones you meet today are TAB (9, \t), LF (10, \n — a new line on Linux and macOS), CR (13, \r — Windows ends lines with CR LF), ESC (27, starts terminal colour codes) and NUL (0, the end of a C string).
What is extended ASCII?
ASCII itself only goes to 127. Codes 128–255 come from 8-bit character sets that added accented letters and symbols. The most common is Windows-1252, used by most “extended ASCII” tables; ISO-8859-1 (Latin-1) is the same except that 128–159 are invisible control codes. Switch between them with “128–255 as”.
Is ASCII the same as UTF-8 and Unicode?
Codes 0–127 are identical in ASCII, UTF-8 and Unicode, so plain English text is the same in all three. Beyond that they differ: in UTF-8 an “extended” character such as é is stored as two bytes (195 169), not one. Use the Unicode Characters page for everything beyond ASCII.
Why do the HTML codes for 128–159 differ from the ASCII codes?
HTML numeric codes use Unicode code points. In Windows-1252, code 128 is the euro sign, which is U+20AC in Unicode — so its HTML code is €, not €.