ASCII code table
The ASCII code can be roughly divided into three parts.
The first part is ASCII non-printable control characters;
The second part is: ASCII printing characters;
The third part is: Extended ASCII print characters.
Part 1: ASCII non-printable memory table
The numbers 0-31 in the ASCII table are assigned control characters to control peripheral devices such as printers. For example, 12 represents the form feed/New Page function. This command indicates that the printer jumps to the beginning of the next page. (0-31 in the parameter ASCII code table)
Part 2: ASCII characters
The number 32-126 is assigned to characters that can be found on the keyboard. It appears when you view or print the document. The number 127 represents the DELETE command. (32-127 in the parameter ASCII code table)
ASCII code table 0-127
Bin |
Dec |
HEX |
Abbreviations/characters |
Explanation |
00000000 |
0 |
00 |
Nul (null) |
NULL Character |
00000001 |
1 |
01 |
Soh (start of headling) |
Title start |
00000010 |
2 |
02 |
STX (start of text) |
Start of Text |
00000011 |
3 |
03 |
Etx (end of text) |
Text ended |
00000100 |
4 |
04 |
EOT (end of transmission) |
Transfer completed |
00000101 |
5 |
05 |
Enq (Enquiry) |
Request |
00000110 |
6 |
06 |
Ack (acknowledge) |
Receive notification |
00000111 |
7 |
07 |
BEL (Bell) |
Ring tones |
00001000 |
8 |
08 |
BS (backspace) |
Return |
00001001 |
9 |
09 |
HT (horizontal tab) |
Horizontal Tab |
00001010 |
10 |
0a |
LF (NL line feed, new line) |
Line feed key |
00001011 |
11 |
0b |
Vt (vertical tab) |
Vertical Tab |
00001100 |
12 |
0c |
Ff (NP form feed, new page) |
Page feed key |
00001101 |
13 |
0d |
Cr (carriage return) |
Enter key |
00001110 |
14 |
0e |
So (shift out) |
No switchover |
00001111 |
15 |
0f |
Si (shift in) |
Enable Switch |
00010000 |
16 |
10 |
Dle (Data Link escape) |
Data Link escape |
00010001 |
17 |
11 |
DC1 (Device Control 1) |
Device Control 1 |
00010010 |
18 |
12 |
DC2 (Device Control 2) |
Device Control 2 |
00010011 |
19 |
13 |
DC3 (Device Control 3) |
Device Control 3 |
00010100 |
20 |
14 |
Dc4 (Device Control 4) |
Device Control 4 |
00010101 |
21 |
15 |
Nak (negative acknowledge) |
Reject |
00010110 |
22 |
16 |
Syn (synchronous idle) |
Synchronization idle |
00010111 |
23 |
17 |
Etb (end of Trans. Block) |
Transfer Block ended |
00011000 |
24 |
18 |
Can (cancel) |
Cancel |
00011001 |
25 |
19 |
EM (end of medium) |
Media interruption |
00011010 |
26 |
1a |
Sub (substitute) |
Substitutes |
00011011 |
27 |
1B |
ESC (escape) |
Overflow |
00011100 |
28 |
1c |
FS (File separator) |
File delimiter |
00011101 |
29 |
1D |
GS (group separator) |
Group Operator |
00011110 |
30 |
1e |
RS (record separator) |
Record delimiter |
00011111 |
31 |
1f |
US (Unit separator) |
Unit Separator |
00100000 |
32 |
20 |
(Space) |
Space |
00100001 |
33 |
21 |
! |
|
00100010 |
34 |
22 |
" |
|
00100011 |
35 |
23 |
# |
|
00100100 |
36 |
24 |
$ |
|
00100101 |
37 |
25 |
% |
|
00100110 |
38 |
26 |
& |
|
00100111 |
39 |
27 |
' |
|
00101000 |
40 |
28 |
( |
|
00101001 |
41 |
29 |
) |
|
00101010 |
42 |
2a |
* |
|
00101011 |
43 |
2b |
+ |
|
00101100 |
44 |
2c |
, |
|
00101101 |
45 |
2d |
- |
|
00101110 |
46 |
2e |
. |
|
00101111 |
47 |
2f |
/ |
|
00110000 |
48 |
30 |
0 |
|
00110001 |
49 |
31 |
1 |
|
00110010 |
50 |
32 |
2 |
|
00110011 |
51 |
33 |
3 |
|
00110100 |
52 |
34 |
4 |
|
00110101 |
53 |
35 |
5 |
|
00110110 |
54 |
36 |
6 |
|
00110111 |
55 |
37 |
7 |
|
00111000 |
56 |
38 |
8 |
|
00111001 |
57 |
39 |
9 |
|
00111010 |
58 |
3A |
: |
|
00111011 |
59 |
3b |
; |
|
00111100 |
60 |
3c |
< |
|
00111101 |
61 |
3D |
= |
|
00111110 |
62 |
3E |
> |
|
00111111 |
63 |
3f |
? |
|
01000000 |
64 |
40 |
@ |
|
01000001 |
65 |
41 |
A |
|
01000010 |
66 |
42 |
B |
|
01000011 |
67 |
43 |
C |
|
01000100 |
68 |
44 |
D |
|
01000101 |
69 |
45 |
E |
|
01000110 |
70 |
46 |
F |
|
01000111 |
71 |
47 |
G |
|
01001000 |
72 |
48 |
H |
|
01001001 |
73 |
49 |
I |
|
01001010 |
74 |
4A |
J |
|
01001011 |
75 |
4b |
K |
|
01001100 |
76 |
4C |
L |
|
01001101 |
77 |
4d |
M |
|
01001110 |
78 |
4e |
N |
|
01001111 |
79 |
4f |
O |
|
01010000 |
80 |
50 |
P |
|
01010001 |
81 |
51 |
Q |
|
01010010 |
82 |
52 |
R |
|
01010011 |
83 |
53 |
S |
|
01010100 |
84 |
54 |
T |
|
01010101 |
85 |
55 |
U |
|
01010110 |
86 |
56 |
V |
|
01010111 |
87 |
57 |
W |
|
01011000 |
88 |
58 |
X |
|
01011001 |
89 |
59 |
Y |
|
01011010 |
90 |
5A |
Z |
|
01011011 |
91 |
5b |
[ |
|
01011100 |
92 |
5C |
\ |
|
01011101 |
93 |
5D |
] |
|
01011110 |
94 |
5E |
^ |
|
01011111 |
95 |
5f |
_ |
|
01100000 |
96 |
60 |
` |
|
01100001 |
97 |
61 |
A |
|
01100010 |
98 |
62 |
B |
|
01100011 |
99 |
63 |
C |
|
01100100 |
100 |
64 |
D |
|
01100101 |
101 |
65 |
E |
|
01100110 |
102 |
66 |
F |
|
01100111 |
103 |
67 |
G |
|
01101000 |
104 |
68 |
H |
|
01101001 |
105 |
69 |
I |
|
01101010 |
106 |
6a |
J |
|
01101011 |
107 |
6b |
K |
|
01101100 |
108 |
6c |
L |
|
01101101 |
109 |
6d |
M |
|
01101110 |
110 |
6e |
N |
|
01101111 |
111 |
6f |
O |
|
01110000 |
112 |
70 |
P |
|
01110001 |
113 |
71 |
Q |
|
01110010 |
114 |
72 |
R |
|
01110011 |
115 |
73 |
S |
|
01110100 |
116 |
74 |
T |
|
01110101 |
117 |
75 |
U |
|
01110110 |
118 |
76 |
V |
|
01110111 |
119 |
77 |
W |
|
01111000 |
120 |
78 |
X |
|
01111001 |
121 |
79 |
Y |
|
01111010 |
122 |
7A |
Z |
|
01111011 |
123 |
7b |
{ |
|
01111100 |
124 |
7c |
| |
|
01111101 |
125 |
7D |
} |
|
01111110 |
126 |
7E |
~ |
|
01111111 |
127 |
7f |
Del (delete) |
Delete |
Part 3: Expanded ASCII printing characters
The expanded ASCII characters meet the requirements for more characters. The expanded ASCII contains the existing 128 characters in ASCII (numbers 0-32 are displayed in the middle), and an additional 128 characters are added, totaling 256 characters. Even with these more characters, many languages still contain symbols that cannot be compressed to 256 characters. Therefore, there are some ASCII variants that include regional characters and symbols. For example, many software programs use ASCII tables (also known as ISO8859-1) for languages in North America, Western Europe, Australia, and Africa.