For example, the ASCII code for "A" is 65 in decimal or $41 in hexadecimal.
Char | Code | Char | Code | Char | Code | Char | Code |
---|---|---|---|---|---|---|---|
NUL (^@) |
0 $00 |
DLE (^P) |
16 $10 |
SPACE | 32 $20 |
0 | 48 $30 |
SOH (^A) |
1 $01 |
DC1 (^Q) |
17 $11 |
! | 33 $21 |
1 | 49 $31 |
STX (^B) |
2 $02 |
DC2 (^R) |
18 $12 |
" | 34 $22 |
2 | 50 $32 |
ETX (^C) |
3 $03 |
DC3 (^S) |
19 $13 |
# | 35 $23 |
3 | 51 $33 |
EOT (^D) |
4 $04 |
DC4 (^T) |
20 $14 |
$ | 36 $24 |
4 | 52 $34 |
ENQ (^E) |
5 $05 |
NAK (^U) |
21 $15 |
% | 37 $25 |
5 | 53 $35 |
ACK (^F) |
6 $06 |
SYN (^V) |
22 $16 |
& | 38 $26 |
6 | 54 $36 |
BEL (^G) |
7 $07 |
ETB (^W) |
23 $17 |
' | 39 $27 |
7 | 55 $37 |
BS (^H) |
8 $08 |
CAN (^X) |
24 $18 |
( | 40 $28 |
8 | 56 $38 |
HT (^I) |
9 $09 |
EM (^Y) |
25 $19 |
) | 41 $29 |
9 | 57 $39 |
LF (^J) |
10 $0A |
SUB (^Z) |
26 $1A |
* | 42 $2A |
: | 58 $3A |
VT (^K) |
11 $0B |
ESC (^[) |
27 $1B |
+ | 43 $2B |
; | 59 $3B |
FF (^L) |
12 $0C |
FS (^\) |
28 $1C |
, | 44 $2C |
< | 60 $3C |
CR (^M) |
13 $0D |
GS (^]) |
29 $1D |
- | 45 $2D |
= | 61 $3D |
SO (^N) |
14 $0E |
RS (^^) |
30 $1E |
. | 46 $2E |
> | 62 $3E |
SI (^O) |
15 $0F |
US (^_) |
31 $1F |
/ | 47 $2F |
? | 63 $3F |
Char | Code | Char | Code | Char | Code | Char | Code |
@ | 64 $40 |
P | 80 $50 |
` | 96 $60 |
p | 112 $70 |
A | 65 $41 |
Q | 81 $51 |
a | 97 $61 |
q | 113 $71 |
B | 66 $42 |
R | 82 $52 |
b | 98 $62 |
r | 114 $72 |
C | 67 $43 |
S | 83 $53 |
c | 99 $63 |
s | 115 $73 |
D | 68 $44 |
T | 84 $54 |
d | 100 $64 |
t | 116 $74 |
E | 69 $45 |
U | 85 $55 |
e | 101 $65 |
u | 117 $75 |
F | 70 $46 |
V | 86 $56 |
f | 102 $66 |
v | 118 $76 |
G | 71 $47 |
W | 87 $57 |
g | 103 $67 |
w | 119 $77 |
H | 72 $48 |
X | 88 $58 |
h | 104 $68 |
x | 120 $78 |
I | 73 $49 |
Y | 89 $59 |
i | 105 $69 |
y | 121 $79 |
J | 74 $4A |
Z | 90 $5A |
j | 106 $6A |
z | 122 $7A |
K | 75 $4B |
[ | 91 $5B |
k | 107 $6B |
{ | 123 $7B |
L | 76 $4C |
\ | 92 $5C |
l | 108 $6C |
| | 124 $7C |
M | 77 $4D |
] | 93 $5D |
m | 109 $6D |
} | 125 $7D |
N | 78 $4E |
^ | 94 $5E |
n | 110 $6E |
~ | 126 $7E |
O | 79 $4F |
_ | 95 $5F |
o | 111 $6F |
DEL | 127 $7F |