ASCII Characterso |
ASCII Characters
Here is a table of the first 128 ASCII characters.
ASCII Value |
Chara cter |
ASCII Value |
Chara cter |
ASCII Value |
Chara cter |
ASCII Value |
Chara cter |
000 |
NUL |
032 |
blank |
064 |
@ |
096 |
` |
001 |
SOH |
033 |
! |
065 |
A |
097 |
a |
002 |
STX |
034 |
' |
066 |
B |
098 |
b |
003 |
ETX |
035 |
# |
067 |
C |
099 |
c |
004 |
EOT |
036 |
$ |
068 |
D |
100 |
d |
005 |
ENQ |
037 |
% |
069 |
E |
101 |
e |
006 |
ACK |
038 |
& |
070 |
F |
102 |
f |
007 |
BEL |
039 |
' |
071 |
G |
103 |
g |
008 |
BS |
040 |
( |
072 |
H |
104 |
h |
009 |
HT |
041 |
) |
073 |
I |
105 |
i |
010 |
LF |
042 |
* |
074 |
J |
106 |
j |
011 |
VT |
043 |
+ |
075 |
K |
107 |
k |
012 |
FF |
044 |
, |
076 |
L |
108 |
l |
013 |
CR |
045 |
- |
077 |
M |
109 |
m |
014 |
SO |
046 |
. |
078 |
N |
110 |
n |
015 |
DI |
047 |
/ |
079 |
O |
111 |
o |
016 |
DLE |
048 |
0 |
080 |
P |
112 |
p |
017 |
DC1 |
049 |
1 |
081 |
Q |
113 |
q |
018 |
DC2 |
050 |
2 |
082 |
R |
114 |
r |
019 |
DC3 |
051 |
3 |
083 |
S |
115 |
s |
020 |
DC4 |
052 |
4 |
084 |
T |
116 |
t |
021 |
NAK |
053 |
5 |
085 |
U |
117 |
u |
022 |
SYN |
054 |
6 |
086 |
V |
118 |
v |
023 |
ETB |
055 |
7 |
087 |
W |
119 |
w |
024 |
CAN |
056 |
8 |
088 |
X |
120 |
x |
025 |
EM |
057 |
9 |
089 |
Y |
121 |
y |
026 |
SUB |
058 |
: |
090 |
Z |
122 |
z |
027 |
ESC |
059 |
; |
091 |
[ |
123 |
{ |
028 |
FS |
060 |
< |
092 |
\ |
124 |
| |
029 |
GS |
061 |
= |
093 |
] |
125 |
} |
030 |
RS |
062 |
> |
094 |
Up Arrow |
126 |
~ |
031 |
US |
063 |
? |
095 |
_ |
127 |
DEL |
Some of the characters
above are "non-printing" characters, and some of them have escape sequence
representations in languages like C and various scripting languages (e.g.
ActionScript in Flash). Here are a few escape sequences that are important.
- \r - Carriage Return
- \n - Line Feed
- \t - Horizontal Tab
- \\ - Backslash
- \' - Single Qote
- \a - Alert (Bell)
|