ASCII

ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication.

ASCII codes represent text in computers, telecommunications equipment, and other devices.

ASCII is a 7-bit character set containing 128 characters.

It contains the numbers from 0-9, the upper and lower case English letters from A to Z, and some special characters.

Most modern character-encoding schemes are based on ASCII, although they support many additional characters.

ASCII Table

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

ASCII Control Characters

CharacterDecHexDescription
NULL00000null
SOH10001start of heading
STX20002start of text
ETX30003end of text
EOT40004end of transmission
ENQ50005enquiry
ACK60006acknowledgement
BEL70007bell
BS80008backspace
HT90009horizontal tab
LF10000Aline feed
VT11000Bvertical tab
FF12000Cform feed
CR13000Dcarriage return
SO14000Eshift out
SI15000Fshift in
DLE160010data link escape
DC1170011device control 1
DC2180012device control 2
DC3190013device control 3
DC4200014device control 4
NAK210015negative acknowledgement
SYN220016synchronous idle
ETB230017end of transmission block
CAN240018cancel
EM250019end of medium
SUB26001Asubstitute
ESC27001Bescape
FS28001Cfile separator
GS29001Dgroup separator
RS30001Erecord separator
US31001Funit separator
DEL127007Fdelete

ASCII Printable Characters

CharacterDecHexNumberNameDescription
SP 32 0020 space
! 33 0021 exclamation mark
" 34 0022 &#34; &quot; quotation mark
# 35 0023 number sign
$ 36 0024 dollar sign
% 37 0025 percent sign
& 38 0026 &#38; &amp; ampersand
' 39 0027 &#39; apostrophe
( 40 0028 left parenthesis
) 41 0029 right parenthesis
* 42 002A asterisk
+ 43 002B plus sign
, 44 002C comma
- 45 002D hyphen-minus
. 46 002E full stop
/ 47 002F solidus
0 48 0030 digit zero
1 49 0031 digit one
2 50 0032 digit two
3 51 0033 digit three
4 52 0034 digit four
5 53 0035 digit five
6 54 0036 digit six
7 55 0037 digit seven
8 56 0038 digit eight
9 57 0039 digit nine
: 58 003A colon
; 59 003B semicolon
< 60 003C &#60; &lt; less-than sign
= 61 003D equals sign
> 62 003E &#62; &gt; greater-than sign
? 63 003F question mark
@ 64 0040 commercial at

ASCII Printable Characters

CharacterDecHexNumberNameDescription
A 65 0041 latin capital letter a
B 66 0042 latin capital letter b
C 67 0043 latin capital letter c
D 68 0044 latin capital letter d
E 69 0045 latin capital letter e
F 70 0046 latin capital letter f
G 71 0047 latin capital letter g
H 72 0048 latin capital letter h
I 73 0049 latin capital letter i
J 74 004A latin capital letter j
K 75 004B latin capital letter k
L 76 004C latin capital letter l
M 77 004D latin capital letter m
N 78 004E latin capital letter n
O 79 004F latin capital letter o
P 80 0050 latin capital letter p
Q 81 0051 latin capital letter q
R 82 0052 latin capital letter r
S 83 0053 latin capital letter s
T 84 0054 latin capital letter t
U 85 0055 latin capital letter u
V 86 0056 latin capital letter v
W 87 0057 latin capital letter w
X 88 0058 latin capital letter x
Y 89 0059 latin capital letter y
Z 90 005A latin capital letter z
[ 91 005B left square bracket
\ 92 005C reverse solidus
] 93 005D right square bracket
^ 94 005E circumflex accent
_ 95 005F low line
` 96 0060 grave accent
a 97 0061 latin small letter a

ASCII Printable Characters

CharacterDecHexNumberNameDescription
b 98 0062 latin small letter b
c 99 0063 latin small letter c
d 100 0064 latin small letter d
e 101 0065 latin small letter e
f 102 0066 latin small letter f
g 103 0067 latin small letter g
h 104 0068 latin small letter h
i 105 0069 latin small letter i
j 106 006A latin small letter j
k 107 006B latin small letter k
l 108 006C latin small letter l
m 109 006D latin small letter m
n 110 006E latin small letter n
o 111 006F latin small letter o
p 112 0070 latin small letter p
q 113 0071 latin small letter q
r 114 0072 latin small letter r
s 115 0073 latin small letter s
t 116 0074 latin small letter t
u 117 0075 latin small letter u
v 118 0076 latin small letter v
w 119 0077 latin small letter w
x 120 0078 latin small letter x
y 121 0079 latin small letter y
z 122 007A latin small letter z
{ 123 007B left curly bracket
| 124 007C vertical line
} 125 007D right curly bracket
~ 126 007E tilde