(Pronounced "ass-kee." or "ask-key.")
American Code for Information Interchange - Pronounced "ass-kee." or "ask-key". A way of represent characters. The first 128 characters are standardized, and the first 32 of those are control codes, which are not visible characters but codes that can be used for text formatting or actions, such as form-feed. After the 32 control codes, the next 96 standardized characters represent numbers, letters (both uppercase and lowercase), and standard punctuation marks. The last 128 characters represent different things on different platforms. The total number of characters is 256, (8 bits of binary data), )nly the first 7 bits 0 to 127 are defined. ( The 8th bit may have been used as a parity check).
A tutorial on character code issues
ASCII Character Codes. This is a list of character codes in decimal, hex, octal and binary.
Fix Text - Converts out strange non-web character codes when filling out web forms
Using Special Characters on Web Pages: Cross-Platform Considerations
Creating Multilingual Web Pages: Unicode Support in HTML, HTML Editors and Web Browsers
Please note there could be errors below. Also there are different numbering systems. If you spot any errors please click here and let me know the exact error.
| Decimal |
ASCII
|
Description | HTML |
Hex |
Binary |
Octal | |
|
0 |
NUL | null |
0h |
00000000 |
000 | ||
|
1
|
SOH |
Start of Heading Control-A |
1h
|
00000001
|
001 | ||
|
2
|
STX | Start of Text Control-B |
2h
|
00000010
|
002 | ||
|
3
|
ETX | End of Text Control-C |
3h
|
00000011
|
003 | ||
|
4
|
EOT | End of Transmission Control-D |
4h
|
00000100
|
004 | ||
|
5
|
ENQ | Enquiry Control-E |
5h
|
00000101
|
005 | ||
|
6
|
ACK | Acknowledge Control-F |
6h
|
00000110
|
006 | ||
|
7
|
BELL | bell |
7h
|
00000111
|
007 | ||
|
8
|
BS | Back Space |
8h
|
00001000
|
010 | ||
|
9
|
TAB | Horizontal tab |
9h
|
00001001
|
011 | ||
|
10
|
LF |
Line feed |
Ah
|
00001010
|
012 | ||
|
11
|
VF
|
Vertical Tab |
Bh
|
00001011
|
013 | ||
|
12
|
FF
|
Form Feed (New Page) |
Ch
|
00001100
|
014 | ||
|
13
|
CR
|
Carriage Return |
Dh
|
00001101
|
015 | ||
|
14
|
SO
|
Shift Out Control-N |
Eh
|
00001110
|
016 | ||
|
15
|
SI
|
Shift In Control-O |
Fh
|
00001111
|
017 | ||
|
16
|
DLE
|
Data Link Escape Control-P |
10h
|
00010000
|
020 | ||
|
17
|
DC1 |
Device Control 1 Control-Q |
11h
|
00010001
|
021 | ||
|
18
|
DC2 | Device Control 2 Control-R |
12h
|
00010010
|
022 | ||
|
19
|
DC3 | Device Control 3 Control-S |
13h
|
00010011
|
023 | ||
|
20
|
DC4
|
Device Control 4 Control-T |
14h
|
00010100
|
024 | ||
|
21
|
NAK
|
Negative Acknowledge Control-U |
15h
|
00010101
|
025 | ||
|
22
|
SYN | Synchronise Idle Control-V |
16h
|
00010110
|
026 | ||
|
23
|
EBT | End of Transmission Block Control-W |
17h
|
00010111
|
027 | ||
|
24
|
CAN | Cancel Control-X |
18h
|
00011000
|
030 | ||
|
25
|
EM | End of Medium Control-X |
19h
|
00011001
|
031 | ||
|
26
|
SUB | Substiute Control-Y |
1Ah
|
00011010
|
032 | ||
|
27
|
ESC | Escape Control-Z |
1Bh
|
00011011
|
033 | ||
|
28
|
FS | File Separator |
1Ch
|
00011100
|
034 | ||
|
29
|
GS | Group Separator |
1Dh
|
00011101
|
035 | ||
|
30
|
RS
|
Record Separator |
1Eh
|
00011110
|
036 | ||
|
31
|
UN
|
Unit Separator |
1Fh
|
00011111
|
037 | ||
|
Printable Characters 32 to 127 decimal. |
|||||||
| 32 | space | Space | 20h | 00100000 | 040 | ||
| 33 | ! | Exclamation mark | 21h | 00100001 | 041 | ||
| 34 | " | Quotation mark | 22h | 00100010 | 042 | ||
| 35 | # | Number sign | 23h | 00100011 | 043 | ||
| 36 | $ | Dollar sign | 24h | 00100100 | 044 | ||
| 37 | % | Percent sign | 25h | 00100101 | 045 | ||
| 38 | & | Ampersand | 26h | 00100110 | 046 | ||
| 39 | ' | Apostrophe | 27h | 00100111 | 047 | ||
| 40 | ( | Left parenthesis | 28h | 00101000 | 050 | ||
| 41 | ) | Right parenthesis | 29h | 00101001 | 051 | ||
| 42 | * | Asterisk | 2Ah | 00101010 | 052 | ||
| 43 | + | Plus sign | 2Bh | 00101011 | 053 | ||
| 44 | , | Comma | 2Ch | 00101100 | 054 | ||
| 45 | - | Hyphen | 2Dh | 00101101 | 055 | ||
| 46 | . | Period (fullstop) | 2Eh | 00101110 | 056 | ||
| 47 | / | Solidus (slash) | 2Fh | 00101111 | 057 | ||
| 48 | 0 | 30h | 00110000 | 060 | |||
| 49 | 1 | 31h | 00110001 | 061 | |||
| 50 | 2 | 32h | 00110010 | 062 | |||
| 51 | 3 | 33h | 00110011 | 063 | |||
| 52 | 4 | 34h | 00110100 | 064 | |||
| 53 | 5 | 35h | 00110101 | 065 | |||
| 54 | 6 | 36h | 00110110 | 066 | |||
| 55 | 7 | 37h | 00110111 | 067 | |||
| 56 | 8 | 38h | 00111000 | 070 | |||
| 57 | 9 | 39h | 00111001 | 071 | |||
| 58 | : | Colon | 3Ah | 00111010 | 072 | ||
| 59 | ; | Semi-colon | 3Bh | 00111011 | 073 | ||
| 60 | < | Less than | 3Ch | 00111100 | 074 | ||
| 61 | = | Equals sign | 3Dh | 00111101 | 075 | ||
| 62 | > | Greater than | 3Eh | 00111110 | 076 | ||
| 63 | ? | Question mark | 3Fh | 00111111 | 077 | ||
| 64 | @ | Commercial at | 40h | 01000000 | 100 | ||
| 65 | A | 41h | 01000001 | 101 | |||
| 66 | B | 42h | 01000010 | 102 | |||
| 67 | C | 43h | 01000011 | 103 | |||
| 68 | D | 44h | 01000100 | 104 | |||
| 69 | E | 45h | 01000101 | 105 | |||
| 70 | F | 46h | 01000110 | 106 | |||
| 71 | G | 47h | 01000111 | 107 | |||
| 72 | H | 48h | 01001000 | 110 | |||
| 73 | I | 49h | 01001001 | 111 | |||
| 74 | J | 4Ah | 01001010 | 112 | |||
| 75 | K | 4Bh | 01001011 | 113 | |||
| 76 | L | 4Ch | 01001100 | 114 | |||
| 77 | M | 4Dh | 01001101 | 115 | |||
| 78 | N | 4Eh | 01001110 | 116 | |||
| 79 | O | 4Fh | 01001111 | 117 | |||
| 80 | P | 50h | 01010000 | 120 | |||
| 81 | Q | 51h | 01010001 | 121 | |||
| 82 | R | 52h | 01010010 | 122 | |||
| 83 | S | 53h | 01010011 | 123 | |||
| 84 | T | 54h | 01010100 | 124 | |||
| 85 | U | 55h | 01010101 | 125 | |||
| 86 | V | 56h | 01010110 | 126 | |||
| 87 | W | 57h | 01010111 | 127 | |||
| 88 | X | 58h | 01011000 | 130 | |||
| 89 | Y | 59h | 01011001 | 131 | |||
| 90 | Z | 5Ah | 01011010 | 132 | |||
| 91 | [ | Left square bracket | 5Bh | 01011011 | 133 | ||
| 92 | \ | Reverse solidus (backslash) | 5Ch | 01011100 | 134 | ||
| 93 | ] | Right square bracket | 5Dh | 01011101 | 135 | ||
| 94 | ^ | Caret | 5Eh | 01011110 | 136 | ||
| 95 | _ | Horizontal bar (underscore) | 5Fh | 01011111 | 137 | ||
| 96 | ` | Acute accent | 60h | 01100000 | 140 | ||
| 97 | a | 61h | 01100001 | 141 | |||
| 98 | b | 62h | 01100010 | 142 | |||
| 99 | c | 63h | 01100011 | 143 | |||
| 100 | d | 64h | 01100100 | 144 | |||
| 101 | e | 65h | 01100101 | 145 | |||
| 102 | f | 66h | 01100110 | 146 | |||
| 103 | g | 67h | 01100111 | 147 | |||
| 104 | h | 68h | 01101000 | 150 | |||
| 105 | i | 69h | 01101001 | 151 | |||
| 106 | j | 6Ah | 01101010 | 152 | |||
| 107 | k | 6Bh | 01101011 | 153 | |||
| 108 | l | 6Ch | 01101100 | 154 | |||
| 109 | m | 6Dh | 01101101 | 155 | |||
| 110 | n | 6Eh | 01101110 | 156 | |||
| 111 | o | 6Fh | 01101111 | 157 | |||
| 112 | p | 70h | 01110000 | 160 | |||
| 113 | q | 71h | 01110001 | 161 | |||
| 114 | r | 72h | 01110010 | 162 | |||
| 115 | s | 73h | 01110011 | 163 | |||
| 116 | t | 74h | 01110100 | 164 | |||
| 117 | u | 75h | 01110101 | 165 | |||
| 118 | v | 76h | 01110110 | 166 | |||
| 119 | w | 77h | 01110111 | 167 | |||
| 120 | x | 78h | 01111000 | 170 | |||
| 121 | y | 79h | 01111001 | 171 | |||
| 122 | z | 7Ah | 01111010 | 172 | |||
| 123 | { | Left curly brace | 7Bh | 01111011 | 173 | ||
| 124 | | | Vertical bar | 7Ch | 01111100 | 174 | ||
| 125 | } | Right curly brace | 7Dh | 01111101 | 175 | ||
| 126 |
~ |
Tilde | 7Eh | 01111110 | 176 | ||
| 127 |
DEL |
7Fh | 01111111 | 177 | |||
|
Values Above 127 decimal are some times used for extended characters. These may not be the same on all systems. |
|||||||
| 128 | 80h | 10000000 | 200 | ||||
| 129 | 81h | 10000001 | 201 | ||||
| 130 | 82h | 10000010 | 202 | ||||
| 130 | 83h | 10000011 | 203 | ||||
| 132 | 84h | 10000100 | 204 | ||||
| 133 | 85h | 10000101 | 205 | ||||
| 134 | 86h | 10000110 | 206 | ||||
| 135 | 87h | 10000111 | 207 | ||||
| 136 | 88h | 10001000 | 210 | ||||
| 137 | 89h | 10001001 | 211 | ||||
| 138 | 8Ah | 10001010 | 212 | ||||
| 139 | 8Bh | 10001011 | 213 | ||||
| 140 | 8Ch | 10001100 | 214 | ||||
| 141 | 8Dh | 10001101 | 215 | ||||
| 142 | 8Eh | 10001110 | 216 | ||||
| 143 | 8Fh | 10001111 | 217 | ||||
| 144 | 90h | 10010000 | 220 | ||||
| 145 | 91h | 10010001 | 221 | ||||
|
146 |
92h | 10010010 | 222 | ||||
| 147 | 93h | 10010011 | 223 | ||||
| 148 | 94h | 10010100 | 224 | ||||
| 149 | 95h | 10010101 | 225 | ||||
| 150 | 96h | 10010110 | 226 | ||||
| 151 | 97h | 10010111 | 227 | ||||
| 152 | 98h | 10011000 | 230 | ||||
| 153 | 99h | 10011001 | 231 | ||||
| 154 | 9Ah | 10011010 | 232 | ||||
| 155 | 9Bh | 10011011 | 233 | ||||
| 156 | 9Ch | 10011100 | 234 | ||||
| 157 | 9Dh | 10011101 | 235 | ||||
| 158 | 9Eh | 10011110 | 236 | ||||
| 159 | 9Fh | 10011111 | 237 | ||||
| 160 | Non-breaking Space | | A0h | 10100000 | 240 | ||
| 161 | ¡ | Inverted exclamation | ¡ | A1h | 10100001 | 241 | |
| 162 | ¢ | Cent sign | ¢ | A2h | 10100010 | 242 | |
| 163 | £ | Pound sterling | £ | A3h | 10100011 | 243 | |
| 164 | ¤ | General currency sign | ¤ | A4h | 10100100 | 244 | |
| 165 | ¥ | Yen sign | ¥ | A5h | 10100101 | 245 | |
| 166 | ¦ | Broken vertical bar | ¦ | A6h | 10100110 | 246 | |
| 167 | § | Section sign | § | A7h | 10100111 | 247 | |
| 168 | ¨ | Umlaut (dieresis) | ¨ | A8h | 10101000 | 250 | |
| 169 | © | Copyright | © | A9h | 10101001 | 251 | |
| 170 | ª | Feminine ordinal | ª | AAh | 10101010 | 252 | |
| 171 | « | Left angle quote, guillemotleft | « | ABh | 10101011 | 253 | |
| 172 | ¬ | Not sign | ¬ | ACh | 10101100 | 254 | |
| 173 | | Soft hyphen | ­ | ADh | 10101101 | 255 | |
| 174 | ® | Registered trademark | ® | AEh | 10101110 | 256 | |
| 175 | ¯ | Macron accent | ¯ | AFh | 10101111 | 257 | |
| 176 | ° | Degree sign | ° | B0h | 10110000 | 260 | |
| 177 | ± | Plus or minus | ± | B1h | 10110001 | 261 | |
| 178 | ² | Superscript two | ² | B2h | 10110010 | 262 | |
| 179 | ³ | Superscript three | ³ | B3h | 10110011 | 263 | |
| 180 | ´ | Acute accent | ´ | B4h | 10110100 | 264 | |
| 181 | µ | Micro sign | µ | B5h | 10110101 | 265 | |
| 182 | ¶ | Paragraph sign | ¶ | B6h | 10110110 | 266 | |
| 183 | · | Middle dot | · | B7h | 10110111 | 267 | |
| 184 | ¸ | Cedilla | ¸ | B8h | 10111000 | 270 | |
| 185 | ¹ | Superscript one | ¹ | B9h | 10111001 | 271 | |
| 186 | º | Masculine ordinal | º | BAh | 10111010 | 272 | |
| 187 | » | Right angle quote, guillemotright | » | BBh | 10111011 | 273 | |
| 188 | ¼ | Fraction one-fourth | ¼ | BCh | 10111100 | 274 | |
| 189 | ½ | Fraction one-half | ½ | BDh | 10111101 | 275 | |
| 190 | ¾ | Fraction three-fourths | ¾ | BEh | 10111110 | 276 | |
| 191 | ¿ | Inverted question mark | ¿ | BFh | 10111111 | 277 | |
| 192 | À | Capital A, grave accent | À | C0h | 11000000 | 300 | |
| 193 | Á | Capital A, acute accent | Á | C1h | 11000001 | 301 | |
| 194 | Â | Capital A, circumflex accent | Â | C2h | 11000010 | 302 | |
| 195 | Ã | Capital A, tilde | Ã | C3h | 11000011 | 303 | |
| 196 | Ä | Capital A, dieresis or umlaut mark | Ä | C4h | 11000100 | 304 | |
| 197 | Å | Capital A, ring | Å | C5h | 11000101 | 305 | |
| 198 | Æ | Capital AE dipthong (ligature) | Æ | C6h | 11000110 | 306 | |
| 199 | Ç | Capital C, cedilla | Ç | C7h | 11000111 | 307 | |
| 200 | È | Capital E, grave accent | È | C8h | 11001000 | 310 | |
| 201 | É | Capital E, acute accent | É | C9h | 11001001 | 311 | |
| 202 | Ê | Capital E, circumflex accent | Ê | CAh | 11001010 | 312 | |
| 203 | Ë | Capital E, dieresis or umlaut mark | Ë | CBh | 11001011 | 313 | |
| 204 | Ì | Capital I, grave accent | Ì | CCh | 11001100 | 314 | |
| 205 | Í | Capital I, acute accent | Í | CDh | 11001101 | 315 | |
| 206 | Î | Capital I, circumflex accent | Î | CEh | 11001110 | 316 | |
| 207 | Ï | Capital I, dieresis or umlaut mark | Ï | CFh | 11001111 | 317 | |
| 208 | Ð | Capital Eth, Icelandic | Ð | D0h | 11010000 | 320 | |
| 209 | Ñ | Capital N, tilde | Ñ | D1h | 11010001 | 321 | |
| 210 | Ò | Capital O, grave accent | Ò | ||||