Quick access

Saved in this browser. Sign in to keep it on all your devices.

ASCII Table

All 128 ASCII characters with their decimal, hex, octal and binary codes. Search, then click any value to copy it.

Standard ASCII (0–127)

Dec Hex Oct Binary Char Description
0 00 000 00000000 NUL Null
1 01 001 00000001 SOH Start of heading
2 02 002 00000010 STX Start of text
3 03 003 00000011 ETX End of text
4 04 004 00000100 EOT End of transmission
5 05 005 00000101 ENQ Enquiry
6 06 006 00000110 ACK Acknowledge
7 07 007 00000111 BEL Bell
8 08 010 00001000 BS Backspace
9 09 011 00001001 HT Horizontal tab
10 0A 012 00001010 LF Line feed
11 0B 013 00001011 VT Vertical tab
12 0C 014 00001100 FF Form feed
13 0D 015 00001101 CR Carriage return
14 0E 016 00001110 SO Shift out
15 0F 017 00001111 SI Shift in
16 10 020 00010000 DLE Data link escape
17 11 021 00010001 DC1 Device control 1 (XON)
18 12 022 00010010 DC2 Device control 2
19 13 023 00010011 DC3 Device control 3 (XOFF)
20 14 024 00010100 DC4 Device control 4
21 15 025 00010101 NAK Negative acknowledge
22 16 026 00010110 SYN Synchronous idle
23 17 027 00010111 ETB End of transmission block
24 18 030 00011000 CAN Cancel
25 19 031 00011001 EM End of medium
26 1A 032 00011010 SUB Substitute
27 1B 033 00011011 ESC Escape
28 1C 034 00011100 FS File separator
29 1D 035 00011101 GS Group separator
30 1E 036 00011110 RS Record separator
31 1F 037 00011111 US Unit separator
32 20 040 00100000 SP Space
33 21 041 00100001 ! Punctuation or symbol
34 22 042 00100010 " Punctuation or symbol
35 23 043 00100011 # Punctuation or symbol
36 24 044 00100100 $ Punctuation or symbol
37 25 045 00100101 % Punctuation or symbol
38 26 046 00100110 & Punctuation or symbol
39 27 047 00100111 ' Punctuation or symbol
40 28 050 00101000 ( Punctuation or symbol
41 29 051 00101001 ) Punctuation or symbol
42 2A 052 00101010 * Punctuation or symbol
43 2B 053 00101011 + Punctuation or symbol
44 2C 054 00101100 , Punctuation or symbol
45 2D 055 00101101 - Punctuation or symbol
46 2E 056 00101110 . Punctuation or symbol
47 2F 057 00101111 / Punctuation or symbol
48 30 060 00110000 0 Digit
49 31 061 00110001 1 Digit
50 32 062 00110010 2 Digit
51 33 063 00110011 3 Digit
52 34 064 00110100 4 Digit
53 35 065 00110101 5 Digit
54 36 066 00110110 6 Digit
55 37 067 00110111 7 Digit
56 38 070 00111000 8 Digit
57 39 071 00111001 9 Digit
58 3A 072 00111010 : Punctuation or symbol
59 3B 073 00111011 ; Punctuation or symbol
60 3C 074 00111100 < Punctuation or symbol
61 3D 075 00111101 = Punctuation or symbol
62 3E 076 00111110 > Punctuation or symbol
63 3F 077 00111111 ? Punctuation or symbol
64 40 100 01000000 @ Punctuation or symbol
65 41 101 01000001 A Uppercase letter
66 42 102 01000010 B Uppercase letter
67 43 103 01000011 C Uppercase letter
68 44 104 01000100 D Uppercase letter
69 45 105 01000101 E Uppercase letter
70 46 106 01000110 F Uppercase letter
71 47 107 01000111 G Uppercase letter
72 48 110 01001000 H Uppercase letter
73 49 111 01001001 I Uppercase letter
74 4A 112 01001010 J Uppercase letter
75 4B 113 01001011 K Uppercase letter
76 4C 114 01001100 L Uppercase letter
77 4D 115 01001101 M Uppercase letter
78 4E 116 01001110 N Uppercase letter
79 4F 117 01001111 O Uppercase letter
80 50 120 01010000 P Uppercase letter
81 51 121 01010001 Q Uppercase letter
82 52 122 01010010 R Uppercase letter
83 53 123 01010011 S Uppercase letter
84 54 124 01010100 T Uppercase letter
85 55 125 01010101 U Uppercase letter
86 56 126 01010110 V Uppercase letter
87 57 127 01010111 W Uppercase letter
88 58 130 01011000 X Uppercase letter
89 59 131 01011001 Y Uppercase letter
90 5A 132 01011010 Z Uppercase letter
91 5B 133 01011011 [ Punctuation or symbol
92 5C 134 01011100 \ Punctuation or symbol
93 5D 135 01011101 ] Punctuation or symbol
94 5E 136 01011110 ^ Punctuation or symbol
95 5F 137 01011111 _ Punctuation or symbol
96 60 140 01100000 ` Punctuation or symbol
97 61 141 01100001 a Lowercase letter
98 62 142 01100010 b Lowercase letter
99 63 143 01100011 c Lowercase letter
100 64 144 01100100 d Lowercase letter
101 65 145 01100101 e Lowercase letter
102 66 146 01100110 f Lowercase letter
103 67 147 01100111 g Lowercase letter
104 68 150 01101000 h Lowercase letter
105 69 151 01101001 i Lowercase letter
106 6A 152 01101010 j Lowercase letter
107 6B 153 01101011 k Lowercase letter
108 6C 154 01101100 l Lowercase letter
109 6D 155 01101101 m Lowercase letter
110 6E 156 01101110 n Lowercase letter
111 6F 157 01101111 o Lowercase letter
112 70 160 01110000 p Lowercase letter
113 71 161 01110001 q Lowercase letter
114 72 162 01110010 r Lowercase letter
115 73 163 01110011 s Lowercase letter
116 74 164 01110100 t Lowercase letter
117 75 165 01110101 u Lowercase letter
118 76 166 01110110 v Lowercase letter
119 77 167 01110111 w Lowercase letter
120 78 170 01111000 x Lowercase letter
121 79 171 01111001 y Lowercase letter
122 7A 172 01111010 z Lowercase letter
123 7B 173 01111011 { Punctuation or symbol
124 7C 174 01111100 | Punctuation or symbol
125 7D 175 01111101 } Punctuation or symbol
126 7E 176 01111110 ~ Punctuation or symbol
127 7F 177 01111111 DEL Delete

Extended characters (128–255, Windows-1252)

These codes are not part of ASCII. They show the common Windows-1252 code page, and other code pages assign them differently.

Dec Hex Oct Binary Char Description
128 80 200 10000000 € Windows-1252
129 81 201 10000001 — Not assigned
130 82 202 10000010 ‚ Windows-1252
131 83 203 10000011 ƒ Windows-1252
132 84 204 10000100 „ Windows-1252
133 85 205 10000101 … Windows-1252
134 86 206 10000110 † Windows-1252
135 87 207 10000111 ‡ Windows-1252
136 88 210 10001000 ˆ Windows-1252
137 89 211 10001001 ‰ Windows-1252
138 8A 212 10001010 Š Windows-1252
139 8B 213 10001011 ‹ Windows-1252
140 8C 214 10001100 Œ Windows-1252
141 8D 215 10001101 — Not assigned
142 8E 216 10001110 Ž Windows-1252
143 8F 217 10001111 — Not assigned
144 90 220 10010000 — Not assigned
145 91 221 10010001 ‘ Windows-1252
146 92 222 10010010 ’ Windows-1252
147 93 223 10010011 “ Windows-1252
148 94 224 10010100 ” Windows-1252
149 95 225 10010101 • Windows-1252
150 96 226 10010110 – Windows-1252
151 97 227 10010111 — Windows-1252
152 98 230 10011000 ˜ Windows-1252
153 99 231 10011001 ™ Windows-1252
154 9A 232 10011010 š Windows-1252
155 9B 233 10011011 › Windows-1252
156 9C 234 10011100 œ Windows-1252
157 9D 235 10011101 — Not assigned
158 9E 236 10011110 ž Windows-1252
159 9F 237 10011111 Ÿ Windows-1252
160 A0 240 10100000 NBSP No-break space
161 A1 241 10100001 ¡ Windows-1252
162 A2 242 10100010 ¢ Windows-1252
163 A3 243 10100011 £ Windows-1252
164 A4 244 10100100 ¤ Windows-1252
165 A5 245 10100101 ¥ Windows-1252
166 A6 246 10100110 ¦ Windows-1252
167 A7 247 10100111 § Windows-1252
168 A8 250 10101000 ¨ Windows-1252
169 A9 251 10101001 © Windows-1252
170 AA 252 10101010 ª Windows-1252
171 AB 253 10101011 « Windows-1252
172 AC 254 10101100 ¬ Windows-1252
173 AD 255 10101101 ­ Windows-1252
174 AE 256 10101110 ® Windows-1252
175 AF 257 10101111 ¯ Windows-1252
176 B0 260 10110000 ° Windows-1252
177 B1 261 10110001 ± Windows-1252
178 B2 262 10110010 ² Windows-1252
179 B3 263 10110011 ³ Windows-1252
180 B4 264 10110100 ´ Windows-1252
181 B5 265 10110101 µ Windows-1252
182 B6 266 10110110 Windows-1252
183 B7 267 10110111 · Windows-1252
184 B8 270 10111000 ¸ Windows-1252
185 B9 271 10111001 ¹ Windows-1252
186 BA 272 10111010 º Windows-1252
187 BB 273 10111011 » Windows-1252
188 BC 274 10111100 ¼ Windows-1252
189 BD 275 10111101 ½ Windows-1252
190 BE 276 10111110 ¾ Windows-1252
191 BF 277 10111111 ¿ Windows-1252
192 C0 300 11000000 À Windows-1252
193 C1 301 11000001 Á Windows-1252
194 C2 302 11000010 Â Windows-1252
195 C3 303 11000011 Ã Windows-1252
196 C4 304 11000100 Ä Windows-1252
197 C5 305 11000101 Å Windows-1252
198 C6 306 11000110 Æ Windows-1252
199 C7 307 11000111 Ç Windows-1252
200 C8 310 11001000 È Windows-1252
201 C9 311 11001001 É Windows-1252
202 CA 312 11001010 Ê Windows-1252
203 CB 313 11001011 Ë Windows-1252
204 CC 314 11001100 Ì Windows-1252
205 CD 315 11001101 Í Windows-1252
206 CE 316 11001110 Î Windows-1252
207 CF 317 11001111 Ï Windows-1252
208 D0 320 11010000 Ð Windows-1252
209 D1 321 11010001 Ñ Windows-1252
210 D2 322 11010010 Ò Windows-1252
211 D3 323 11010011 Ó Windows-1252
212 D4 324 11010100 Ô Windows-1252
213 D5 325 11010101 Õ Windows-1252
214 D6 326 11010110 Ö Windows-1252
215 D7 327 11010111 × Windows-1252
216 D8 330 11011000 Ø Windows-1252
217 D9 331 11011001 Ù Windows-1252
218 DA 332 11011010 Ú Windows-1252
219 DB 333 11011011 Û Windows-1252
220 DC 334 11011100 Ü Windows-1252
221 DD 335 11011101 Ý Windows-1252
222 DE 336 11011110 Þ Windows-1252
223 DF 337 11011111 ß Windows-1252
224 E0 340 11100000 à Windows-1252
225 E1 341 11100001 á Windows-1252
226 E2 342 11100010 â Windows-1252
227 E3 343 11100011 ã Windows-1252
228 E4 344 11100100 ä Windows-1252
229 E5 345 11100101 å Windows-1252
230 E6 346 11100110 æ Windows-1252
231 E7 347 11100111 ç Windows-1252
232 E8 350 11101000 è Windows-1252
233 E9 351 11101001 é Windows-1252
234 EA 352 11101010 ê Windows-1252
235 EB 353 11101011 ë Windows-1252
236 EC 354 11101100 ì Windows-1252
237 ED 355 11101101 í Windows-1252
238 EE 356 11101110 î Windows-1252
239 EF 357 11101111 ï Windows-1252
240 F0 360 11110000 ð Windows-1252
241 F1 361 11110001 ñ Windows-1252
242 F2 362 11110010 ò Windows-1252
243 F3 363 11110011 ó Windows-1252
244 F4 364 11110100 ô Windows-1252
245 F5 365 11110101 õ Windows-1252
246 F6 366 11110110 ö Windows-1252
247 F7 367 11110111 ÷ Windows-1252
248 F8 370 11111000 ø Windows-1252
249 F9 371 11111001 ù Windows-1252
250 FA 372 11111010 ú Windows-1252
251 FB 373 11111011 û Windows-1252
252 FC 374 11111100 ü Windows-1252
253 FD 375 11111101 ý Windows-1252
254 FE 376 11111110 þ Windows-1252
255 FF 377 11111111 ÿ Windows-1252
Version 1.1 Updated What's new

Release notes

  1. v1.1 Latest
    • Added an in-depth guide below the tool, written from what the tool actually does.
    • The table now lists every code in the range.

About the ASCII Table

ASCII is the original 7-bit character set with 128 codes: 33 control characters and 95 printable characters, including letters, digits, and punctuation.

How to use it

  1. 1 Search for a character or code.
  2. 2 Read its decimal, hex, octal, and binary values.
  3. 3 Click to copy the value you need.

Frequently asked questions

What is the ASCII code for A?

Uppercase A is 65 (hex 41) and lowercase a is 97 (hex 61). Lowercase letters are always 32 higher than their uppercase versions.

What are control characters?

Codes 0–31 and 127 are control characters, such as line feed (10), carriage return (13), and tab (9). They control text instead of printing a symbol.

What is the difference between ASCII and Unicode?

ASCII covers 128 characters. Unicode covers over 150,000 characters from every writing system, and its first 128 codes are the same as ASCII.

Why seven bits

ASCII was published in 1963 by the American Standards Association, with a major revision in 1967, so that teleprinters and computers from different makers could exchange text. Seven bits give 2⁷ = 128 codes. That was enough for English letters, digits, punctuation and device controls, and fewer bits meant cheaper transmission.

Patterns hidden in the layout

The order was designed to make common operations cheap. Look at these codes in binary:

A  65  01000001
a  97  01100001

0  48  00110000
5  53  00110101

Upper and lower case differ only in one bit, worth 32, so changing case is a single bit operation. The digits start at 48 with their value in the low four bits, so subtracting 48 converts the character 5 into the number 5. Sorting by code puts digits before capitals and capitals before lowercase, which is why a simple sort lists "Zebra" ahead of "apple".

Control codes still in use

The first 32 codes date from machines that had to be told what to do. Several still matter every day:

  • 9 (tab) moves to the next tab stop.
  • 10 (line feed) ends a line on Linux and macOS, while Windows files traditionally use 13 then 10.
  • 27 (escape) introduces the sequences terminals use for color and cursor movement.
  • 0 (null) marks the end of a string in C.

Code 127 sits alone at the far end for a physical reason. On punched paper tape it is all seven holes, so an operator could erase any mistake by punching it out completely. The reader then skipped that position.

Extended ASCII is not one standard

ASCII stops at 127. The eighth bit gave computer makers 128 more codes, and they filled them differently. Code 233 is é in Windows-1252 but Θ in the old IBM PC code page 437. The second table on this page shows Windows-1252, the most common one on the web historically, where five positions were never assigned.

Garbled text such as é in place of é is the classic symptom of a mismatch: the bytes were written as UTF-8 and read as Windows-1252. UTF-8 solved this by matching ASCII exactly for the first 128 codes and using multiple bytes for all other characters, so a pure ASCII file is already valid UTF-8.