ASCII Codes

Acronym for the American Standard Code for Information Interchange. Pronounced ask-ee, ASCII is a code for representing English characters as numbers, with each letter assigned a number from 0 to 127. For example, the ASCII code for uppercase M is 77


Single Character   

ASCII Decimal Value
ASCII Hex Value
ASCII Binary Value

 

 

 

Hexadecimal ASCII CODES Table

00
NUL

01
SOH

02
STX

03
ETX

04
EOT

05
ENQ

06
ACK

07
BEL

08
BS 

09
HT 

0A
NL 

0B
VT 

0C
NP 

0D
CR 

0E
SO 

0F
SI 

10
DLE

11
DC1

12
DC2

13
DC3

14
DC4

15
NAK

16
SYN

17
ETB

18
CAN

19
EM

1A
SUB

1B
ESC

1C
FS

1D
GS

1E
RS

1F
US

20
SP

21
!

22
"

23
#

24
$

25
%

26
&

27
'

28
(

29
)

2A
*

2B
+

2C
,

2D
-

2E
.

2F
/

30
0

31
1

32
2

33
3

34
4

35
5

36
6

37
7

38
8

39
9

3A
:

3B
;

3C
<

3D
=

3E
>

3F
?

40
@

41
A

42
B

43
C

44
D

45
E

46
F

47
G

48
H

49
I

4A
J

4B
K

4C
L

4D
M

4E
N

4F
O

50
P

51
Q

52
R

53
S

54
T

55
U

56
V

57
W

58
X

59
Y

5A
Z

5B
[

5C
\

5D
]

5E
^

5F
_

60
`

61
a

62
b

63
c

64
d

65
e

66
f

67
g

68
h

69
i

6A
j

6B
k

6C
l

6D
m

6E
n

6F
o

70
p

71
q

72
r

73
s

74
t

75
u

76
v

77
w

78
x

79
y

7A
z

7B
{

7C
|

7D
}

7E
~

7F
DEL

 

Octal ASCII CODE Table

000
NUL

001
SOH

002
STX

003
ETX

004
EOT

005
ENQ

006
ACK

007
BEL

010
BS

011
HT

012
NL

013
VT

014
NP

015
CR

016
SO

017
SI

020
DLE

021
DC1

022
DC2

023
DC3

024
DC4

025
NAK

026
SYN

027
ETB

030
CAN

031
EM

032
SUB

033
ESC

034
FS

035
GS

036
RS

037
US

040
SP

041
!

042
"

043
#

044
$

045
%

046
&

047
'

050
(

051
)

052
*

053
+

054
,

055
-

056
.

057
/

060
0

061
1

062
2

063
3

064
4

065
5

066
6

067
7

070
8

071
9

072
:

073
;

074
<

075
=

076
>

077
?

100
@

101
A

102
B

103
C

104
D

105
E

106
F

107
G

110
H

111
I

112
J

113
K

114
L

115
M

116
N

117
O

120
P

121
Q

122
R

123
S

124
T

125
U

126
V

127
W

130
X

131
Y

132
Z

133
[

134
\

135
]

136
^

137
_

140
`

141
a

142
b

143
c

144
d

145
e

146
f

147
g

150
h

151
i

152
j

153
k

154
l

155
m

156
n

157
o

160
p

161
q

162
r

163
s

164
t

165
u

166
v

167
w

170
x

171
y

172
z

173
{

174
|

175
}

176
~

177
DEL


Decimal ASCII CODE Table

000
NUL

001
SOH

002
STX

003
ETX

004
EOT

005
ENQ

006
ACK

007
BEL

008
BS

009
HT

010
NL

011
VT

012
NP

013
CR

014
SO

015
SI

016
DLE

017
DC1

018
DC2

019
DC3

020
DC4

021
NAK

022
SYN

023
ETB

024
CAN

025
EM

026
SUB

027
ESC

028
FS

029
GS

030
RS

031
US

032
SP

033
!

034
"

035
#

036
$

037
%

038
&

039
'

040
(

041
)

042
*

043
+

044
,

045
-

046
.

047
/

