ASCII Table
ASCII stands for American Standard Code for Information Interchange. Below is the ASCII table with hex, decimal, octal, binary, html values and the description of every ASCII character.
Hex | Decimal | Octal | Binary | HTML | ASCII Char | Description |
---|---|---|---|---|---|---|
00 | 0 | 000 | 00000000 | � | NUL | Null |
01 | 1 | 001 | 00000001 |  | SOH | Start of Header |
02 | 2 | 002 | 00000010 |  | STX | Start of Text |
03 | 3 | 003 | 00000011 |  | ETX | End of Text |
04 | 4 | 004 | 00000100 |  | EOT | End of Transmission |
05 | 5 | 005 | 00000101 |  | ENQ | Enquiry |
06 | 6 | 006 | 00000110 |  | ACK | Acknowledge |
07 | 7 | 007 | 00000111 |  | BEL | Bell |
08 | 8 | 010 | 00001000 |  | BS | Backspace |
09 | 9 | 011 | 00001001 | 	 | TAB | Horizontal Tab |
0A | 10 | 012 | 00001010 | | LF | Line Feed |
0B | 11 | 013 | 00001011 |  | VT | Vertical Tab |
0C | 12 | 014 | 00001100 |  | FF | Form Feed |
0D | 13 | 015 | 00001101 | | CR | Carriage Return |
0E | 14 | 016 | 00001110 |  | SO | Shift Out |
0F | 15 | 017 | 00001111 |  | SI | Shift In |
10 | 16 | 020 | 00010000 |  | DLE | Data Link Escape |
11 | 17 | 021 | 00010001 |  | DC1 | Device Control 1 |
12 | 18 | 022 | 00010010 |  | DC2 | Device Control 2 |
13 | 19 | 023 | 00010011 |  | DC3 | Device Control 3 |
14 | 20 | 024 | 00010100 |  | DC4 | Device Control 4 |
15 | 21 | 025 | 00010101 |  | NAK | Negative Acknowledge |
16 | 22 | 026 | 00010110 |  | SYN | Synchronous Idle |
17 | 23 | 027 | 00010111 |  | ETB | End of Transmission Block |
18 | 24 | 030 | 00011000 |  | CAN | Cancel |
19 | 25 | 031 | 00011001 |  | EM | End of Medium |
1A | 26 | 032 | 00011010 |  | SUB | Substitute |
1B | 27 | 033 | 00011011 |  | ESC | Escape |
1C | 28 | 034 | 00011100 |  | FS | File Separator |
1D | 29 | 035 | 00011101 |  | GS | Group Separator |
1E | 30 | 036 | 00011110 |  | RS | Record Separator |
1F | 31 | 037 | 00011111 |  | US | Unit Separator |
20 | 32 | 040 | 00100000 |   | space | Space |
21 | 33 | 041 | 00100001 | ! | ! | Exclamation mark |
22 | 34 | 042 | 00100010 | " | " | Double quote |
23 | 35 | 043 | 00100011 | # | # | Number sign |
24 | 36 | 044 | 00100100 | $ | $ | Dollar sign |
25 | 37 | 045 | 00100101 | % | % | Percent sign |
26 | 38 | 046 | 00100110 | & | & | Ampersand |
27 | 39 | 047 | 00100111 | ' | ' | Apostrophe |
28 | 40 | 050 | 00101000 | ( | ( | Left parenthesis |
29 | 41 | 051 | 00101001 | ) | ) | Right parenthesis |
2A | 42 | 052 | 00101010 | * | * | Asterisk |
2B | 43 | 053 | 00101011 | + | + | Plus sign |
2C | 44 | 054 | 00101100 | , | , | Comma |
2D | 45 | 055 | 00101101 | - | - | Hyphen |
2E | 46 | 056 | 00101110 | . | . | Period |
2F | 47 | 057 | 00101111 | / | / | Slash |
30 | 48 | 060 | 00110000 | 0 | 0 | Zero |
31 | 49 | 061 | 00110001 | 1 | 1 | One |
32 | 50 | 062 | 00110010 | 2 | 2 | Two |
33 | 51 | 063 | 00110011 | 3 | 3 | Three |
34 | 52 | 064 | 00110100 | 4 | 4 | Four |
35 | 53 | 065 | 00110101 | 5 | 5 | Five |
36 | 54 | 066 | 00110110 | 6 | 6 | Six |
37 | 55 | 067 | 00110111 | 7 | 7 | Seven |
38 | 56 | 070 | 00111000 | 8 | 8 | Eight |
39 | 57 | 071 | 00111001 | 9 | 9 | Nine |
3A | 58 | 072 | 00111010 | : | : | Colon |
3B | 59 | 073 | 00111011 | ; | ; | Semicolon |
3C | 60 | 074 | 00111100 | < | < | Less-than sign |
3D | 61 | 075 | 00111101 | = | = | Equals sign |
3E | 62 | 076 | 00111110 | > | > | Greater-than sign |
3F | 63 | 077 | 00111111 | ? | ? | Question mark |
40 | 64 | 100 | 01000000 | @ | @ | At sign |
41 | 65 | 101 | 01000001 | A | A | Uppercase A |
42 | 66 | 102 | 01000010 | B | B | Uppercase B |
43 | 67 | 103 | 01000011 | C | C | Uppercase C |
44 | 68 | 104 | 01000100 | D | D | Uppercase D |
45 | 69 | 105 | 01000101 | E | E | Uppercase E |
46 | 70 | 106 | 01000110 | F | F | Uppercase F |
47 | 71 | 107 | 01000111 | G | G | Uppercase G |
48 | 72 | 110 | 01001000 | H | H | Uppercase H |
49 | 73 | 111 | 01001001 | I | I | Uppercase I |
4A | 74 | 112 | 01001010 | J | J | Uppercase J |
4B | 75 | 113 | 01001011 | K | K | Uppercase K |
4C | 76 | 114 | 01001100 | L | L | Uppercase L |
4D | 77 | 115 | 01001101 | M | M | Uppercase M |
4E | 78 | 116 | 01001110 | N | N | Uppercase N |
4F | 79 | 117 | 01001111 | O | O | Uppercase O |
50 | 80 | 120 | 01010000 | P | P | Uppercase P |
51 | 81 | 121 | 01010001 | Q | Q | Uppercase Q |
52 | 82 | 122 | 01010010 | R | R | Uppercase R |
53 | 83 | 123 | 01010011 | S | S | Uppercase S |
54 | 84 | 124 | 01010100 | T | T | Uppercase T |
55 | 85 | 125 | 01010101 | U | U | Uppercase U |
56 | 86 | 126 | 01010110 | V | V | Uppercase V |
57 | 87 | 127 | 01010111 | W | W | Uppercase W |
58 | 88 | 130 | 01011000 | X | X | Uppercase X |
59 | 89 | 131 | 01011001 | Y | Y | Uppercase Y |
5A | 90 | 132 | 01011010 | Z | Z | Uppercase Z |
5B | 91 | 133 | 01011011 | [ | [ | Left square bracket |
5C | 92 | 134 | 01011100 | \ | \ | Backslash |
5D | 93 | 135 | 01011101 | ] | ] | Right square bracket |
5E | 94 | 136 | 01011110 | ^ | ^ | Caret |
5F | 95 | 137 | 01011111 | _ | _ | Underscore |
60 | 96 | 140 | 01100000 | ` | ` | Grave accent |
61 | 97 | 141 | 01100001 | a | a | Lowercase a |
62 | 98 | 142 | 01100010 | b | b | Lowercase b |
63 | 99 | 143 | 01100011 | c | c | Lowercase c |
64 | 100 | 144 | 01100100 | d | d | Lowercase d |
65 | 101 | 145 | 01100101 | e | e | Lowercase e |
66 | 102 | 146 | 01100110 | f | f | Lowercase f |
67 | 103 | 147 | 01100111 | g | g | Lowercase g |
68 | 104 | 150 | 01101000 | h | h | Lowercase h |
69 | 105 | 151 | 01101001 | i | i | Lowercase i |
6A | 106 | 152 | 01101010 | j | j | Lowercase j |
6B | 107 | 153 | 01101011 | k | k | Lowercase k |
6C | 108 | 154 | 01101100 | l | l | Lowercase l |
6D | 109 | 155 | 01101101 | m | m | Lowercase m |
6E | 110 | 156 | 01101110 | n | n | Lowercase n |
6F | 111 | 157 | 01101111 | o | o | Lowercase o |
70 | 112 | 160 | 01110000 | p | p | Lowercase p |
71 | 113 | 161 | 01110001 | q | q | Lowercase q |
72 | 114 | 162 | 01110010 | r | r | Lowercase r |
73 | 115 | 163 | 01110011 | s | s | Lowercase s |
74 | 116 | 164 | 01110100 | t | t | Lowercase t |
75 | 117 | 165 | 01110101 | u | u | Lowercase u |
76 | 118 | 166 | 01110110 | v | v | Lowercase v |
77 | 119 | 167 | 01110111 | w | w | Lowercase w |
78 | 120 | 170 | 01111000 | x | x | Lowercase x |
79 | 121 | 171 | 01111001 | y | y | Lowercase y |
7A | 122 | 172 | 01111010 | z | z | Lowercase z |
7B | 123 | 173 | 01111011 | { | { | Left curly brace |
7C | 124 | 174 | 01111100 | | | | | Vertical bar |
7D | 125 | 175 | 01111101 | } | } | Right curly brace |
7E | 126 | 176 | 01111110 | ~ | ~ | Tilde |
7F | 127 | 177 | 01111111 |  | DEL | Delete |
What is ASCII table
The ASCII table (American Standard Code for Information Interchange) is a standardized character encoding system that assigns numeric values (0–127) to characters, symbols, and control commands used in computers and communication devices.
How many characters are defined in the ASCII table?
The original ASCII table defines 128 characters:
0 to 31 : Control characters (e.g. new line, tab etc.)
32 to 126 : Printable characters (letters, numbers, punctuation marks etc.)
127 : DEL (delete)
What are ASCII codes used for?
ASCII encoding was created to standardize character encoding across telecommunication systems, typewriters and early computers.
Therefore, ASCII codes are basically used to represent:
Letters (A-Z, a-z)
Digits (0-9)
Symbols (@, #, $, %, /, !, ), =, etc.)
Control commands (carriage return "\r", tab "\t", etc.)
What are ASCII codes for space, tab, carriage return, enter and backspace?
Space ASCII Hex Code: 0x20, ASCII Decimal Code: 32
Tab "\t" ASCII Hex Code: 0x09, ASCII Decimal Code: 9
Enter (Line Feed/New Line "\n") ASCII Hex Code: 0x0A, ASCII Decimal Code: 10
Carriage Return "\r" ASCII Hex Code: 0x0D, ASCII Decimal Code: 13
Backspace "\b" ASCII Hex Code: 0x08, ASCII Decimal Code: 8
What is the ASCII value of the character '@' (at-sign)?
@ : ASCII hex code = 40, ASCII decimal code = 64
What is the ASCII code of '#'?
# : ASCII hex code = 23, ASCII decimal code = 35
What is the ASCII code of '$'?
$ : ASCII hex code = 24, ASCII decimal code = 36
Are ASCII codes case sensitive?
Yes, ASCII values differ for uppercase and lowercase letters, 'Z' = 90 (decimal) or 0x5A (hex), while lowercase letter 'z' has ASCII code = 122 (decimal) or 0x7A (hex)
How many bits are used to represent ASCII chars?
Standard ASCII used 7 bits and 27 = 128. First 128 characters are part of the standard ASCII and after that we can represents "Extended ASCII characters" using 8-bits. Extended ASCII includes other character encodings e.g. UTF-8, Windows-1250, Windows-1252 etc.
What is the significance of ASCII code 0?
'0' = NULL character and it is historically used to terminate strings in programming languages (e.g. C Langauge).
Does ASCII supports non-English languages?
No, ASCII only supports English language letters.
What is the ASCII value for tilde '~'?
~ : ASCII hex code: 0x7E, ASCII decimal code: 126
What is the ASCII Bell character?
BEL is the ASCII character that is used to made computers beep. ASCII hex code: 0x07, ASCII decimal code: 7
What are the ASCII codes for Start of Heading, Start of Text and End of Text?
Start of Heading (SOH) ASCII hex value: 0x01, ASCII decimal value: 1
Start of Text (STX) ASCII hex value: 0x02, ASCII decimal value: 2
End of Text (ETX) ASCII hex value: 0x03, ASCII decimal value: 3
Related Conversions
Please find the related numeric conversions.
- ASCII Text to Binary
- ASCII Text to Decimal
- ASCII Text to Hex
- Binary to ASCII Text
- Binary to Decimal
- Binary to Hex
- Binary to Octal
- Decimal to Binary
- Decimal to Hex
- Decimal to Octal
- Hex to ASCII Text
- Hex to Binary
- Hex to Decimal
- Hex to Octal
- Octal to Binary
- Octal to Decimal
- Octal to Hex