ASCII Table

All 128 ASCII codes. Click any character to copy.

By Λ · Updated June 9, 2026

ASCII (American Standard Code for Information Interchange) defines 128 characters using 7 bits per character. The first 32 are control characters; the remaining 96 are printable characters including digits, letters, and punctuation. Modern systems use UTF-8 which extends ASCII to the full Unicode range while keeping the first 128 codes identical to ASCII.

I keep this table open most often for three jobs. First, decoding escape sequences in logs: when a parser chokes on byte 0x09 or 0x0D, the table names the culprit (TAB, CR) immediately. Second, sanity-checking binary file headers, where the printable range 32-126 separates text from raw data at a glance. Third, the digit and letter arithmetic in the notes below, which turns up in every low-level string routine. Click any character to copy it, including the control characters, which copy their real byte value rather than the abbreviation.

Control Characters (0-31, 127)

0 / 0x00
NUL
1 / 0x01
SOH
2 / 0x02
STX
3 / 0x03
ETX
4 / 0x04
EOT
5 / 0x05
ENQ
6 / 0x06
ACK
7 / 0x07
BEL
8 / 0x08
BS
9 / 0x09
TAB
10 / 0x0A
LF
11 / 0x0B
VT
12 / 0x0C
FF
13 / 0x0D
CR
14 / 0x0E
SO
15 / 0x0F
SI
16 / 0x10
DLE
17 / 0x11
DC1
18 / 0x12
DC2
19 / 0x13
DC3
20 / 0x14
DC4
21 / 0x15
NAK
22 / 0x16
SYN
23 / 0x17
ETB
24 / 0x18
CAN
25 / 0x19
EM
26 / 0x1A
SUB
27 / 0x1B
ESC
28 / 0x1C
FS
29 / 0x1D
GS
30 / 0x1E
RS
31 / 0x1F
US
127 / 0x7F
DEL

Printable Characters (32-126)

Notes

Related

Last updated