ASCII Table
A searchable ASCII table (codes 0–127, or 0–255 with Windows-1252) showing decimal, octal, hex, binary, HTML entity and a description of every character.
| Dec | Oct | Hex | Binary | Character | HTML | Description | Alt code | |
|---|---|---|---|---|---|---|---|---|
| 0 | 000 | 00 | 00000000 | NUL | Null character | |||
| 1 | 001 | 01 | 00000001 | SOH |  | Start of heading | ||
| 2 | 002 | 02 | 00000010 | STX |  | Start of text | ||
| 3 | 003 | 03 | 00000011 | ETX |  | End of text | ||
| 4 | 004 | 04 | 00000100 | EOT |  | End of transmission | ||
| 5 | 005 | 05 | 00000101 | ENQ |  | Enquiry | ||
| 6 | 006 | 06 | 00000110 | ACK |  | Acknowledge | ||
| 7 | 007 | 07 | 00000111 | BEL |  | Bell | ||
| 8 | 010 | 08 | 00001000 | BS |  | Backspace | ||
| 9 | 011 | 09 | 00001001 | HT | 	 	 | Horizontal tab | ||
| 10 | 012 | 0A | 00001010 | LF | 
 | Line feed | ||
| 11 | 013 | 0B | 00001011 | VT |  | Vertical tab | ||
| 12 | 014 | 0C | 00001100 | FF |  | Form feed | ||
| 13 | 015 | 0D | 00001101 | CR | | Carriage return | ||
| 14 | 016 | 0E | 00001110 | SO |  | Shift out | ||
| 15 | 017 | 0F | 00001111 | SI |  | Shift in | ||
| 16 | 020 | 10 | 00010000 | DLE |  | Data link escape | ||
| 17 | 021 | 11 | 00010001 | DC1 |  | Device control 1 (XON) | ||
| 18 | 022 | 12 | 00010010 | DC2 |  | Device control 2 | ||
| 19 | 023 | 13 | 00010011 | DC3 |  | Device control 3 (XOFF) | ||
| 20 | 024 | 14 | 00010100 | DC4 |  | Device control 4 | ||
| 21 | 025 | 15 | 00010101 | NAK |  | Negative acknowledge | ||
| 22 | 026 | 16 | 00010110 | SYN |  | Synchronous idle | ||
| 23 | 027 | 17 | 00010111 | ETB |  | End of transmission block | ||
| 24 | 030 | 18 | 00011000 | CAN |  | Cancel | ||
| 25 | 031 | 19 | 00011001 | EM |  | End of medium | ||
| 26 | 032 | 1A | 00011010 | SUB |  | Substitute | ||
| 27 | 033 | 1B | 00011011 | ESC |  | Escape | ||
| 28 | 034 | 1C | 00011100 | FS |  | File separator | ||
| 29 | 035 | 1D | 00011101 | GS |  | Group separator | ||
| 30 | 036 | 1E | 00011110 | RS |  | Record separator | ||
| 31 | 037 | 1F | 00011111 | US |  | Unit separator | ||
| 32 | 040 | 20 | 00100000 | Space |   | Space | Alt+32 | |
| 33 | 041 | 21 | 00100001 | ! | ! ! | Exclamation mark | Alt+33 | |
| 34 | 042 | 22 | 00100010 | " | " " | Quotation mark | Alt+34 | |
| 35 | 043 | 23 | 00100011 | # | # # | Number sign (hash) | Alt+35 | |
| 36 | 044 | 24 | 00100100 | $ | $ $ | Dollar sign | Alt+36 | |
| 37 | 045 | 25 | 00100101 | % | % % | Percent sign | Alt+37 | |
| 38 | 046 | 26 | 00100110 | & | & & | Ampersand | Alt+38 | |
| 39 | 047 | 27 | 00100111 | ' | ' ' | Apostrophe | Alt+39 | |
| 40 | 050 | 28 | 00101000 | ( | ( ( | Left parenthesis | Alt+40 | |
| 41 | 051 | 29 | 00101001 | ) | ) ) | Right parenthesis | Alt+41 | |
| 42 | 052 | 2A | 00101010 | * | * * | Asterisk | Alt+42 | |
| 43 | 053 | 2B | 00101011 | + | + + | Plus sign | Alt+43 | |
| 44 | 054 | 2C | 00101100 | , | , , | Comma | Alt+44 | |
| 45 | 055 | 2D | 00101101 | - | - | Hyphen-minus | Alt+45 | |
| 46 | 056 | 2E | 00101110 | . | . . | Full stop (period) | Alt+46 | |
| 47 | 057 | 2F | 00101111 | / | / / | Solidus (slash) | Alt+47 | |
| 48 | 060 | 30 | 00110000 | 0 | 0 | Digit zero | Alt+48 | |
| 49 | 061 | 31 | 00110001 | 1 | 1 | Digit one | Alt+49 | |
| 50 | 062 | 32 | 00110010 | 2 | 2 | Digit two | Alt+50 | |
| 51 | 063 | 33 | 00110011 | 3 | 3 | Digit three | Alt+51 | |
| 52 | 064 | 34 | 00110100 | 4 | 4 | Digit four | Alt+52 | |
| 53 | 065 | 35 | 00110101 | 5 | 5 | Digit five | Alt+53 | |
| 54 | 066 | 36 | 00110110 | 6 | 6 | Digit six | Alt+54 | |
| 55 | 067 | 37 | 00110111 | 7 | 7 | Digit seven | Alt+55 | |
| 56 | 070 | 38 | 00111000 | 8 | 8 | Digit eight | Alt+56 | |
| 57 | 071 | 39 | 00111001 | 9 | 9 | Digit nine | Alt+57 | |
| 58 | 072 | 3A | 00111010 | : | : : | Colon | Alt+58 | |
| 59 | 073 | 3B | 00111011 | ; | ; ; | Semicolon | Alt+59 | |
| 60 | 074 | 3C | 00111100 | < | < < | Less-than sign | Alt+60 | |
| 61 | 075 | 3D | 00111101 | = | = = | Equals sign | Alt+61 | |
| 62 | 076 | 3E | 00111110 | > | > > | Greater-than sign | Alt+62 | |
| 63 | 077 | 3F | 00111111 | ? | ? ? | Question mark | Alt+63 | |
| 64 | 100 | 40 | 01000000 | @ | @ @ | Commercial at | Alt+64 | |
| 65 | 101 | 41 | 01000001 | A | A | Latin capital letter A | Alt+65 | |
| 66 | 102 | 42 | 01000010 | B | B | Latin capital letter B | Alt+66 | |
| 67 | 103 | 43 | 01000011 | C | C | Latin capital letter C | Alt+67 | |
| 68 | 104 | 44 | 01000100 | D | D | Latin capital letter D | Alt+68 | |
| 69 | 105 | 45 | 01000101 | E | E | Latin capital letter E | Alt+69 | |
| 70 | 106 | 46 | 01000110 | F | F | Latin capital letter F | Alt+70 | |
| 71 | 107 | 47 | 01000111 | G | G | Latin capital letter G | Alt+71 | |
| 72 | 110 | 48 | 01001000 | H | H | Latin capital letter H | Alt+72 | |
| 73 | 111 | 49 | 01001001 | I | I | Latin capital letter I | Alt+73 | |
| 74 | 112 | 4A | 01001010 | J | J | Latin capital letter J | Alt+74 | |
| 75 | 113 | 4B | 01001011 | K | K | Latin capital letter K | Alt+75 | |
| 76 | 114 | 4C | 01001100 | L | L | Latin capital letter L | Alt+76 | |
| 77 | 115 | 4D | 01001101 | M | M | Latin capital letter M | Alt+77 | |
| 78 | 116 | 4E | 01001110 | N | N | Latin capital letter N | Alt+78 | |
| 79 | 117 | 4F | 01001111 | O | O | Latin capital letter O | Alt+79 | |
| 80 | 120 | 50 | 01010000 | P | P | Latin capital letter P | Alt+80 | |
| 81 | 121 | 51 | 01010001 | Q | Q | Latin capital letter Q | Alt+81 | |
| 82 | 122 | 52 | 01010010 | R | R | Latin capital letter R | Alt+82 | |
| 83 | 123 | 53 | 01010011 | S | S | Latin capital letter S | Alt+83 | |
| 84 | 124 | 54 | 01010100 | T | T | Latin capital letter T | Alt+84 | |
| 85 | 125 | 55 | 01010101 | U | U | Latin capital letter U | Alt+85 | |
| 86 | 126 | 56 | 01010110 | V | V | Latin capital letter V | Alt+86 | |
| 87 | 127 | 57 | 01010111 | W | W | Latin capital letter W | Alt+87 | |
| 88 | 130 | 58 | 01011000 | X | X | Latin capital letter X | Alt+88 | |
| 89 | 131 | 59 | 01011001 | Y | Y | Latin capital letter Y | Alt+89 | |
| 90 | 132 | 5A | 01011010 | Z | Z | Latin capital letter Z | Alt+90 | |
| 91 | 133 | 5B | 01011011 | [ | [ [ | Left square bracket | Alt+91 | |
| 92 | 134 | 5C | 01011100 | \ | \ \ | Reverse solidus (backslash) | Alt+92 | |
| 93 | 135 | 5D | 01011101 | ] | ] ] | Right square bracket | Alt+93 | |
| 94 | 136 | 5E | 01011110 | ^ | ^ ^ | Circumflex accent (caret) | Alt+94 | |
| 95 | 137 | 5F | 01011111 | _ | _ _ | Low line (underscore) | Alt+95 | |
| 96 | 140 | 60 | 01100000 | ` | ` ` | Grave accent (backtick) | Alt+96 | |
| 97 | 141 | 61 | 01100001 | a | a | Latin small letter A | Alt+97 | |
| 98 | 142 | 62 | 01100010 | b | b | Latin small letter B | Alt+98 | |
| 99 | 143 | 63 | 01100011 | c | c | Latin small letter C | Alt+99 | |
| 100 | 144 | 64 | 01100100 | d | d | Latin small letter D | Alt+100 | |
| 101 | 145 | 65 | 01100101 | e | e | Latin small letter E | Alt+101 | |
| 102 | 146 | 66 | 01100110 | f | f | Latin small letter F | Alt+102 | |
| 103 | 147 | 67 | 01100111 | g | g | Latin small letter G | Alt+103 | |
| 104 | 150 | 68 | 01101000 | h | h | Latin small letter H | Alt+104 | |
| 105 | 151 | 69 | 01101001 | i | i | Latin small letter I | Alt+105 | |
| 106 | 152 | 6A | 01101010 | j | j | Latin small letter J | Alt+106 | |
| 107 | 153 | 6B | 01101011 | k | k | Latin small letter K | Alt+107 | |
| 108 | 154 | 6C | 01101100 | l | l | Latin small letter L | Alt+108 | |
| 109 | 155 | 6D | 01101101 | m | m | Latin small letter M | Alt+109 | |
| 110 | 156 | 6E | 01101110 | n | n | Latin small letter N | Alt+110 | |
| 111 | 157 | 6F | 01101111 | o | o | Latin small letter O | Alt+111 | |
| 112 | 160 | 70 | 01110000 | p | p | Latin small letter P | Alt+112 | |
| 113 | 161 | 71 | 01110001 | q | q | Latin small letter Q | Alt+113 | |
| 114 | 162 | 72 | 01110010 | r | r | Latin small letter R | Alt+114 | |
| 115 | 163 | 73 | 01110011 | s | s | Latin small letter S | Alt+115 | |
| 116 | 164 | 74 | 01110100 | t | t | Latin small letter T | Alt+116 | |
| 117 | 165 | 75 | 01110101 | u | u | Latin small letter U | Alt+117 | |
| 118 | 166 | 76 | 01110110 | v | v | Latin small letter V | Alt+118 | |
| 119 | 167 | 77 | 01110111 | w | w | Latin small letter W | Alt+119 | |
| 120 | 170 | 78 | 01111000 | x | x | Latin small letter X | Alt+120 | |
| 121 | 171 | 79 | 01111001 | y | y | Latin small letter Y | Alt+121 | |
| 122 | 172 | 7A | 01111010 | z | z | Latin small letter Z | Alt+122 | |
| 123 | 173 | 7B | 01111011 | { | { { | Left curly bracket (brace) | Alt+123 | |
| 124 | 174 | 7C | 01111100 | | | | | | Vertical line (pipe) | Alt+124 | |
| 125 | 175 | 7D | 01111101 | } | } } | Right curly bracket (brace) | Alt+125 | |
| 126 | 176 | 7E | 01111110 | ~ | ~ | Tilde | Alt+126 | |
| 127 | 177 | 7F | 01111111 | DEL |  | Delete |
Alt code: hold Alt and type the number on the numeric keypad (Windows). Above 127 the leading-zero codes type these characters only on a Windows set to a Western language (Windows-1252); a Korean Windows types different ones.
Source: RFC 20 — ASCII format for network interchange (the character set it defines is standardized as ANSI X3.4)
What this ASCII table shows
This is the full 7-bit ASCII set, codes 0 through 127, in one searchable table; tick Include extended ASCII to add codes 128–255 as Windows-1252 has them. Each row lists the decimal code, the three-digit octal value, the two-digit hexadecimal value, the 8-bit binary value, the character itself, its HTML entity (the number and, where there is one, the name) and a worded description such as Latin capital letter A. Control codes 0–31 and 127 are shown by their standard abbreviation (NUL, ESC, DEL, and so on) because they have no printable glyph, 32 is labelled Space, and the printable characters 33–126 show their actual glyph.
How to search
Type a decimal code like 65 to jump to A, or a hex code like 0x41, an octal one like 0o101, or an HTML entity like > or A. Type a single character such as a to find that exact glyph (search is case-sensitive for glyphs), or type a control-code or Space name like NUL or space; a word also searches the descriptions, so tilde finds ~. Every match shows its decimal, octal, hex and binary encodings side by side, and a copy button puts the character on your clipboard.
Frequently asked questions
Why do codes 0–31 and 127 show a name instead of a character?
Those are control codes with no printable glyph, so the table shows their standard abbreviation instead — for example NUL (0), HT (9, tab), LF (10, line feed), ESC (27) and DEL (127).
Is search by decimal or hexadecimal?
Both. Plain digits like 65 are read as a decimal code, while a value with a 0x prefix or hex letters (a–f), such as 0x41 or 1f, is read as a hexadecimal code. Octal works too, written 0o101, and so does an HTML entity like > or A.
Does it cover extended ASCII (128–255)?
Yes, as an option: tick Include extended ASCII and codes 128–255 are added as Windows-1252 has them — the euro sign, curly quotes and dashes at 0x80–0x9F, with the bytes Windows-1252 leaves unassigned marked as such, and the Latin-1 characters above. Each shows the HTML entity of the character it stands for (0x80 is €, not €). Extended ASCII is not one standard, so the page names the code page it uses, and the setting is kept in the link.
Can I show just one group, copy a row’s codes, or find a Windows Alt code?
Yes. “Show” narrows the table to one group — control codes; space, punctuation and symbols; digits; uppercase; lowercase; and the extended characters when they are on — and is kept in the link like the search. Each row has “Copy row” after the character’s own Copy, and “Copy shown rows” under the table copies every row the search and the group leave; both are tab-separated, so they paste into a spreadsheet as columns. The “Alt code” column gives the Windows Alt code of each printable character — with a leading zero for the Windows-1252 characters above the ASCII range, which type those characters only on a Windows set to a Western language — and none for control codes.