ASCII codes denotes American Standard Code for Information Interchange. It’s a 7-bit character code where every single bit represents a unique character. It is a character encoding denotation originally based on the English alphabet that encodes 128 specified characters: numbers 0-9, letters a-z and A-Z, basic punctuation symbols, control codes that originated with Teletype machines and a blank space into 7-bit binary integers.
Below are ASCII codes table:
char | Dec | Hex | Oct | Binary |
32 | 20 | 40 | 010 0000 | |
! | 33 | 21 | 41 | 010 0001 |
“ | 34 | 22 | 42 | 010 0010 |
# | 35 | 23 | 43 | 010 0011 |
$ | 36 | 24 | 44 | 010 0100 |
% | 37 | 25 | 45 | 010 0101 |
& | 38 | 26 | 46 | 010 0110 |
‘ | 39 | 27 | 47 | 010 0111 |
( | 40 | 28 | 50 | 010 1000 |
) | 41 | 29 | 51 | 010 1001 |
* | 42 | 2A | 52 | 010 1010 |
+ | 43 | 2B | 53 | 010 1011 |
, | 44 | 2C | 54 | 010 1100 |
– | 45 | 2D | 55 | 010 1101 |
. | 46 | 2E | 56 | 010 1110 |
/ | 47 | 2F | 57 | 010 1111 |
0 | 48 | 30 | 60 | 011 0000 |
1 | 49 | 31 | 61 | 011 0001 |
2 | 50 | 32 | 62 | 011 0010 |
3 | 51 | 33 | 63 | 011 0011 |
4 | 52 | 34 | 64 | 011 0100 |
5 | 53 | 35 | 65 | 011 0101 |
6 | 54 | 36 | 66 | 011 0110 |
7 | 55 | 37 | 67 | 011 0111 |
8 | 56 | 38 | 70 | 011 1000 |
9 | 57 | 39 | 71 | 011 1001 |
: | 58 | 3A | 72 | 011 1010 |
; | 59 | 3B | 73 | 011 1011 |
< | 60 | 3C | 74 | 011 1100 |
= | 61 | 3D | 75 | 011 1101 |
> | 62 | 3E | 76 | 011 1110 |
? | 63 | 3F | 77 | 011 1111 |
@ | 64 | 40 | 100 | 100 0000 |
A | 65 | 41 | 101 | 100 0001 |
B | 66 | 42 | 102 | 100 0010 |
C | 67 | 43 | 103 | 100 0011 |
D | 68 | 44 | 104 | 100 0100 |
E | 69 | 45 | 105 | 100 0101 |
F | 70 | 46 | 106 | 100 0110 |
G | 71 | 47 | 107 | 100 0111 |
H | 72 | 48 | 110 | 100 1000 |
I | 73 | 49 | 111 | 100 1001 |
J | 74 | 4A | 112 | 100 1010 |
K | 75 | 4B | 113 | 100 1011 |
L | 76 | 4C | 114 | 100 1100 |
M | 77 | 4D | 115 | 100 1101 |
N | 78 | 4E | 116 | 100 1110 |
O | 79 | 4F | 117 | 100 1111 |
P | 80 | 50 | 120 | 101 0000 |
Q | 81 | 51 | 121 | 101 0001 |
R | 82 | 52 | 122 | 101 0010 |
S | 83 | 53 | 123 | 101 0011 |
T | 84 | 54 | 124 | 101 0100 |
U | 85 | 55 | 125 | 101 0101 |
V | 86 | 56 | 126 | 101 0110 |
W | 87 | 57 | 127 | 101 0111 |
X | 88 | 58 | 130 | 101 1000 |
Y | 89 | 59 | 131 | 101 1001 |
Z | 90 | 5A | 132 | 101 1010 |
[ | 91 | 5B | 133 | 101 1011 |
\ | 92 | 5C | 134 | 101 1100 |
] | 93 | 5D | 135 | 101 1101 |
^ | 94 | 5E | 136 | 101 1110 |
_ | 95 | 5F | 137 | 101 1111 |
` | 96 | 60 | 140 | 110 0000 |
a | 97 | 61 | 141 | 110 0001 |
b | 98 | 62 | 142 | 110 0010 |
c | 99 | 63 | 143 | 110 0011 |
d | 100 | 64 | 144 | 110 0100 |
e | 101 | 65 | 145 | 110 0101 |
f | 102 | 66 | 146 | 110 0110 |
g | 103 | 67 | 147 | 110 0111 |
h | 104 | 68 | 150 | 110 1000 |
i | 105 | 69 | 151 | 110 1001 |
j | 106 | 6A | 152 | 110 1010 |
k | 107 | 6B | 153 | 110 1011 |
l | 108 | 6C | 154 | 110 1100 |
m | 109 | 6D | 155 | 110 1101 |
n | 110 | 6E | 156 | 110 1110 |
o | 111 | 6F | 157 | 110 1111 |
p | 112 | 70 | 160 | 111 0000 |
q | 113 | 71 | 161 | 111 0001 |
r | 114 | 72 | 162 | 111 0010 |
s | 115 | 73 | 163 | 111 0011 |
t | 116 | 74 | 164 | 111 0100 |
u | 117 | 75 | 165 | 111 0101 |
v | 118 | 76 | 166 | 111 0110 |
w | 119 | 77 | 167 | 111 0111 |
x | 120 | 78 | 170 | 111 1000 |
y | 121 | 79 | 171 | 111 1001 |
z | 122 | 7A | 172 | 111 1010 |
{ | 123 | 7B | 173 | 111 1011 |
| | 124 | 7C | 174 | 111 1100 |
} | 125 | 7D | 175 | 111 1101 |
~ | 126 | 7E | 176 | 111 1110 |