ASCII (American Standard Code for Information Interchange) is the most common format for text files in computers and on the Internet. In an ASCII file, each alphabetic, numeric, or special character is represented with a 7-bit binary number (a string of seven 0's or 1's). 128 possible characters are defined.
ASCII Codes can be split in to the fallowing sections:
a) Numbers
b) Alphabets (Upper case & Lower case)
c) Special characters
d) Special keys
e) Function keys
ASCII codes of Numbers
|
||
Number
|
ASCII Code
|
Description
|
0
|
48
|
Zero
|
1
|
49
|
One
|
2
|
50
|
Two
|
3
|
51
|
Three
|
4
|
52
|
Four
|
5
|
53
|
Five
|
6
|
54
|
Six
|
7
|
55
|
Seven
|
8
|
56
|
Eight
|
9
|
57
|
Night
|
ASCII Code of Alphabets
|
||
Upper case (A to Z)
|
||
Alphabets
|
ASCII Code
|
Description
|
A
|
65
|
Uppercase
A
|
B
|
66
|
Uppercase
B
|
C
|
67
|
Uppercase
C
|
D
|
68
|
Uppercase
D
|
E
|
69
|
Uppercase
E
|
F
|
70
|
Uppercase
F
|
G
|
71
|
Uppercase
G
|
H
|
72
|
Uppercase
H
|
I
|
73
|
Uppercase
I
|
J
|
74
|
Uppercase
J
|
K
|
75
|
Uppercase
K
|
L
|
76
|
Uppercase
L
|
M
|
77
|
Uppercase
M
|
N
|
78
|
Uppercase
N
|
O
|
79
|
Uppercase
O
|
P
|
80
|
Uppercase
P
|
Q
|
81
|
Uppercase
Q
|
R
|
82
|
Uppercase
R
|
S
|
83
|
Uppercase
S
|
T
|
84
|
Uppercase
T
|
U
|
85
|
Uppercase
U
|
V
|
86
|
Uppercase
V
|
W
|
87
|
Uppercase
W
|
X
|
88
|
Uppercase
X
|
Y
|
89
|
Uppercase
Y
|
Z
|
90
|
Uppercase
Z
|
Lower case (a to z)
|
||
Alphabets
|
ASCII Code
|
Description
|
a
|
97
|
Lowercase
a
|
b
|
98
|
Lowercase
b
|
c
|
99
|
Lowercase
c
|
d
|
100
|
Lowercase
d
|
e
|
101
|
Lowercase
e
|
F
|
102
|
Lowercase
f
|
g
|
103
|
Lowercase
g
|
H
|
104
|
Lowercase
h
|
i
|
105
|
Lowercase
i
|
j
|
106
|
Lowercase
j
|
k
|
107
|
Lowercase
k
|
l
|
108
|
Lowercase
l
|
M
|
109
|
Lowercase
m
|
N
|
110
|
Lowercase
n
|
o
|
111
|
Lowercase
o
|
p
|
112
|
Lowercase
p
|
q
|
113
|
Lowercase
q
|
r
|
114
|
Lowercase
r
|
s
|
115
|
Lowercase
s
|
t
|
116
|
Lowercase
t
|
u
|
117
|
Lowercase
u
|
v
|
118
|
Lowercase
v
|
W
|
119
|
Lowercase
w
|
y
|
121
|
Lowercase
y
|
Z
|
122
|
Lowercase
z
|
Special characters
|
||
Symbol
|
ASCII Code
|
Description
|
!
|
33
|
Exclamation
mark
|
"
|
34
|
Quotation
mark
|
#
|
35
|
Cross
hatch (number sign)
|
$
|
36
|
Dollar
sign
|
%
|
37
|
Percent
sign
|
&
|
38
|
Ampersand
|
'
|
39
|
Single
quote
|
(
|
40
|
Opening
parentheses
|
)
|
41
|
Closing
parentheses
|
*
|
42
|
Asterisk
|
+
|
43
|
Plus
|
,
|
44
|
Comma
|
-
|
45
|
Hyphen,
dash, minus
|
.
|
46
|
Period
|
/
|
47
|
Forward
slash
|
:
|
58
|
Colon
|
;
|
59
|
Semicolon
|
<
|
60
|
Less
than sign
|
=
|
61
|
Equals
sign
|
>
|
62
|
Greater
than sign
|
?
|
63
|
Question
mark
|
@
|
64
|
At-sign
|
[
|
91
|
Opening
square bracket
|
\
|
92
|
Backslash
|
]
|
93
|
Closing
square bracket
|
^
|
94
|
Caret
(Circumflex)
|
_
|
95
|
Underscore
|
`
|
96
|
Back
quote
|
{
|
123
|
Opening
curly brace
|
|
|
124
|
Vertical
line
|
}
|
125
|
Closing
curly brace
|
~
|
126
|
Tilde
|
ASCII code of Special keys
|
|
Special keys
|
ASCII Code
|
Tab
|
9
|
Shift + tab
|
143
|
Enter
|
13
|
Down arrow
|
208
|
Up arrow
|
200
|
Left arrow
|
203
|
Right arrow
|
205
|
Back space
|
8
|
Delete
|
211
|
End
|
207
|
Home
|
199
|
Insert
|
210
|
Page up
|
201
|
Page down
|
209
|
Space bar
|
32
|
Escape
|
27
|
ASCII code of Function keys (F1 to F12)
|
|
Function keys
|
ASCII Code
|
F1
|
187
|
F2
|
188
|
F3
|
189
|
F4
|
190
|
F5
|
191
|
F6
|
192
|
F7
|
193
|
F8
|
194
|
F9
|
195
|
F10
|
196
|
F11
|
261
|
F12
|
262
|
__________________________________________________________________________________
__________________________________________________________________________________
Post a Comment