Skip to content

ASCII Table

Every ASCII code with its decimal, hex, octal, binary and HTML value. Search the table, or click any value to copy it.

Tip: click any value to copy it.

Printable characters (32-126)

The 95 characters you can type: space, digits, letters and punctuation.

DecHexOctBinary Char HTML Description
32 0x20 040 00100000 SP   Space
33 0x21 041 00100001 ! ! Exclamation Mark
34 0x22 042 00100010 " " Quotation Mark
35 0x23 043 00100011 # # Number Sign
36 0x24 044 00100100 $ $ Dollar Sign
37 0x25 045 00100101 % % Percent Sign
38 0x26 046 00100110 & & Ampersand
39 0x27 047 00100111 ' ' Apostrophe
40 0x28 050 00101000 ( ( Left Parenthesis
41 0x29 051 00101001 ) ) Right Parenthesis
42 0x2A 052 00101010 * * Asterisk
43 0x2B 053 00101011 + + Plus Sign
44 0x2C 054 00101100 , , Comma
45 0x2D 055 00101101 - - Hyphen-Minus
46 0x2E 056 00101110 . . Full Stop
47 0x2F 057 00101111 / / Solidus
48 0x30 060 00110000 0 0 Digit Zero
49 0x31 061 00110001 1 1 Digit One
50 0x32 062 00110010 2 2 Digit Two
51 0x33 063 00110011 3 3 Digit Three
52 0x34 064 00110100 4 4 Digit Four
53 0x35 065 00110101 5 5 Digit Five
54 0x36 066 00110110 6 6 Digit Six
55 0x37 067 00110111 7 7 Digit Seven
56 0x38 070 00111000 8 8 Digit Eight
57 0x39 071 00111001 9 9 Digit Nine
58 0x3A 072 00111010 : : Colon
59 0x3B 073 00111011 ; &#59; Semicolon
60 0x3C 074 00111100 < &lt; Less-Than Sign
61 0x3D 075 00111101 = &#61; Equals Sign
62 0x3E 076 00111110 > &gt; Greater-Than Sign
63 0x3F 077 00111111 ? &#63; Question Mark
64 0x40 100 01000000 @ &#64; Commercial At
65 0x41 101 01000001 A &#65; Latin Capital Letter A
66 0x42 102 01000010 B &#66; Latin Capital Letter B
67 0x43 103 01000011 C &#67; Latin Capital Letter C
68 0x44 104 01000100 D &#68; Latin Capital Letter D
69 0x45 105 01000101 E &#69; Latin Capital Letter E
70 0x46 106 01000110 F &#70; Latin Capital Letter F
71 0x47 107 01000111 G &#71; Latin Capital Letter G
72 0x48 110 01001000 H &#72; Latin Capital Letter H
73 0x49 111 01001001 I &#73; Latin Capital Letter I
74 0x4A 112 01001010 J &#74; Latin Capital Letter J
75 0x4B 113 01001011 K &#75; Latin Capital Letter K
76 0x4C 114 01001100 L &#76; Latin Capital Letter L
77 0x4D 115 01001101 M &#77; Latin Capital Letter M
78 0x4E 116 01001110 N &#78; Latin Capital Letter N
79 0x4F 117 01001111 O &#79; Latin Capital Letter O
80 0x50 120 01010000 P &#80; Latin Capital Letter P
81 0x51 121 01010001 Q &#81; Latin Capital Letter Q
82 0x52 122 01010010 R &#82; Latin Capital Letter R
83 0x53 123 01010011 S &#83; Latin Capital Letter S
84 0x54 124 01010100 T &#84; Latin Capital Letter T
85 0x55 125 01010101 U &#85; Latin Capital Letter U
86 0x56 126 01010110 V &#86; Latin Capital Letter V
87 0x57 127 01010111 W &#87; Latin Capital Letter W
88 0x58 130 01011000 X &#88; Latin Capital Letter X
89 0x59 131 01011001 Y &#89; Latin Capital Letter Y
90 0x5A 132 01011010 Z &#90; Latin Capital Letter Z
91 0x5B 133 01011011 [ &#91; Left Square Bracket
92 0x5C 134 01011100 \ &#92; Reverse Solidus
93 0x5D 135 01011101 ] &#93; Right Square Bracket
94 0x5E 136 01011110 ^ &#94; Circumflex Accent
95 0x5F 137 01011111 _ &#95; Low Line
96 0x60 140 01100000 ` &#96; Grave Accent
97 0x61 141 01100001 a &#97; Latin Small Letter A
98 0x62 142 01100010 b &#98; Latin Small Letter B
99 0x63 143 01100011 c &#99; Latin Small Letter C
100 0x64 144 01100100 d &#100; Latin Small Letter D
101 0x65 145 01100101 e &#101; Latin Small Letter E
102 0x66 146 01100110 f &#102; Latin Small Letter F
103 0x67 147 01100111 g &#103; Latin Small Letter G
104 0x68 150 01101000 h &#104; Latin Small Letter H
105 0x69 151 01101001 i &#105; Latin Small Letter I
106 0x6A 152 01101010 j &#106; Latin Small Letter J
107 0x6B 153 01101011 k &#107; Latin Small Letter K
108 0x6C 154 01101100 l &#108; Latin Small Letter L
109 0x6D 155 01101101 m &#109; Latin Small Letter M
110 0x6E 156 01101110 n &#110; Latin Small Letter N
111 0x6F 157 01101111 o &#111; Latin Small Letter O
112 0x70 160 01110000 p &#112; Latin Small Letter P
113 0x71 161 01110001 q &#113; Latin Small Letter Q
114 0x72 162 01110010 r &#114; Latin Small Letter R
115 0x73 163 01110011 s &#115; Latin Small Letter S
116 0x74 164 01110100 t &#116; Latin Small Letter T
117 0x75 165 01110101 u &#117; Latin Small Letter U
118 0x76 166 01110110 v &#118; Latin Small Letter V
119 0x77 167 01110111 w &#119; Latin Small Letter W
120 0x78 170 01111000 x &#120; Latin Small Letter X
121 0x79 171 01111001 y &#121; Latin Small Letter Y
122 0x7A 172 01111010 z &#122; Latin Small Letter Z
123 0x7B 173 01111011 { &#123; Left Curly Bracket
124 0x7C 174 01111100 | &#124; Vertical Line
125 0x7D 175 01111101 } &#125; Right Curly Bracket
126 0x7E 176 01111110 ~ &#126; Tilde

Control characters (0-31 and 127)

Non-printing codes that control devices and text layout.

DecHexOctBinary Char AbbrCaretEscape Description
0 0x00 000 00000000 ␀ NUL ^@ \0 Null
1 0x01 001 00000001 ␁ SOH ^A Start of Heading
2 0x02 002 00000010 ␂ STX ^B Start of Text
3 0x03 003 00000011 ␃ ETX ^C End of Text
4 0x04 004 00000100 ␄ EOT ^D End of Transmission
5 0x05 005 00000101 ␅ ENQ ^E Enquiry
6 0x06 006 00000110 ␆ ACK ^F Acknowledge
7 0x07 007 00000111 ␇ BEL ^G \a Bell
8 0x08 010 00001000 ␈ BS ^H \b Backspace
9 0x09 011 00001001 ␉ HT ^I \t Horizontal Tab
10 0x0A 012 00001010 ␊ LF ^J \n Line Feed
11 0x0B 013 00001011 ␋ VT ^K \v Vertical Tab
12 0x0C 014 00001100 ␌ FF ^L \f Form Feed
13 0x0D 015 00001101 ␍ CR ^M \r Carriage Return
14 0x0E 016 00001110 ␎ SO ^N Shift Out
15 0x0F 017 00001111 ␏ SI ^O Shift In
16 0x10 020 00010000 ␐ DLE ^P Data Link Escape
17 0x11 021 00010001 ␑ DC1 ^Q Device Control 1 (XON)
18 0x12 022 00010010 ␒ DC2 ^R Device Control 2
19 0x13 023 00010011 ␓ DC3 ^S Device Control 3 (XOFF)
20 0x14 024 00010100 ␔ DC4 ^T Device Control 4
21 0x15 025 00010101 ␕ NAK ^U Negative Acknowledge
22 0x16 026 00010110 ␖ SYN ^V Synchronous Idle
23 0x17 027 00010111 ␗ ETB ^W End of Transmission Block
24 0x18 030 00011000 ␘ CAN ^X Cancel
25 0x19 031 00011001 ␙ EM ^Y End of Medium
26 0x1A 032 00011010 ␚ SUB ^Z Substitute
27 0x1B 033 00011011 ␛ ESC ^[ \e Escape
28 0x1C 034 00011100 ␜ FS ^\ File Separator
29 0x1D 035 00011101 ␝ GS ^] Group Separator
30 0x1E 036 00011110 ␞ RS ^^ Record Separator
31 0x1F 037 00011111 ␟ US ^_ Unit Separator
127 0x7F 177 01111111 ␡ DEL ^? Delete

Extended ASCII (128-255, Windows-1252)

Not part of standard ASCII. Values follow the Windows-1252 code page.

DecHexOctBinary Char HTML Unicode Description
128 0x80 200 10000000 € &euro; U+20AC Euro Sign
129 0x81 201 10000001 Undefined in Windows-1252
130 0x82 202 10000010 ‚ &sbquo; U+201A Single Low-9 Quotation Mark
131 0x83 203 10000011 ƒ &fnof; U+0192 Latin Small Letter F With Hook
132 0x84 204 10000100 „ &bdquo; U+201E Double Low-9 Quotation Mark
133 0x85 205 10000101 … &hellip; U+2026 Horizontal Ellipsis
134 0x86 206 10000110 † &dagger; U+2020 Dagger
135 0x87 207 10000111 ‡ &Dagger; U+2021 Double Dagger
136 0x88 210 10001000 ˆ &circ; U+02C6 Modifier Letter Circumflex Accent
137 0x89 211 10001001 ‰ &permil; U+2030 Per Mille Sign
138 0x8A 212 10001010 Š &Scaron; U+0160 Latin Capital Letter S With Caron
139 0x8B 213 10001011 ‹ &lsaquo; U+2039 Single Left-Pointing Angle Quotation Mark
140 0x8C 214 10001100 Œ &OElig; U+0152 Latin Capital Ligature Oe
141 0x8D 215 10001101 Undefined in Windows-1252
142 0x8E 216 10001110 Ž &#381; U+017D Latin Capital Letter Z With Caron
143 0x8F 217 10001111 Undefined in Windows-1252
144 0x90 220 10010000 Undefined in Windows-1252
145 0x91 221 10010001 ‘ &lsquo; U+2018 Left Single Quotation Mark
146 0x92 222 10010010 ’ &rsquo; U+2019 Right Single Quotation Mark
147 0x93 223 10010011 “ &ldquo; U+201C Left Double Quotation Mark
148 0x94 224 10010100 ” &rdquo; U+201D Right Double Quotation Mark
149 0x95 225 10010101 • &bull; U+2022 Bullet
150 0x96 226 10010110 – &ndash; U+2013 En Dash
151 0x97 227 10010111 — &mdash; U+2014 Em Dash
152 0x98 230 10011000 ˜ &tilde; U+02DC Small Tilde
153 0x99 231 10011001 ™ &trade; U+2122 Trade Mark Sign
154 0x9A 232 10011010 š &scaron; U+0161 Latin Small Letter S With Caron
155 0x9B 233 10011011 › &rsaquo; U+203A Single Right-Pointing Angle Quotation Mark
156 0x9C 234 10011100 œ &oelig; U+0153 Latin Small Ligature Oe
157 0x9D 235 10011101 Undefined in Windows-1252
158 0x9E 236 10011110 ž &#382; U+017E Latin Small Letter Z With Caron
159 0x9F 237 10011111 Ÿ &Yuml; U+0178 Latin Capital Letter Y With Diaeresis
160 0xA0 240 10100000 NBSP &nbsp; U+00A0 No-Break Space
161 0xA1 241 10100001 ¡ &iexcl; U+00A1 Inverted Exclamation Mark
162 0xA2 242 10100010 ¢ &cent; U+00A2 Cent Sign
163 0xA3 243 10100011 £ &pound; U+00A3 Pound Sign
164 0xA4 244 10100100 ¤ &curren; U+00A4 Currency Sign
165 0xA5 245 10100101 ¥ &yen; U+00A5 Yen Sign
166 0xA6 246 10100110 ¦ &brvbar; U+00A6 Broken Bar
167 0xA7 247 10100111 § &sect; U+00A7 Section Sign
168 0xA8 250 10101000 ¨ &uml; U+00A8 Diaeresis
169 0xA9 251 10101001 © &copy; U+00A9 Copyright Sign
170 0xAA 252 10101010 ª &ordf; U+00AA Feminine Ordinal Indicator
171 0xAB 253 10101011 « &laquo; U+00AB Left-Pointing Double Angle Quotation Mark
172 0xAC 254 10101100 ¬ &not; U+00AC Not Sign
173 0xAD 255 10101101 SHY &shy; U+00AD Soft Hyphen
174 0xAE 256 10101110 ® &reg; U+00AE Registered Sign
175 0xAF 257 10101111 ¯ &macr; U+00AF Macron
176 0xB0 260 10110000 ° &deg; U+00B0 Degree Sign
177 0xB1 261 10110001 ± &plusmn; U+00B1 Plus-Minus Sign
178 0xB2 262 10110010 ² &sup2; U+00B2 Superscript Two
179 0xB3 263 10110011 ³ &sup3; U+00B3 Superscript Three
180 0xB4 264 10110100 ´ &acute; U+00B4 Acute Accent
181 0xB5 265 10110101 µ &micro; U+00B5 Micro Sign
182 0xB6 266 10110110 &para; U+00B6 Pilcrow Sign
183 0xB7 267 10110111 · &middot; U+00B7 Middle Dot
184 0xB8 270 10111000 ¸ &cedil; U+00B8 Cedilla
185 0xB9 271 10111001 ¹ &sup1; U+00B9 Superscript One
186 0xBA 272 10111010 º &ordm; U+00BA Masculine Ordinal Indicator
187 0xBB 273 10111011 » &raquo; U+00BB Right-Pointing Double Angle Quotation Mark
188 0xBC 274 10111100 ¼ &frac14; U+00BC Vulgar Fraction One Quarter
189 0xBD 275 10111101 ½ &frac12; U+00BD Vulgar Fraction One Half
190 0xBE 276 10111110 ¾ &frac34; U+00BE Vulgar Fraction Three Quarters
191 0xBF 277 10111111 ¿ &iquest; U+00BF Inverted Question Mark
192 0xC0 300 11000000 À &Agrave; U+00C0 Latin Capital Letter A With Grave
193 0xC1 301 11000001 Á &Aacute; U+00C1 Latin Capital Letter A With Acute
194 0xC2 302 11000010 Â &Acirc; U+00C2 Latin Capital Letter A With Circumflex
195 0xC3 303 11000011 Ã &Atilde; U+00C3 Latin Capital Letter A With Tilde
196 0xC4 304 11000100 Ä &Auml; U+00C4 Latin Capital Letter A With Diaeresis
197 0xC5 305 11000101 Å &Aring; U+00C5 Latin Capital Letter A With Ring Above
198 0xC6 306 11000110 Æ &AElig; U+00C6 Latin Capital Letter Ae
199 0xC7 307 11000111 Ç &Ccedil; U+00C7 Latin Capital Letter C With Cedilla
200 0xC8 310 11001000 È &Egrave; U+00C8 Latin Capital Letter E With Grave
201 0xC9 311 11001001 É &Eacute; U+00C9 Latin Capital Letter E With Acute
202 0xCA 312 11001010 Ê &Ecirc; U+00CA Latin Capital Letter E With Circumflex
203 0xCB 313 11001011 Ë &Euml; U+00CB Latin Capital Letter E With Diaeresis
204 0xCC 314 11001100 Ì &Igrave; U+00CC Latin Capital Letter I With Grave
205 0xCD 315 11001101 Í &Iacute; U+00CD Latin Capital Letter I With Acute
206 0xCE 316 11001110 Î &Icirc; U+00CE Latin Capital Letter I With Circumflex
207 0xCF 317 11001111 Ï &Iuml; U+00CF Latin Capital Letter I With Diaeresis
208 0xD0 320 11010000 Ð &ETH; U+00D0 Latin Capital Letter Eth
209 0xD1 321 11010001 Ñ &Ntilde; U+00D1 Latin Capital Letter N With Tilde
210 0xD2 322 11010010 Ò &Ograve; U+00D2 Latin Capital Letter O With Grave
211 0xD3 323 11010011 Ó &Oacute; U+00D3 Latin Capital Letter O With Acute
212 0xD4 324 11010100 Ô &Ocirc; U+00D4 Latin Capital Letter O With Circumflex
213 0xD5 325 11010101 Õ &Otilde; U+00D5 Latin Capital Letter O With Tilde
214 0xD6 326 11010110 Ö &Ouml; U+00D6 Latin Capital Letter O With Diaeresis
215 0xD7 327 11010111 × &times; U+00D7 Multiplication Sign
216 0xD8 330 11011000 Ø &Oslash; U+00D8 Latin Capital Letter O With Stroke
217 0xD9 331 11011001 Ù &Ugrave; U+00D9 Latin Capital Letter U With Grave
218 0xDA 332 11011010 Ú &Uacute; U+00DA Latin Capital Letter U With Acute
219 0xDB 333 11011011 Û &Ucirc; U+00DB Latin Capital Letter U With Circumflex
220 0xDC 334 11011100 Ü &Uuml; U+00DC Latin Capital Letter U With Diaeresis
221 0xDD 335 11011101 Ý &Yacute; U+00DD Latin Capital Letter Y With Acute
222 0xDE 336 11011110 Þ &THORN; U+00DE Latin Capital Letter Thorn
223 0xDF 337 11011111 ß &szlig; U+00DF Latin Small Letter Sharp S
224 0xE0 340 11100000 à &agrave; U+00E0 Latin Small Letter A With Grave
225 0xE1 341 11100001 á &aacute; U+00E1 Latin Small Letter A With Acute
226 0xE2 342 11100010 â &acirc; U+00E2 Latin Small Letter A With Circumflex
227 0xE3 343 11100011 ã &atilde; U+00E3 Latin Small Letter A With Tilde
228 0xE4 344 11100100 ä &auml; U+00E4 Latin Small Letter A With Diaeresis
229 0xE5 345 11100101 å &aring; U+00E5 Latin Small Letter A With Ring Above
230 0xE6 346 11100110 æ &aelig; U+00E6 Latin Small Letter Ae
231 0xE7 347 11100111 ç &ccedil; U+00E7 Latin Small Letter C With Cedilla
232 0xE8 350 11101000 è &egrave; U+00E8 Latin Small Letter E With Grave
233 0xE9 351 11101001 é &eacute; U+00E9 Latin Small Letter E With Acute
234 0xEA 352 11101010 ê &ecirc; U+00EA Latin Small Letter E With Circumflex
235 0xEB 353 11101011 ë &euml; U+00EB Latin Small Letter E With Diaeresis
236 0xEC 354 11101100 ì &igrave; U+00EC Latin Small Letter I With Grave
237 0xED 355 11101101 í &iacute; U+00ED Latin Small Letter I With Acute
238 0xEE 356 11101110 î &icirc; U+00EE Latin Small Letter I With Circumflex
239 0xEF 357 11101111 ï &iuml; U+00EF Latin Small Letter I With Diaeresis
240 0xF0 360 11110000 ð &eth; U+00F0 Latin Small Letter Eth
241 0xF1 361 11110001 ñ &ntilde; U+00F1 Latin Small Letter N With Tilde
242 0xF2 362 11110010 ò &ograve; U+00F2 Latin Small Letter O With Grave
243 0xF3 363 11110011 ó &oacute; U+00F3 Latin Small Letter O With Acute
244 0xF4 364 11110100 ô &ocirc; U+00F4 Latin Small Letter O With Circumflex
245 0xF5 365 11110101 õ &otilde; U+00F5 Latin Small Letter O With Tilde
246 0xF6 366 11110110 ö &ouml; U+00F6 Latin Small Letter O With Diaeresis
247 0xF7 367 11110111 ÷ &divide; U+00F7 Division Sign
248 0xF8 370 11111000 ø &oslash; U+00F8 Latin Small Letter O With Stroke
249 0xF9 371 11111001 ù &ugrave; U+00F9 Latin Small Letter U With Grave
250 0xFA 372 11111010 ú &uacute; U+00FA Latin Small Letter U With Acute
251 0xFB 373 11111011 û &ucirc; U+00FB Latin Small Letter U With Circumflex
252 0xFC 374 11111100 ü &uuml; U+00FC Latin Small Letter U With Diaeresis
253 0xFD 375 11111101 ý &yacute; U+00FD Latin Small Letter Y With Acute
254 0xFE 376 11111110 þ &thorn; U+00FE Latin Small Letter Thorn
255 0xFF 377 11111111 ÿ &yuml; U+00FF Latin Small Letter Y With Diaeresis

How to use the ASCII Table

  1. Type a character, a number (65, 0x41, 0b1000001) or a name such as "tab" in the search box.
  2. Click any cell to copy its value to the clipboard.
  3. Use the tabs to switch between printable characters, control characters and the extended range.

What is ASCII?

ASCII (American Standard Code for Information Interchange) was published in 1963 and uses 7 bits to encode 128 characters. Codes 0 to 31 and 127 are control characters that once steered printers and terminals, such as line feed (10) and carriage return (13). Codes 32 to 126 are printable characters: the space, digits, upper- and lower-case letters and punctuation.

Extended ASCII (128-255)

ASCII itself stops at 127. Codes 128 to 255 come from 8-bit "extended" code pages that differ by system. This table shows Windows-1252, the most common one on the web, which matches ISO-8859-1 (Latin-1) except for codes 128 to 159. Modern websites use UTF-8, where the first 128 codes are identical to ASCII and everything else uses two or more bytes.

Handy ASCII facts

  • Upper-case letters start at 65 (A), lower-case at 97 (a). The difference is always 32, one bit.
  • Digits start at 48, so the value of a digit is its code minus 48.
  • Windows ends a line with CR LF (13 10); Linux and macOS use only LF (10).

Frequently asked questions

Upper-case A is 65 in decimal, 0x41 in hexadecimal, 101 in octal and 01000001 in binary. Lower-case a is 97 (0x61).

The space character is 32 in decimal, 0x20 in hexadecimal and 00100000 in binary.

Standard ASCII has 128 characters (0-127): 33 control characters and 95 printable characters, including the space.

ASCII covers 128 characters for English. Unicode covers over 150,000 characters for all languages and emoji. The first 128 Unicode code points are exactly the ASCII characters.

No. Codes 128-255 depend on the code page. This table uses Windows-1252; old DOS systems used code page 437 with line-drawing characters instead.