Velto

ASCII Table

All 128 ASCII characters with their decimal, hexadecimal and binary codes.

128 / 128 Download CSV
Char Decimal Hex Binary Name
NUL00000000000Null
SOH10100000001Start of Heading
STX20200000010Start of Text
ETX30300000011End of Text
EOT40400000100End of Transmission
ENQ50500000101Enquiry
ACK60600000110Acknowledge
BEL70700000111Bell
BS80800001000Backspace
HT90900001001Horizontal Tab
LF100A00001010Line Feed
VT110B00001011Vertical Tab
FF120C00001100Form Feed
CR130D00001101Carriage Return
SO140E00001110Shift Out
SI150F00001111Shift In
DLE161000010000Data Link Escape
DC1171100010001Device Control 1 (XON)
DC2181200010010Device Control 2
DC3191300010011Device Control 3 (XOFF)
DC4201400010100Device Control 4
NAK211500010101Negative Acknowledge
SYN221600010110Synchronous Idle
ETB231700010111End of Transmission Block
CAN241800011000Cancel
EM251900011001End of Medium
SUB261A00011010Substitute
ESC271B00011011Escape
FS281C00011100File Separator
GS291D00011101Group Separator
RS301E00011110Record Separator
US311F00011111Unit Separator
Space322000100000Space
!332100100001Exclamation mark
"342200100010Quotation mark
#352300100011Number sign
$362400100100Dollar sign
%372500100101Percent sign
&382600100110Ampersand
'392700100111Apostrophe
(402800101000Left parenthesis
)412900101001Right parenthesis
*422A00101010Asterisk
+432B00101011Plus sign
,442C00101100Comma
-452D00101101Hyphen-minus
.462E00101110Full stop
/472F00101111Slash
0483000110000Digit 0
1493100110001Digit 1
2503200110010Digit 2
3513300110011Digit 3
4523400110100Digit 4
5533500110101Digit 5
6543600110110Digit 6
7553700110111Digit 7
8563800111000Digit 8
9573900111001Digit 9
:583A00111010Colon
;593B00111011Semicolon
<603C00111100Less-than sign
=613D00111101Equals sign
>623E00111110Greater-than sign
?633F00111111Question mark
@644001000000At sign
A654101000001Uppercase letter A
B664201000010Uppercase letter B
C674301000011Uppercase letter C
D684401000100Uppercase letter D
E694501000101Uppercase letter E
F704601000110Uppercase letter F
G714701000111Uppercase letter G
H724801001000Uppercase letter H
I734901001001Uppercase letter I
J744A01001010Uppercase letter J
K754B01001011Uppercase letter K
L764C01001100Uppercase letter L
M774D01001101Uppercase letter M
N784E01001110Uppercase letter N
O794F01001111Uppercase letter O
P805001010000Uppercase letter P
Q815101010001Uppercase letter Q
R825201010010Uppercase letter R
S835301010011Uppercase letter S
T845401010100Uppercase letter T
U855501010101Uppercase letter U
V865601010110Uppercase letter V
W875701010111Uppercase letter W
X885801011000Uppercase letter X
Y895901011001Uppercase letter Y
Z905A01011010Uppercase letter Z
[915B01011011Left square bracket
\925C01011100Backslash
]935D01011101Right square bracket
^945E01011110Circumflex accent
_955F01011111Underscore
`966001100000Grave accent
a976101100001Lowercase letter a
b986201100010Lowercase letter b
c996301100011Lowercase letter c
d1006401100100Lowercase letter d
e1016501100101Lowercase letter e
f1026601100110Lowercase letter f
g1036701100111Lowercase letter g
h1046801101000Lowercase letter h
i1056901101001Lowercase letter i
j1066A01101010Lowercase letter j
k1076B01101011Lowercase letter k
l1086C01101100Lowercase letter l
m1096D01101101Lowercase letter m
n1106E01101110Lowercase letter n
o1116F01101111Lowercase letter o
p1127001110000Lowercase letter p
q1137101110001Lowercase letter q
r1147201110010Lowercase letter r
s1157301110011Lowercase letter s
t1167401110100Lowercase letter t
u1177501110101Lowercase letter u
v1187601110110Lowercase letter v
w1197701110111Lowercase letter w
x1207801111000Lowercase letter x
y1217901111001Lowercase letter y
z1227A01111010Lowercase letter z
{1237B01111011Left curly bracket
|1247C01111100Vertical bar
}1257D01111101Right curly bracket
~1267E01111110Tilde
DEL1277F01111111Delete

The ASCII table lists the 128 characters of the American Standard Code for Information Interchange, the 1963 standard that still underpins how computers exchange text. Each character gets a number from 0 to 127, shown here in decimal, hexadecimal and binary, so the same table serves programmers reading hex dumps and students decoding binary homework.

The table splits into three zones. Codes 0 to 31 are control characters: invisible instructions like Line Feed (10), Carriage Return (13) or Escape (27) that once drove teletypes and still shape file formats today, since every line break in a text file is one of these bytes. Codes 32 to 126 are the printable characters: the space (32), punctuation, digits, and both alphabets. Code 127 (DEL) closes the set, a leftover from paper tape where punching all seven holes erased a character.

A few anchor codes make the whole table easy to navigate. Uppercase A is 65 and the alphabet runs in order from there, so Z is 90. Lowercase a is 97, exactly 32 above its uppercase twin, which means switching case flips a single bit. The digit 0 is code 48, not 0, a distinction that explains a classic programming bug: the character 7 has code 55, and forgetting to subtract 48 turns arithmetic into nonsense.

ASCII only covers 7 bits, and that limitation is precisely why it survived. UTF-8, the encoding used by the vast majority of the web, was designed so that codes 0 to 127 are encoded as the same single bytes as ASCII. Every ASCII file is already valid UTF-8, and any byte below 128 in a UTF-8 stream means exactly what this table says. Accented letters, symbols and emoji live above this range, built from multi-byte sequences that never collide with these 128 codes.

Tools that use this