048
0

049
1

050
2

051
3

052
4

053
5

054
6

055
7

056
8

057
9

058
:

059
;

060
<

061
=

062
>

063
?

064
@

065
A

066
B

067
C

068
D

069
E

070
F

071
G

072
H

073
I

074
J

075
K

076
L

077
M

078
N

079
O

080
P

081
Q

082
R

083
S

084
T

085
U

086
V

087
W

088
X

089
Y

090
Z

091
[

092
\

093
]

094
^

095
_

096
`

097
a

098
b

099
c

100
d

101
e

102
f

103
g

104
h

105
i

106
j

107
k

108
l

109
m

110
n

111
o

112
p

113
q

114
r

115
s

116
t

117
u

118
v

119
w

120
x

121
y

122
z

123
{

124
|

125
}

126
~

127
DEL

 

 

 

 

ASCII Control Characters Table

ASCII
Hex

Symbol

Description

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 

0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
12
13
14
15
16
17
18
19
1A
1B
1C
1D
1E
1F
 

NUL
SOH
STX
ETX
EOT
ENQ
ACK
BEL
BS
TAB
LF
VT
FF
CR
SO
SI
DLE
DC1
DC2
DC3
DC4
NAK
SYN
ETB
CAN
EM
SUB
ESC
FS
GS
RS
US
 

Null
Start of Heading
Start of Text
End of Text
End of Transmission
Enquiry
Acknowledge
Bell (audible or attention signal)
Backspace
Horizontal Tabulation
Line Feed
Vertical Tabulation
Form Feed
Carriage Return
Shift Out
Shift In
Data Link Escape
Device Control 1
Device Control 2
Device Control 3
Device Control 4
Negative Acknowledge
Synchronous Idle
End of Transmission Block
Cancel
End of Medium
Substitute
Escape
File Separator
Group Separator
Record Separator
Unit Separator
 


 

The standard ASCII character set uses just 7 bits for each character. There are several larger character sets that use 8 bits, which gives them 128 additional characters. The extra characters are used to represent non-English characters, graphics symbols, and mathematical symbols. Several companies and organizations have proposed extensions for these 128 characters. The DOS operating system uses a superset of ASCII called extended ASCII or high ASCII. A more universal standard is the ISO Latin 1 set of characters, which is used by many operating systems, as well as Web browsers.


Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort. ASCII was developed a long time ago and now the non-printing characters are rarely used for their original purpose. Below is the ASCII character table and this includes descriptions of the first 32 non-printing characters. ASCII was actually designed for use with teletypes and so the descriptions are somewhat obscure. If someone says they want your CV however in ASCII format, all this means is they want 'plain' text with no formatting such as tabs, bold or underscoring - the raw format that any computer can understand. This is usually so they can easily import the file into their own applications without issues. Notepad.exe creates ASCII text, or in MS Word you can save a file as 'text only'


Unlike the characters in word processing documents, allow no special formatting like different fonts, bold, underlined or italic text. All the characters used in email messages are ASCII characters and so are all the characters used in HTML documents. (Web browsers read the ASCII characters between angle brackets, "<" and ">", to interpret how to format and display HTML documents.)

An "ASCII file" is a data or text file that contains only characters coded from the standard ASCII character set. Characters 0 through 127 comprise the Standard ASCII Set and characters 128 to 255 are considered to be in the Extended ASCII Set. These codes, however, may not be the same in all computers and files containing these characters may not display or convert properly by another ASCII program.

Knowing something about ASCII can be helpful. ASCII files can be used as a common denominator for data conversions. For example, if program A can't convert its data to the format of program B, but both programs can input and output ASCII files, the conversion may be possible.

ASCII characters are the ones used to send and receive email. If you're familiar with email, you already know that formatting like italic type and underlines are not possible. Email transmissions are limited to ASCII characters and because of that, graphics files and documents with non-ASCII characters created in word processers, spreadsheet or database programs must be "ASCII-fied" and sent as email file attachments. When the files reach their destination they are "deASCII-fied" (i.e. decoded) and therefore, reconstructed to restore them for use.