The ASCII code is pre­dom­in­antly used to represent char­ac­ters correctly on elec­tron­ic devices. Find out which char­ac­ters cor­res­pond to which binary, decimal, or hexa­decim­al number in the ASCII table.

Overview of ASCII tables

Because of the large number of char­ac­ters that can be rep­res­en­ted by ASCII code, it’s a good idea to consult a chart with the char­ac­ters that can be rep­res­en­ted by ASCII and the binary, decimal, and hexa­decim­al numbers rep­res­ent­ing these char­ac­ters. The first two number systems are commonly used by humans and machines, re­spect­ively. The hexa­decim­al system, on the other hand, has the advantage of con­tain­ing 16 char­ac­ters (0-9 + A-F) and can represent larger numbers in fewer digits compared to the other systems. Thus a byte can be rep­res­en­ted with a maximum of two digits.

Tip

Want to learn more about character encoding with ASCII? Check out our article on ASCII code for more in­form­a­tion!

For the sake of clarity, we’ll split control char­ac­ters, that is char­ac­ters which are not printed by the computer but represent commands such as a line break, and the printable char­ac­ters into two separate tables.

ASCII table: control char­ac­ters

Bin. Hex. Dec. ASCII Symbol Ex­plan­a­tion
0000000 0 0 NUL The null character prompts the device to do nothing
0000001 1 1 SOH Initiates a header (Start of Heading)
0000010 2 2 STX Ends the header and marks the beginning of a message. (Start of text)
0000011 3 3 ETX Indicates the end of the message (End of text)
0000100 4 4 EOT Marks the end of a completes trans­mis­sion (End of trans­mis­sion)
0000101 5 5 ENQ A request that requires a response (Enquiry)
0000110 6 6 ACK Gives a positive answer to the request (Ac­know­ledge)
0000111 7 7 BEL Triggers a beep (Bell)
0001000 8 8 BS Lets the cursor move back one step (Backspace)
0001001 9 9 TAB (HT) A ho­ri­zont­al tab that moves the cursor within a row to the next pre­defined position (Ho­ri­zont­al tab)
0001010 A 10 LF Causes the cursor to jump to the next line (Line feed)
0001011 B 11 VT The vertical tab lets the cursor jump to a pre­defined line (Vertical tab)
0001100 C 12 FF Requests a page break (Form Feed)
0001101 D 13 CR Moves the cursor back to the first position of the line (Carriage Return)
0001110 E 14 SO Switches to a special present­a­tion (Shift Out)
0001111 F 15 SI Switches the display back to the normal state (Shift In)
0010000 10 16 DLE Changes the meaning of the following char­ac­ters (Data Link Escape)
0010001 11 17 DC1 Control char­ac­ters assigned depending on the device used (Device Control)
0010010 12 18 DC2 Control char­ac­ters assigned depending on the device used (Device Control)
0010011 13 19 DC3 Control char­ac­ters assigned depending on the device used (Device Control)
0010100 14 20 DC4 Control char­ac­ters assigned depending on the device used (Device Control)
0010101 15 21 NAK Negative response to a request (Negative Ac­know­ledge)
0010110 16 22 SYN Syn­chron­ises a data transfer, even if no signals are trans­mit­ted (Syn­chron­ous Idle)
0010111 17 23 ETB Marks the end of a trans­mis­sion block (End of Trans­mis­sion Block)
0011000 18 24 CAN Makes it clear that a trans­mis­sion was faulty and the data must be discarded (Cancel)
0011001 19 25 EM Indicates the end of the storage medium (End of Medium)
0011010 1A 26 SUB Re­place­ment for a faulty sign (Sub­sti­tute)
0011011 1B 27 ESC Initiates an escape sequence and thus gives the following char­ac­ters a special meaning (Escape)
0011100 1C 28 FS File Separator: marks the sep­ar­a­tion of logical data blocks (Hierarchy: file > group > record > unit)
0011101 1D 29 GS Group Separator: marks the sep­ar­a­tion of logical data blocks (Hierarchy: file > group > record > unit)
0011110 1E 30 RS Record Separator: marks the sep­ar­a­tion of logical data blocks (Hierarchy: file > group > record > unit)
0011111 1F 31 US Unit Separator: marks the sep­ar­a­tion of logical data blocks (Hierarchy: file > group > record > unit)
1111111 7F 127 DEL Deletes a character. Since this control character consists of the same number on all positions, during the type­writer era it was possible to in­val­id­ate another character by punching out all the positions (Delete)

