Codes: (0 - 31, 127) (32 - 47) (48 - 63) (64 - 79) (80 - 95) (96 - 111) (112 - 126)
These tables show the 128-character ASCII set for U.S. English systems. Most of the characters in code range 32..126 (the only codes for which ASCII specifies displayable symbols) will be the same on non-U.S. systems. The symbols associated with all other codes vary from font to font, as well as from country to country.
For more details on ASCII, character sets, and key codes, see the general information topic on ASCII, Key Codes, and ANSI X3.64 Commands.
•Control Characters 0 - 31, 127
•Printing Characters 112 - 126
Control Characters 0 - 31, 127
ASCII (Dec) |
ASCII (Hex) |
Ctrl + Key |
Acronym |
Name |
0 |
00 |
@ |
NUL |
null |
1 |
01 |
A |
SOH |
start of header |
2 |
02 |
B |
STX |
start text |
3 |
03 |
C |
ETX |
end text |
4 |
04 |
D |
EOT |
end of transmission |
5 |
05 |
E |
ENQ |
enquiry |
6 |
06 |
F |
ACK |
acknowledge |
7 |
07 |
G |
BEL |
bell |
8 |
08 |
H |
BS |
backspace |
9 |
09 |
I |
HT |
horizontal tab |
10 |
0A |
J |
LF |
linefeed |
11 |
0B |
K |
VT |
vertical tab |
12 |
0C |
L |
FF |
form feed |
13 |
0D |
M |
CR |
carriage return |
14 |
0E |
N |
SO |
shift out |
15 |
0F |
O |
SI |
shift in |
16 |
10 |
P |
DLE |
data link escape |
17 |
11 |
Q |
DC1 |
device control 1 |
18 |
12 |
R |
DC2 |
device control 2 |
19 |
13 |
S |
DC3 |
device control 3 |
20 |
14 |
T |
DC4 |
device control 4 |
21 |
15 |
U |
NAK |
negative acknowledge |
22 |
16 |
V |
SYN |
synchronize |
23 |
17 |
W |
ETB |
end text block |
24 |
18 |
X |
CAN |
cancel |
25 |
19 |
Y |
EM |
end of medium |
26 |
1A |
Z |
SUB |
substitute |
27 |
1B |
[ |
ESC |
escape |
28 |
1C |
\ |
FS |
field separator |
29 |
1D |
] |
GR |
group separator |
30 |
1E |
^ |
RS |
record separator |
31 |
1F |
_ |
US |
unit separator |
127 |
7F |
n/a |
DEL |
delete |
Dec |
Hex |
Char |
Special character name |
032 |
20 |
Space |
space |
033 |
21 |
! |
exclamation mark |
034 |
22 |
" |
quote mark |
035 |
23 |
# |
number sign |
036 |
24 |
$ |
dollar (currency) sign |
037 |
25 |
% |
percent mark |
038 |
26 |
& |
ampersand |
039 |
27 |
' |
apostrophe |
040 |
28 |
( |
left parenthesis |
041 |
29 |
) |
right parenthesis |
042 |
2A |
* |
asterisk |
043 |
2B |
+ |
plus sign |
044 |
2C |
, |
comma |
045 |
2D |
- |
hyphen (minus sign) |
046 |
2E |
. |
period |
047 |
2F |
/ |
slash |
Dec |
Hex |
Char |
Special character name |
048 |
30 |
0 |
|
049 |
31 |
1 |
|
050 |
32 |
2 |
|
051 |
33 |
3 |
|
052 |
34 |
4 |
|
053 |
35 |
5 |
|
054 |
36 |
6 |
|
055 |
37 |
7 |
|
056 |
38 |
8 |
|
057 |
39 |
9 |
|
058 |
3A |
: |
colon |
059 |
3B |
; |
semicolon |
060 |
3C |
< |
less than sign |
061 |
3D |
= |
equal sign |
062 |
3E |
> |
greater than sign |
063 |
3F |
? |
question mark |
Dec |
Hex |
Char |
Special character name |
064 |
40 |
@ |
at sign |
065 |
41 |
A |
|
066 |
42 |
B |
|
067 |
43 |
C |
|
068 |
44 |
D |
|
069 |
45 |
E |
|
070 |
46 |
F |
|
071 |
47 |
G |
|
072 |
48 |
H |
|
073 |
49 |
I |
|
074 |
4A |
J |
|
075 |
4B |
K |
|
076 |
4C |
L |
|
077 |
4D |
M |
|
078 |
4E |
N |
|
079 |
4F |
O |
Dec |
Hex |
Char |
Special character name |
080 |
50 |
P |
|
081 |
51 |
Q |
|
082 |
52 |
R |
|
083 |
53 |
S |
|
084 |
54 |
T |
|
085 |
55 |
U |
|
086 |
56 |
V |
|
087 |
57 |
W |
|
088 |
58 |
X |
|
089 |
59 |
Y |
|
090 |
5A |
Z |
|
091 |
5B |
[ |
left bracket |
092 |
5C |
\ |
backslash |
093 |
5D |
] |
right bracket |
094 |
5E |
^ |
caret |
095 |
5F |
_ |
underscore |
Dec |
Hex |
Char |
Special character name |
096 |
60 |
` |
accent grave (back tick or back quote) |
097 |
61 |
a |
|
098 |
62 |
b |
|
099 |
63 |
c |
|
100 |
64 |
d |
|
101 |
65 |
e |
|
102 |
66 |
f |
|
103 |
67 |
g |
|
104 |
68 |
h |
|
105 |
69 |
i |
|
106 |
6A |
j |
|
106 |
6B |
k |
|
108 |
6C |
l |
|
109 |
6D |
m |
|
110 |
6E |
n |
|
111 |
6F |
o |
Dec |
Hex |
Char |
Special character name |
112 |
70 |
p |
|
113 |
71 |
q |
|
114 |
72 |
r |
|
115 |
73 |
s |
|
116 |
74 |
t |
|
117 |
75 |
u |
|
118 |
76 |
v |
|
119 |
77 |
w |
|
120 |
78 |
x |
|
121 |
79 |
y |
|
122 |
7A |
z |
|
123 |
7B |
{ |
left brace |
124 |
7C |
| |
vertical bar |
125 |
7D |
} |
right brace |
126 |
7E |
~ |
tilde |