Cheat Sheet · Free Reference
ASCII Table
Complete ASCII character reference with decimal, hexadecimal, octal values, and descriptions for all 128 characters.
Searchable, copyable, always up to date.
Control Characters (0-31)
Non-printable characters originally used to control hardware devices like printers and teleprinters. Many are still used in protocols and terminal emulation.
| Dec | Hex | Oct | Char | Description |
|---|---|---|---|---|
0 | 00 | 000 | NUL | Null |
1 | 01 | 001 | SOH | Start of Heading |
2 | 02 | 002 | STX | Start of Text |
3 | 03 | 003 | ETX | End of Text |
4 | 04 | 004 | EOT | End of Transmission |
5 | 05 | 005 | ENQ | Enquiry |
6 | 06 | 006 | ACK | Acknowledge |
7 | 07 | 007 | BEL | Bell |
8 | 08 | 010 | BS | Backspace |
9 | 09 | 011 | HT | Horizontal Tab |
10 | 0A | 012 | LF | Line Feed (Newline) |
11 | 0B | 013 | VT | Vertical Tab |
12 | 0C | 014 | FF | Form Feed |
13 | 0D | 015 | CR | Carriage Return |
14 | 0E | 016 | SO | Shift Out |
15 | 0F | 017 | SI | Shift In |
16 | 10 | 020 | DLE | Data Link Escape |
17 | 11 | 021 | DC1 | Device Control 1 (XON) |
18 | 12 | 022 | DC2 | Device Control 2 |
19 | 13 | 023 | DC3 | Device Control 3 (XOFF) |
20 | 14 | 024 | DC4 | Device Control 4 |
21 | 15 | 025 | NAK | Negative Acknowledge |
22 | 16 | 026 | SYN | Synchronous Idle |
23 | 17 | 027 | ETB | End of Transmission Block |
24 | 18 | 030 | CAN | Cancel |
25 | 19 | 031 | EM | End of Medium |
26 | 1A | 032 | SUB | Substitute |
27 | 1B | 033 | ESC | Escape |
28 | 1C | 034 | FS | File Separator |
29 | 1D | 035 | GS | Group Separator |
30 | 1E | 036 | RS | Record Separator |
31 | 1F | 037 | US | Unit Separator |
Printable Characters (32-126)
Visible characters including space, digits, uppercase and lowercase letters, punctuation, and symbols.
| Dec | Hex | Oct | Char | Description |
|---|---|---|---|---|
32 | 20 | 040 | | Space |
33 | 21 | 041 | ! | Exclamation Mark |
34 | 22 | 042 | " | Double Quote |
35 | 23 | 043 | # | Number Sign (Hash) |
36 | 24 | 044 | $ | Dollar Sign |
37 | 25 | 045 | % | Percent Sign |
38 | 26 | 046 | & | Ampersand |
39 | 27 | 047 | ' | Single Quote (Apostrophe) |
40 | 28 | 050 | ( | Left Parenthesis |
41 | 29 | 051 | ) | Right Parenthesis |
42 | 2A | 052 | * | Asterisk |
43 | 2B | 053 | + | Plus Sign |
44 | 2C | 054 | , | Comma |
45 | 2D | 055 | - | Hyphen (Minus) |
46 | 2E | 056 | . | Period (Full Stop) |
47 | 2F | 057 | / | Slash (Solidus) |
48 | 30 | 060 | 0 | Digit Zero |
49 | 31 | 061 | 1 | Digit One |
50 | 32 | 062 | 2 | Digit Two |
51 | 33 | 063 | 3 | Digit Three |
52 | 34 | 064 | 4 | Digit Four |
53 | 35 | 065 | 5 | Digit Five |
54 | 36 | 066 | 6 | Digit Six |
55 | 37 | 067 | 7 | Digit Seven |
56 | 38 | 070 | 8 | Digit Eight |
57 | 39 | 071 | 9 | Digit Nine |
58 | 3A | 072 | : | Colon |
59 | 3B | 073 | ; | Semicolon |
60 | 3C | 074 | < | Less-Than Sign |
61 | 3D | 075 | = | Equals Sign |
62 | 3E | 076 | > | Greater-Than Sign |
63 | 3F | 077 | ? | Question Mark |
64 | 40 | 100 | @ | At Sign |
65 | 41 | 101 | A | Uppercase A |
66 | 42 | 102 | B | Uppercase B |
67 | 43 | 103 | C | Uppercase C |
68 | 44 | 104 | D | Uppercase D |
69 | 45 | 105 | E | Uppercase E |
70 | 46 | 106 | F | Uppercase F |
71 | 47 | 107 | G | Uppercase G |
72 | 48 | 110 | H | Uppercase H |
73 | 49 | 111 | I | Uppercase I |
74 | 4A | 112 | J | Uppercase J |
75 | 4B | 113 | K | Uppercase K |
76 | 4C | 114 | L | Uppercase L |
77 | 4D | 115 | M | Uppercase M |
78 | 4E | 116 | N | Uppercase N |
79 | 4F | 117 | O | Uppercase O |
80 | 50 | 120 | P | Uppercase P |
81 | 51 | 121 | Q | Uppercase Q |
82 | 52 | 122 | R | Uppercase R |
83 | 53 | 123 | S | Uppercase S |
84 | 54 | 124 | T | Uppercase T |
85 | 55 | 125 | U | Uppercase U |
86 | 56 | 126 | V | Uppercase V |
87 | 57 | 127 | W | Uppercase W |
88 | 58 | 130 | X | Uppercase X |
89 | 59 | 131 | Y | Uppercase Y |
90 | 5A | 132 | Z | Uppercase Z |
91 | 5B | 133 | [ | Left Square Bracket |
92 | 5C | 134 | \ | Backslash |
93 | 5D | 135 | ] | Right Square Bracket |
94 | 5E | 136 | ^ | Caret (Circumflex) |
95 | 5F | 137 | _ | Underscore |
96 | 60 | 140 | ` | Grave Accent (Backtick) |
97 | 61 | 141 | a | Lowercase a |
98 | 62 | 142 | b | Lowercase b |
99 | 63 | 143 | c | Lowercase c |
100 | 64 | 144 | d | Lowercase d |
101 | 65 | 145 | e | Lowercase e |
102 | 66 | 146 | f | Lowercase f |
103 | 67 | 147 | g | Lowercase g |
104 | 68 | 150 | h | Lowercase h |
105 | 69 | 151 | i | Lowercase i |
106 | 6A | 152 | j | Lowercase j |
107 | 6B | 153 | k | Lowercase k |
108 | 6C | 154 | l | Lowercase l |
109 | 6D | 155 | m | Lowercase m |
110 | 6E | 156 | n | Lowercase n |
111 | 6F | 157 | o | Lowercase o |
112 | 70 | 160 | p | Lowercase p |
113 | 71 | 161 | q | Lowercase q |
114 | 72 | 162 | r | Lowercase r |
115 | 73 | 163 | s | Lowercase s |
116 | 74 | 164 | t | Lowercase t |
117 | 75 | 165 | u | Lowercase u |
118 | 76 | 166 | v | Lowercase v |
119 | 77 | 167 | w | Lowercase w |
120 | 78 | 170 | x | Lowercase x |
121 | 79 | 171 | y | Lowercase y |
122 | 7A | 172 | z | Lowercase z |
123 | 7B | 173 | { | Left Curly Bracket |
124 | 7C | 174 | | | Vertical Bar (Pipe) |
125 | 7D | 175 | } | Right Curly Bracket |
126 | 7E | 176 | ~ | Tilde |
Extended (127)
The DEL character, the last character in the standard 7-bit ASCII table.
| Dec | Hex | Oct | Char | Description |
|---|---|---|---|---|
127 | 7F | 177 | DEL | Delete |
Encode and decode text live
Use our free encoding tools to convert between ASCII, hex, Base64, and more.
Frequently Asked Questions
ASCII (American Standard Code for Information Interchange) is a character encoding standard that assigns numeric values to 128 characters. It was first published in 1963 and includes control characters (0-31), printable characters (32-126), and the DEL character (127). ASCII forms the foundation of virtually all modern character encodings, including UTF-8.
ASCII defines 128 characters using 7 bits, covering only English letters, digits, punctuation, and control characters. Unicode is a superset that defines over 149,000 characters covering virtually every writing system in the world. The first 128 Unicode code points (U+0000 to U+007F) are identical to ASCII. UTF-8, the most common Unicode encoding on the web, is fully backward-compatible with ASCII.
Control characters (codes 0-31 and 127) are non-printable characters originally designed to control hardware devices like printers and teleprinters. Common examples include NUL (0), TAB (9), LF/Line Feed (10), CR/Carriage Return (13), and ESC/Escape (27). Many remain important today in network protocols, terminal emulation, and file formats. For example, HTTP headers are separated by CR+LF (13+10).
ASCII is fundamental in cybersecurity for analyzing network protocols, examining malware strings, understanding encoding-based attacks (null byte injection, CRLF injection, directory traversal), reverse engineering binary files with hex editors, and parsing log files. Security analysts frequently reference ASCII decimal and hex values when working with packet captures, shellcode, and exploit payloads.