ASCII Chart: (Hex) and Character (CH) Codes
ASCII Chart: (Hex) and Character (CH) Codes
The following chart contains all 128 ASCII decimal (dec), octal (oct), hexadecimal
(hex) and character (ch) codes.
dec oct hex ch
0
0 00 NUL (null)
1
1 01 SOH (start of header)
2
2 02 STX (start of text)
3
3 03 ETX (end of text)
4
4 04 EOT (end of
transmission)
5
5 05 ENQ (enquiry)
6
6 06 ACK (acknowledge)
7
7 07 BEL (bell)
8 10 08 BS (backspace)
9 11 09 HT (horizontal tab)
10 12 0a LF (line feed - new
line)
11 13 0b VT (vertical tab)
12 14 0c FF (form feed - new
page)
13 15 0d CR (carriage return)
14 16 0e SO (shift out)
15 17 0f SI (shift in)
16 20 10 DLE (data link escape)
17 21 11 DC1 (device control 1)
18 22 12 DC2 (device control 2)
19 23 13 DC3 (device control 3)
20 24 14 DC4 (device control 4)
21 25 15 NAK (negative
acknowledge)
22 26 16 SYN (synchronous idle)
23 27 17 ETB (end of transmission
block)
24 30 18 CAN (cancel)
25 31 19 EM (end of medium)
26 32 1a SUB (substitute)
27 33 1b ESC (escape)
28 34 1c FS (file separator)
29 35 1d GS (group separator)
30 36 1e RS (record separator)
31
37
1f
US (unit separator)
32
33
34
35
dec oct
hex ch
dec oct
hex ch
64
65
66
67
100
101
102
103
40
41
42
43
@
A
B
C
96
97
98
99
140
141
142
143
60
61
62
63
`
a
b
c
36
44
24
68
104
44
D 100
144
64
37
38
39
40
41
45
46
47
50
51
25
26
27
28
29
%
&
'
(
)
69
70
71
72
73
105
106
107
110
111
45
46
47
48
49
E
F
G
H
I
101
102
103
104
105
145
146
147
150
151
65
66
67
68
69
e
f
g
h
i
42
52
2a
74
112
4a
J 106
152
6a
43
53
2b
75
113
4b
K 107
153
6b
44
54
2c
76
114
4c
L 108
154
6c
45
46
47
48
49
50
51
52
55
56
57
60
61
62
63
64
2d
2e
2f
30
31
32
33
34
.
/
0
1
2
3
4
77
78
79
80
81
82
83
84
115
116
117
120
121
122
123
124
4d
4e
4f
50
51
52
53
54
M
N
O
P
Q
R
S
T
109
110
111
112
113
114
115
116
155
156
157
160
161
162
163
164
6d
6e
6f
70
71
72
73
74
m
n
o
p
q
r
s
t
53
65
35
85
125
55
U 117
165
75
54
66
36
86
126
56
V 118
166
76
55
67
37
87
127
57
W 119
167
77
56
57
58
59
60
61
62
70
71
72
73
74
75
76
38
39
3a
3b
3c
3d
3e
8
9
:
;
<
=
>
88
89
90
91
92
93
94
130
131
132
133
134
135
136
58
59
5a
5b
5c
5d
5e
X
Y
Z
[
\
]
^
63
77
3f
95
137
5f
120 170
121 171
122 172
123 173
124 174
125 175
126 176
127 177
_
(delete)
78
79
7a
7b
7c
7d
7e
7f
x
y
z
{
|
}
~
DEL