James Joseph A Saquilabon
ASCII Code
ASCII stands for American Standard Code for Information Interchange. It's a 7-bit character code
where every single bit represents a unique character.
ASCII control characters (character code 0-31)
The first 32 characters in the ASCII-table are unprintable control codes and are used to control
peripherals such as printers.
DEC
OCT
HEX
BIN
Symbol
HTML Number
HTML Name
000
00
00000000
NUL
�
Null char
001
01
00000001
SOH

Start of Heading
002
02
00000010
STX

Start of Text
003
03
00000011
ETX

End of Text
004
04
00000100
EOT

End of Transmission
005
05
00000101
ENQ

Enquiry
006
06
00000110
ACK

Acknowledgment
007
07
00000111
BEL

Bell
010
08
00001000
BS

Back Space
011
09
00001001
HT
	
Horizontal Tab
10
012
0A
00001010
LF


Line Feed
11
013
0B
00001011
VT

Vertical Tab
12
014
0C
00001100
FF

Form Feed
13
015
0D
00001101
CR

Carriage Return
14
016
0E
00001110
SO

Shift Out / X-On
15
017
0F
00001111
SI

Shift In / X-Off
16
020
10
00010000
DLE

Data Line Escape
17
021
11
00010001
DC1

Device Control 1 (oft. XON)
18
022
12
00010010
DC2

Device Control 2
19
023
13
00010011
DC3

Device Control 3 (oft. XOFF)
20
024
14
00010100
DC4

Device Control 4
21
025
15
00010101
NAK

Negative Acknowledgement
22
026
16
00010110
SYN

Synchronous Idle
23
027
17
00010111
ETB

End of Transmit Block
24
030
18
00011000
CAN

Cancel
25
031
19
00011001
EM

End of Medium
26
032
1A
00011010
SUB

Substitute
27
033
1B
00011011
ESC

Escape
28
034
1C
00011100
FS

File Separator
29
035
1D
00011101
GS

Group Separator
30
036
1E
00011110
RS

Record Separator
31
037
1F
00011111
US

Unit Separator
ASCII printable characters (character code 32-67)
Description
Codes 32-127 are common for all the different variations of the ASCII table, they are
called printable characters, represent letters, digits, punctuation marks, and a few
miscellaneous symbols. You will find almost every character on your keyboard.
Character 127 represents the command DEL.
DEC
OCT
HEX
BIN
32
040
20
00100000
33
041
21
00100001
34
042
22
35
043
36
Symbol
HTML Number
HTML Name
Description
 
Space
!
Exclamation mark
00100010
"
"
23
00100011
#
Number
044
24
00100100
$
Dollar
37
045
25
00100101
%
38
046
26
00100110
&
&
39
047
27
00100111
'
'
Single quote
40
050
28
00101000
(
Open parenthesis (or open bracket)
41
051
29
00101001
)
Close parenthesis (or close bracket)
42
052
2A
00101010
*
Asterisk
43
053
2B
00101011
+
Plus
44
054
2C
00101100
,
Comma
45
055
2D
00101101
-
Hyphen
46
056
2E
00101110
.
Period, dot or full stop
47
057
2F
00101111
/
Slash or divide
48
060
30
00110000
0
Zero
49
061
31
00110001
1
One
50
062
32
00110010
2
Two
51
063
33
00110011
3
Three
52
064
34
00110100
4
Four
53
065
35
00110101
5
Five
54
066
36
00110110
6
Six
55
067
37
00110111
7
Seven
56
070
38
00111000
8
Eight
57
071
39
00111001
9
Nine
58
072
3A
00111010
:
Colon
59
073
3B
00111011
;
60
074
3C
00111100
<
<
61
075
3D
00111101
=
62
076
3E
00111110
>
>
63
077
3F
00111111
?
Question mark
64
100
40
01000000
@
At symbol
65
101
41
01000001
A
Uppercase A
66
102
42
01000010
B
Uppercase B
67
103
43
01000011
C
Uppercase C
"
Double quotes (or speech marks)
Procenttecken
&
Ampersand
Semicolon
<
Less than (or open angled bracket)
Equals
>
Greater than (or close angled bracket)