ASCII Chart
The ASCII Chart is a reference that shows the ASCII character set and the decimal and hexadecimal numbers associated with each character.
Control Characters
The first 32 characters (0—31 decimal) in the ASCII chart are control characters. These characters are not printable and are used to control devices such as printers. Also, introduced later on, is the DEL character (127 decimal) which is used to delete a character.
Decimal | Hexadecimal | Character |
---|---|---|
0 | 00 | NUL (null) |
1 | 01 | SOH (start of heading) |
2 | 02 | STX (start of text) |
3 | 03 | ETX (end of text) |
4 | 04 | EOT (end of transmission) |
5 | 05 | ENQ (enquiry) |
6 | 06 | ACK (acknowledge) |
7 | 07 | BEL (bell) |
8 | 08 | BS (backspace) |
9 | 09 | HT (horizontal tab) |
10 | 0A | LF (line feed) |
11 | 0B | VT (vertical tab) |
12 | 0C | FF (form feed) |
13 | 0D | CR (carriage return) |
14 | 0E | SO (shift out) |
15 | 0F | SI (shift in) |
16 | 10 | DLE (data link escape) |
17 | 11 | DC1 (device control 1) |
18 | 12 | DC2 (device control 2) |
19 | 13 | DC3 (device control 3) |
20 | 14 | DC4 (device control 4) |
21 | 15 | NAK (negative acknowledge) |
22 | 16 | SYN (synchronous idle) |
23 | 17 | ETB (end of transmission block) |
24 | 18 | CAN (cancel) |
25 | 19 | EM (end of medium) |
26 | 1A | SUB (substitute) |
27 | 1B | ESC (escape) |
28 | 1C | FS (file separator) |
29 | 1D | GS (group separator) |
30 | 1E | RS (record separator) |
31 | 1F | US (unit separator) |
127 | 7F | DEL (delete) |
Printable Characters
The next 95 characters (32—126 decimal) in the ASCII chart are printable characters. These characters are the standard English alphabet (A—Z, a—z), numbers (0—9), punctuation marks, and symbols such as the dollar sign ($), ampersand (&), asterisk (*) and the space character which denotes the space between words.
Decimal | Hexadecimal | Character | Decimal | Hexadecimal | Character | Decimal | Hexadecimal | Character |
---|---|---|---|---|---|---|---|---|
32 | 20 | (space) | 64 | 40 | @ | 96 | 60 | ` |
33 | 21 | ! | 65 | 41 | A | 97 | 61 | a |
34 | 22 | " | 66 | 42 | B | 98 | 62 | b |
35 | 23 | # | 67 | 43 | C | 99 | 63 | c |
36 | 24 | $ | 68 | 44 | D | 100 | 64 | d |
37 | 25 | % | 69 | 45 | E | 101 | 65 | e |
38 | 26 | & | 70 | 46 | F | 102 | 66 | f |
39 | 27 | ' | 71 | 47 | G | 103 | 67 | g |
40 | 28 | ( | 72 | 48 | H | 104 | 68 | h |
41 | 29 | ) | 73 | 49 | I | 105 | 69 | i |
42 | 2A | * | 74 | 4A | J | 106 | 6A | j |
43 | 2B | + | 75 | 4B | K | 107 | 6B | k |
44 | 2C | , | 76 | 4C | L | 108 | 6C | l |
45 | 2D | - | 77 | 4D | M | 109 | 6D | m |
46 | 2E | . | 78 | 4E | N | 110 | 6E | n |
47 | 2F | / | 79 | 4F | O | 111 | 6F | o |
48 | 30 | 0 | 80 | 50 | P | 112 | 70 | p |
49 | 31 | 1 | 81 | 51 | Q | 113 | 71 | q |
50 | 32 | 2 | 82 | 52 | R | 114 | 72 | r |
51 | 33 | 3 | 83 | 53 | S | 115 | 73 | s |
52 | 34 | 4 | 84 | 54 | T | 116 | 74 | t |
53 | 35 | 5 | 85 | 55 | U | 117 | 75 | u |
54 | 36 | 6 | 86 | 56 | V | 118 | 76 | v |
55 | 37 | 7 | 87 | 57 | W | 119 | 77 | w |
56 | 38 | 8 | 88 | 58 | X | 120 | 78 | x |
57 | 39 | 9 | 89 | 59 | Y | 121 | 79 | y |
58 | 3A | : | 90 | 5A | Z | 122 | 7A | z |
59 | 3B | ; | 91 | 5B | [ | 123 | 7B | { |
60 | 3C | < | 92 | 5C | \ | 124 | 7C | | |
61 | 3D | = | 93 | 5D | ] | 125 | 7D | } |
62 | 3E | > | 94 | 5E | ^ | 126 | 7E | ~ |
63 | 3F | ? | 95 | 5F | _ |