ASCII table: printable char­ac­ters

Printable char­ac­ters include letters and numbers but also special char­ac­ters.

Bin. Hex. Dec. ASCII Symbol Ex­plan­a­tion
0100000 20 32 SP Blank space (Space)
0100001 21 33 ! Ex­clam­a­tion mark
0100010 22 34 " Only quotes above
0100011 23 35 # Pound sign
0100100 24 36 $ Dollar sign
0100101 25 37 % Per­cent­age sign
0100110 26 38 & Ampersand
0100111 27 39 ' Apo­strophe
0101000 28 40 ( Left bracket
0101001 29 41 ) Right bracket
0101010 2A 42 * Asterisk
0101011 2B 43 + Plus symbol
0101100 2C 44 , Comma
0101101 2D 45 - Dash
0101110 2E 46 . Full stop
0101111 2F 47 / Forward slash
0110000 30 48 0  
0110001 31 49 1  
0110010 32 50 2  
0110011 33 51 3  
0110100 34 52 4  
0110101 35 53 5  
0110110 36 54 6  
0110111 37 55 7  
0111000 38 56 8  
0111001 39 57 9  
0111010 3A 58 : Colon
0111011 3B 59 ; Semicolon
0111100 3C 60 < Small than bracket
0111101 3D 61 = Equals sign
0111110 3E 62 > Bigger than symbol
0111111 3F 63 ? Question mark
1000000 40 64 @ At symbol
1000001 41 65 A  
1000010 42 66 B  
1000011 43 67 C  
1000100 44 68 D  
1000101 45 69 E  
1000110 46 70 F  
1000111 47 71 G  
1001000 48 72 H  
1001001 49 73 I  
1001010 4A 74 J  
1001011 4B 75 K  
1001100 4C 76 L  
1001101 4D 77 M  
1001110 4E 78 N  
1001111 4F 79 O  
1010000 50 80 P  
1010001 51 81 Q  
1010010 52 82 R  
1010011 53 83 S  
1010100 54 84 T  
1010101 55 85 U  
1010110 56 86 V  
1010111 57 87 W  
1011000 58 88 X  
1011001 59 89 Y  
1011010 5A 90 Z  
1011011 5B 91 [ Left square bracket
1011100 5C 92 \ Inverse/backward slash
1011101 5D 93 ] Right square bracket
1011110 5E 94 ^ Cir­cum­flex
1011111 5F 95 _ Un­der­score
1100000 60 96 ` Gravis (backtick)
1100001 61 97 a  
1100010 62 98 b  
1100011 63 99 c  
1100100 64 100 d  
1100101 65 101 e  
1100110 66 102 f  
1100111 67 103 g  
1101000 68 104 h  
1101001 69 105 i  
1101010 6A 106 j  
1101011 6B 107 k  
1101100 6C 108 l  
1101101 6D 109 m  
1101110 6E 110 n  
1101111 6F 111 o  
1110000 70 112 p  
1110001 71 113 q  
1110010 72 114 r  
1110011 73 115 s  
1110100 74 116 t  
1110101 75 117 u  
1110110 76 118 v  
1110111 77 119 w  
1111000 78 120 x  
1111001 79 121 y  
1111010 7A 122 z  
1111011 7B 123 { Left curly bracket
1111100 7C 124 | Vertical line
1111101 7D 125 } Right curly bracket
1111110 7E 126 ~ Tilde

ASCII table: extended version

Extended ASCII versions use an eighth bit, which is assigned dif­fer­ently from program to program. In most cases, the ad­di­tion­al digit is used to ac­com­mod­ate country-specific pe­cu­li­ar­it­ies. The first 128 char­ac­ters are always the same.

Below is an example of the ASCII extension Windows-1252 developed for the Windows operating system.

Fact

Besides ASCII, UTF-8 encoding is just as sig­ni­fic­ant and near congruent.

Bin. Hex. Dec. ASCII Symbol Ex­plan­a­tion Group
10000000 80 128 € Euro sign Special character
10000001 81 129 Empty
10000010 82 130 ‚ Single lower quotation mark Special character
10000011 83 131 ƒ Letter f from Latin Special character
10000100 84 132 „ Double lower quotation mark Special character
10000101 85 133 … Ho­ri­zont­al skip points Special character
10000110 86 134 † Dagger Special character
10000111 87 135 ‡ Double cross Special character
10001000 88 136 ˆ Cir­cum­flex accent Special character
10001001 89 137 ‰ Per mille sign Special character
10001010 8A 138 Š Capital letter
10001011 8B 139 ‹ Single left-pointing angle quotation Capital letter
10001100 8C 140 Œ Capital letter
10001101 8D 141 Empty
10001110 8E 142 Ž Capital letter
10001111 8F 143 Empty
10010000 90 144 Empty
10010001 91 145 ‘ Left single quotation mark Special character
10010010 92 146 ’ Right single quotation mark Special character
10010011 93 147 “ Left double quotation mark Special character
10010100 94 148 ” Right double quotation mark Special character
10010101 95 149 • Bullet Special character
10010110 96 150 – En dash Special character
10010111 97 151 — Em dash Special character
10011000 98 152 ˜ Small tilde Special character
10011001 99 153 ™ Trademark sign Special character
10011010 9A 154 š Lower case letter
10011011 9B 155 › Single right-pointing angle quotation Lower case letter
10011100 9C 156 Œ Capital letter
10011101 9D 157 Empty
10011110 9E 158 ž Lower case letter
10011111 9F 159 Ÿ Capital letter
10100000 A0 160 Empty
10100001 A1 161 ¡ Inverted ex­clam­a­tion mark Special character
10100010 A2 162 ¢ Cent sign Special character
10100011 A3 163 £ Pound sign Special character
10100100 A4 164 ¤ Currency sign Special character
10100101 A5 165 ¥ Yen sign Special character
10100110 A6 166 ¦ Broken pipe Special character
10100111 A7 167 § Paragraph Special character
10101000 A8 168 ¨ Umlaut Special character
10101001 A9 169 © Copyright sign Special character
10101010 AA 170 ª Ordinal character Special character
10101011 AB 171 « Left-pointing double angle quotation marks Special character
10101100 AC 172 ¬ Not sign Special character
10101101 AD 173 ­ Soft hyphen (optional hyphen) Special character
10101110 AE 174 ® Re­gistered trademark sign Special character
10101111 AF 175 ¯ Macron Special character
10110000 B0 176 ° Degree Special character
10110001 B1 177 ± Plus minus Special character
10110010 B2 178 ² Su­per­script 2 (square character) Special character
10110011 B3 179 ³ Su­per­script 3 (cubic sign) Special character
10110100 B4 180 ´ Acute accent Special character
10110101 B5 181 µ Micro sign Special character
10110110 B6 182 Paragraph sign Special character
10110111 B7 183 · Centre point Special character
10111000 B8 184 ¸ Cedille Special character
10111001 B9 185 ¹ Su­per­script 1 Special character
10111010 BA 186 º Male ordinal indicator Special character
10111011 BB 187 » Right-pointing double angle quotation marks Special character
10111100 BC 188 ¼ Fraction one quarter Special character
10111101 BD 189 ½ Fraction one half Special character
10111110 BE 190 ¾ Fraction three quarters Special character
10111111 BF 191 ¿ Inverted question mark Special character
11000000 C0 192 À Capital letter
11000001 C1 193 Á Capital letter
11000010 C2 194 Â Capital letter
11000011 C3 195 Ã Capital letter
11000100 C4 196 Ä Capital letter
11000101 C5 197 Å Capital letter
11000110 C6 198 Æ Capital letter
11000111 C7 199 Ç Capital letter
11001000 C8 200 È Capital letter
11001001 C9 201 É Capital letter
11001010 CA 202 Ê Capital letter
11001011 CB 203 Ë Capital letter
11001100 CC 204 Ì Capital letter
11001101 CD 205 Í Capital letter
11001110 CE 206 Î Capital letter
11001111 CF 207 Ï Capital letter
11010000 D0 208 Ð Capital letter
11010001 D1 209 Ñ Capital letter
11010010 D2 210 Ò Capital letter
11010011 D3 211 Ó Capital letter
11010100 D4 212 Ô Capital letter
11010101 D5 213 Õ Capital letter
11010110 D6 214 Ö Capital letter
11010111 D7 215 × Mul­ti­plic­a­tion symbol Capital letter
11011000 D8 216 Ø Capital letter
11011001 D9 217 Ù Capital letter
11011010 DA 218 Ú Capital letter
11011011 DB 219 Û Capital letter
11011100 DC 220 Ü Capital letter
11011101 DD 221 Ý Capital letter
11011110 DE 222 Þ Capital letter
11011111 DF 223 ß Lower case letter
11100000 E0 224 à Lower case letter
11100001 E1 225 á Lower case letter
11100010 E2 226 â Lower case letter
11100011 E3 227 ã Lower case letter
11100100 E4 228 ä Lower case letter
11100101 E5 229 å Lower case letter
11100110 E6 230 æ Lower case letter
11100111 E7 231 ç Lower case letter
11101000 E8 232 è Lower case letter
11101001 E9 233 é Lower case letter
11101010 EA 234 ê Lower case letter
11101011 EB 235 ë Lower case letter
11101100 EC 236 ì Lower case letter
11101101 ED 237 í Lower case letter
11101110 EE 238 î Lower case letter
11101111 EF 239 ï Lower case letter
11110000 F0 240 ð Lower case letter
11110001 F1 241 ñ Lower case letter
11110010 F2 242 ò Lower case letter
11110011 F3 243 ó Lower case letter
11110100 F4 244 ô Lower case letter
11110101 F5 245 õ Lower case letter
11110110 F6 246 ö Lower case letter
11110111 F7 247 ÷ Division symbol Special character
11111000 F8 248 ø Lower case letter
11111001 F9 249 ù Lower case letter
11111010 FA 250 ú Lower case letter
11111011 FB 251 û Lower case letter
11111100 FC 252 ü Lower case letter
11111101 FD 253 ý Lower case letter
11111110 FE 254 þ Lower case letter
11111111 FF 255 ÿ Lower case letter

Example: Convert ASCII char­ac­ters

In ASCII, the system converts binary numbers into printable and non-printable char­ac­ters according to a specified standard, as listed in the table above. Users can also perform these com­pu­ta­tion­al processes without any aids. All you have to do is un­der­stand how to calculate in binary or hexa­decim­al. In a number system, each digit cor­res­ponds to the power on a par­tic­u­lar basis: in the decimal system, the base is 10. The bases are 2 and 16 for binary and hexa­decim­al systems, re­spect­ively. Multiply the value of the digit by the value of the digit.

Digit values in the decimal system:

Decimal system
100 101 102 103 …
1 10 100 1000 …

Therefore:

Image: Presentation of 7304 in decimal system
Present­a­tion of 7304 in decimal system.

This also works ana­log­ously in the other two systems:

Binary system
20 21 22 23 …
1 2 4 8 …

However, there are only two digits, so:

Image: Presentation of decimal number 11 in binary system
Present­a­tion of decimal number 11 in binary system.
Hexa­decim­al system
160 161 162 163 …
1 16 256 4096 …

There are 16 char­ac­ters, therefore:

Image: Presentation of decimal number 61865 in hexadecimal system
Present­a­tion of decimal number 61865 in hexa­decim­al system.

With this in­form­a­tion and the ASCII chart, ASCII strings can be converted into any number system. See this example, using the term ‘digital’:

‘d’ cor­res­ponds to the decimal value of 68 in the ASCII table, therefore:

Image: Binary and hexadecimal presentation of ‘D’
Binary and hexa­decim­al present­a­tion of ‘D’.

‘i’ cor­res­ponds to the decimal value of 105, therefore:

Image: Binary and hexadecimal presentation of ‘I’
Binary and hexa­decim­al present­a­tion of ‘I’.

‘g’ cor­res­ponds to the decimal value 103, therefore:

Image: Binary and hexadecimal presentation of ‘g’
Binary and hexa­decim­al present­a­tion of ‘g’.

‘i’ cor­res­ponds to the decimal value 105, therefore:

Image: Binary and hexadecimal presentation of ‘I’
Binary and hexa­decim­al present­a­tion of ‘I’.

‘t’ cor­res­ponds to the decimal 1106, therefore:

Image: Binary and hexadecimal presentation of ‘t’
Binary and hexa­decim­al present­a­tion of ‘t’.

‘a’ cor­res­ponds to the decimal value 97, therefore:

Image: Binary and hexadecimal presentation of ‘a’
Binary and hexa­decim­al present­a­tion of ‘a’.

‘l’ cor­res­ponds to the decimal value 108, therefore:

Image: Binary and hexadecimal presentation of ‘l’
Binary and hexa­decim­al present­a­tion of ‘l’.

Ac­cord­ingly, the example word can be rep­res­en­ted as such:

Symbol D i g i t a l
Dec 68 105 103 105 116 97 108
Bin 1000100 1101001 1100111 1101001 1110100 1100001 1101100
Hex 44 69 67 69 74 61 6C

Reviewer

Go to Main Menu