Decimal, Hexadecimal, and ASCII Table
This topic lists the hexadecimal and ASCII values and keys/effects corresponding to decimal numbers 0 to 127 and 251 to 255.
Note
Keys shown are typical, but may vary with terminal type/configuration.
Dec |
Hex |
ASCII |
Key(s) |
Effect |
---|---|---|---|---|
000 |
00 |
NUL |
CTRL+@ |
|
001 |
01 | SOH |
CTRL+A, HOME |
|
002 |
02 | STX |
CTRL+B |
|
003 |
03 | ETX |
CTRL+C |
|
004 |
04 | EOT |
CTRL+D |
|
005 |
05 | ENQ |
CTRL+E |
|
006 |
06 | ACK |
CTRL+F, → |
|
007 |
07 |
BEL |
CTRL+G |
|
008 |
08 |
BS |
CTRL+H, BACKSPACE |
|
009 |
09 |
HT |
CTRL+I, TAB |
|
010 |
0A |
LF |
CTRL+J, ↓s |
Line feed |
011 |
0B |
VT |
CTRL+K |
|
012 |
0C |
FF |
CTRL+L, CLEAR |
|
013 |
0D |
CR |
CTRL+M, RETURN |
|
014 |
0E |
SO |
CTRL+N |
|
015 |
0F |
SI |
CTRL+O |
|
016 |
10 |
DLE |
CTRL+P |
|
017 |
11 |
DC1 |
CTRL+Q |
XON function |
018 |
12 |
DC2 |
CTRL+R |
Redisplay line |
019 |
13 |
DC3 |
CTRL+S |
XOFF function |
020 |
14 |
DC4 |
CTRL+T |
|
021 |
15 |
NAK |
CTRL+U, ← |
|
022 |
16 |
SYN |
CTRL+V |
|
023 |
17 |
ETB |
CTRL+W |
|
024 |
18 |
CAN |
CTRL+X |
Cancel line |
025 |
19 |
EM |
CTRL+Y, SHIFT+TAB |
Disconnect |
026 |
1A |
SUB |
CTRL+Z, ↑ |
|
027 |
1B |
ESC |
ESC, CTRL+[ |
|
028 |
1C | FS | ||
029 |
1D |
GS |
|
|
030 |
1E |
RS |
|
|
031 |
1F |
US |
|
|
032 |
20 |
SPACE |
SPACEbar |
|
033 |
21 |
! |
! |
|
034 |
22 |
" |
" |
|
035 |
23 |
# |
# |
|
036 |
24 |
$ |
$ |
|
037 |
25 |
% |
% |
|
038 |
26 |
& |
& |
|
039 |
27 |
' |
' |
|
040 |
28 |
( |
( |
|
041 |
29 |
) |
) |
|
042 |
2A |
* |
* |
|
043 |
2B |
+ |
+ |
|
044 |
2C |
, |
, |
|
045 |
2D |
- |
- |
|
046 |
2E |
. |
. |
|
047 |
2F |
/ |
/ |
|
048 |
30 |
0 |
0 |
|
049 |
31 |
1 |
1 |
|
050 |
32 |
2 |
2 |
|
051 |
33 |
3 |
3 |
|
052 |
34 |
4 |
4 |
|
053 |
35 |
5 |
5 |
|
054 |
36 |
6 |
6 |
|
055 |
37 |
7 |
7 |
|
056 |
38 |
8 |
8 |
|
057 |
39 |
9 |
9 |
|
058 |
3A |
: |
: |
|
059 |
3B |
; |
; |
|
060 |
3C |
< |
< |
|
061 |
3D |
= |
= |
|
062 |
3E |
> |
> |
|
063 |
3F |
? |
? |
|
064 |
40 |
@ |
@ |
|
065 |
41 |
A |
A |
|
066 |
42 |
B |
B |
|
067 |
43 |
C |
C |
|
068 |
44 |
D |
D |
|
069 |
45 |
E |
E |
|
070 |
46 |
F |
F |
|
071 |
47 |
G |
G |
|
072 |
48 |
H |
H |
|
073 |
49 |
I |
I |
|
074 |
4A |
J |
J |
|
075 |
4B |
K |
K |
|
076 |
4C |
L |
L |
|
077 |
4D |
M |
M |
|
078 |
4E |
N | N | |
079 |
4F |
O |
O |
|
080 |
50 |
P |
P |
|
081 |
51 |
Q |
Q |
|
082 |
52 |
R |
R |
|
083 |
53 |
S |
S |
|
084 |
54 |
T |
T |
|
085 |
55 |
U |
U |
|
086 |
56 |
V |
V |
|
087 |
57 |
W |
W |
|
088 |
58 |
X |
X |
|
089 |
59 |
Y |
Y |
|
090 |
5A |
Z |
Z |
|
091 |
5B |
[ |
[ |
|
092 |
5C |
\ |
\ |
|
093 |
5D |
] |
] |
|
094 |
5E |
^ |
^ |
|
095 |
5F |
_ |
_ |
|
096 |
60 |
` |
` |
|
097 |
61 |
a |
a |
|
098 |
62 |
b |
b |
|
099 |
63 |
c |
c |
|
100 |
64 |
d |
d |
|
101 |
65 |
e |
e |
|
102 |
66 |
f |
f |
|
103 |
67 |
g |
g |
|
104 |
68 |
h |
h |
|
105 |
69 |
i |
i |
|
106 |
6A |
j |
j |
|
107 |
6B |
k |
k |
|
108 |
6C |
l |
l |
|
109 |
6D |
m |
m |
|
110 |
6E |
n |
n |
|
111 |
6F |
o |
o |
|
112 |
70 |
p |
p |
|
113 |
71 |
q |
q |
|
114 |
72 |
r |
r |
|
115 |
73 |
s |
s |
|
116 |
74 |
t |
t |
|
117 |
75 |
u |
u |
|
118 |
76 |
v |
v |
|
119 |
77 |
w |
w |
|
120 |
78 |
x |
x |
|
121 |
79 |
y |
y |
|
122 |
7A |
z |
z |
|
123 |
7B |
{ |
{ |
|
124 |
7C |
| |
| |
|
125 |
7D |
} |
} |
|
126 |
7E |
~ |
~ |
|
127 |
7F |
DEL |
DELETE |
|
. |
||||
. |
||||
. |
||||
251 |
FB |
[ |
SB: start buffer |
|
252 |
FC |
\ |
CTRL+\ |
SVM: subvalue mark |
253 |
FD |
] |
CTRL+] |
VM: value mark |
254 |
FE |
^ |
CTRL+^ |
AM: attribute mark |
255 |
FF |
_ |
CTRL+_ |
SM: segment mark |