Site Logo

ASCII Codes

Website

Home | Previous | Next

American Standard Code for Information Interchange

The ASCII code has 128 standard characters and a further 128 characters that vary from machine to machine and country to country.

The first 128 ASCII characters are shown here.

 Dec 
  
  00  
  01  
  02  
  03  
  04  
  05  
  06  
  07  
  08  
  09  
  10  
  11  
  12  
  13  
  14  
  15  
Hex
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
00
00
Nul
           
Bel
Bak
Tab
LF
   
CR
   
16
10
                   
EOF
ESC
       
32
20
Spa
!
"
#
$
%
&
'
(
)
*
+
,
-
.
/
48
30
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
64
40
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
80
50
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
96
60
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
112
70
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~
Nul


The codes from 128 to 255 are not shown here.

Codes with special meanings to DOS, Printers, Teletype Machines and ANSI screens.

Decimal
   
0
Nul
NULL character. ( End of text string marker. )
7
Bel
Bell or beep character.
8
Bak
Backspace character.
9
Tab
TAB character.
10
LF
Line Feed (start a new line).
13
CR
Carriage Return code.
26
EOF
DOS End of text file code.
27
Esc
Escape code. It has special effects on older printers and ANSI screens. ANSI = American National Standards Institute.
32
Spa
Space Character.
255
Nul
NULL character.

 

Unicode

ASCII is being replaced by the 16 bit Unicode with 65536 characters that represent every text character in every country in the world including those used historically. Most new operating systems software packages support Unicode.

Home | Previous | Next

© C Neil Bauers 2003