ASCII Character Set

Overview

The ASCII character set defines 128 characters. Depending on the numbering system or encoding scheme, the ASCII character set will range as follows:

The ASCII character set is a subset of many other more recent and universal character sets. The first 32 values are non-printing control characters. The remaining 96 characters are print characters.

Control Characters (Decimal 0-31)

Control
Code
Oct Dec Hex Control Key Control Action HTML
Char
Entity
NUL 0 0 0 ^@ Null character �
SOH 1 1 1 ^A Start of heading 
STX 2 2 2 ^B Start of text 
ETX 3 3 3 ^C End of text 
EOT 4 4 4 ^D End of transmission 
ENQ 5 5 5 ^E Enquiry 
ACK 6 6 6 ^F Acknowledge 
BEL 7 7 7 ^G Bell 
BS 10 8 8 ^H Backspace 
HT 11 9 9 ^I Horizontal tab 	
LF 12 10 A ^J Line feed, New line 

VT 13 11 B ^K Vertical tab 
FF 14 12 C ^L Form Feed, New page 
CR 15 13 D ^M Carriage Return 
SO 16 14 E ^N Shift Out 
SI 17 15 F ^O Shift In 
DLE 20 16 10 ^P Data link escape 
DC1 21 17 11 ^Q Device control 1 
DC2 22 18 12 ^R Device control 2 
DC3 23 19 13 ^S Device control 3 
DC4 24 20 14 ^T Device control 4 
NAK 25 21 15 ^U Negative acknowledge 
SYN 26 22 16 ^V Synchronous idle 
ETB 27 23 17 ^W End transmission block (EOT) 
CAN 30 24 17 ^X Cancel line 
EM 31 25 19 ^Y End of medium 
SUB 32 26 1A ^Z Substitute 
ESC 33 27 1B ^[ Escape 
FS 34 28 1C ^\ File separator 
GS 35 29 1D ^] Group separator 
RS 36 30 1E ^^ Record separator 
US 37 31 1F ^_ Unit separator 

Printing Characters

Char Octal Dec Hex Description HTML
Char Entity
SP 40 32 20 Space  
! 41 33 21 Exclamation mark !
" 42 34 22 Quotation mark " or "
# 43 35 23 Pound sign (number sign) #
$ 44 36 24 Dollar sign $
% 45 37 25 Percent sign %
& 46 38 26 Ampersand & or &
` 47 39 27 Apostrophe '
( 50 40 28 Opening (left) parentheses (
) 51 41 29 Closing (right) parentheses )
* 52 42 2A Asterisk *
+ 53 43 2B Plus sign +
, 54 44 2C Comma ,
- 55 45 2D Hyphen -
. 56 46 2E Period .
/ 57 47 2F Forward slash, divide /
0 60 48 30 Zero 0
1 61 49 31 One 1
2 62 50 32 Two 2
3 63 51 33 Three 3
4 64 52 34 Four 4
5 65 53 35 Five 5
6 66 54 36 Six 6
7 67 55 37 Seven 7
8 70 56 38 Eight 8
9 71 57 39 Nine 9
: 72 58 3A Colon :
; 73 59 3B Semicolon &#059;
< 74 60 3C Less than sign &#060; or &lt;
= 75 61 3D Equal sign &#061;
> 76 62 3E Greater than sign &#062; or &gt;
? 77 63 3F Question mark &#063;
@ 100 64 40 Commercial at-sign &#064;
A 101 65 41 Uppercase A &#065;
B 102 66 42 Uppercase B &#066;
C 103 67 43 Uppercase C &#067;
D 104 68 44 Uppercase D &#068;
E 105 69 45 Uppercase E &#069;
F 106 70 46 Uppercase F &#070;
G 107 71 47 Uppercase G &#071;
H 110 72 48 Uppercase H &#072;
I 111 73 49 Uppercase I &#073;
J 112 74 4A Uppercase J &#074;
K 113 75 4B Uppercase K &#075;
L 114 76 4C Uppercase L &#076;
M 115 77 4D Uppercase M &#077;
N 116 78 4E Uppercase N &#078;
O 117 79 4F Uppercase O &#079;
P 120 80 50 Uppercase P &#080;
Q 121 81 51 Uppercase Q &#081;
R 122 82 52 Uppercase R &#082;
S 123 83 53 Uppercase S &#083;
T 124 84 54 Uppercase T &#084;
U 125 85 55 Uppercase U &#085;
V 126 86 56 Uppercase V &#086;
W 127 87 57 Uppercase W &#087;
X 130 88 58 Uppercase X &#088;
Y 131 89 59 Uppercase Y &#089;
Z 132 90 5A Uppercase Z &#090;
[ 133 91 5B Opening (left) square bracket &#091;
\ 134 92 5C Reverse slant (Back slash) &#092;
] 135 93 5D Closing (right) square bracket &#093;
^ 136 94 5E Caret (Circumflex) &#094;
_ 137 95 5F Horizontal bar (Underscore) &#095;
` 140 96 60 Opening single quote &#096;
a 141 97 61 Lowercase a &#097;
b 142 98 62 Lowercase b &#098;
c 143 99 63 Lowercase c &#099;
d 144 100 64 Lowercase d &#100;
e 145 101 65 Lowercase e &#101;
f 146 102 66 Lowercase f &#102;
g 147 103 67 Lowercase g &#103;
h 150 104 68 Lowercase h &#104;
i 151 105 69 Lowercase i &#105;
j 152 106 6A Lowercase j &#106;
k 153 107 6B Lowercase k &#107;
l 154 108 6C Lowercase l &#108;
m 155 109 6D Lowercase m &#109;
n 156 110 6E Lowercase n &#110;
o 157 111 6F Lowercase o &#111;
p 160 112 70 Lowercase p &#112;
q 161 113 71 Lowercase q &#113;
r 162 114 72 Lowercase r &#114;
s 163 115 73 Lowercase s &#115;
t 164 116 74 Lowercase t &#116;
u 165 117 75 Lowercase u &#117;
v 166 118 76 Lowercase v &#118;
w 167 119 77 Lowercase w &#119;
x 170 120 78 Lowercase x &#120;
y 171 121 79 Lowercase y &#121;
z 172 122 7A Lowercase z &#122;
{ 173 123 7B Opening (left) curly brace &#123;
| 174 124 7C Vertical bar &#124;
} 175 125 7D Cloing (right) curly brace &#125;
~ 176 126 7E Tilde &#126;
DEL 177 127 7F Delete (rubout), cross-hatch box &#127;


Top            

Rx4AJAX        About Us | Contact Us | Privacy Policy | 2008 This Site Built By PPThompson