ascii

C++ Reference

ASCII Chart

The following chart contains the first 128 ASCII decimal, octal, hexadecimal and character codes.

DecimalOctalHexCharacterDescription
0000NUL
1101SOHstart of header
2202STXstart of text
3303ETXend of text
4404EOTend of transmission
5505ENQenquiry
6606ACKacknowledge
7707BELbell
81008BSbackspace
91109HThorizontal tab
10120ALFline feed
11130BVTvertical tab
12140CFFform feed
13150DCRcarriage return
14160ESOshift out
15170FSIshift in
162010DLEdata link escape
172111DC1no assignment, but usually XON
182212DC2
192313DC3no assignment, but usually XOFF
202414DC4
212515NAKnegative acknowledge
222616SYNsynchronous idle
232717ETBend of transmission block
243018CANcancel
253119EMend of medium
26321ASUBsubstitute
27331BESCescape
28341CFSfile separator
29351DGSgroup separator
30361ERSrecord separator
31371FUSunit separator
324020SPCspace
334121!
344222
354323#
364424$
374525%
384626&
394727'
405028(
415129)
42522A*
43532B+
44542C,
45552D-
46562E.
47572F/
4860300
4961311
5062322
5163333
5264344
5365355
5466366
5567377
5670388
5771399
58723A:
59733B;
60743C<
61753D=
62763E>
63773F?
6410040@
6510141A
6610242B
6710343C
6810444D
6910545E
7010646F
7110747G
7211048H
7311149I
741124AJ
751134BK
761144CL
771154DM
781164EN
791174FO
8012050P
8112151Q
8212252R
8312353S
8412454T
8512555U
8612656V
8712757W
8813058X
8913159Y
901325AZ
911335B[
921345C\
931355D]
941365E^
951375F_
9614060`
9714161a
9814262b
9914363c
10014464d
10114565e
10214666f
10314767g
10415068h
10515169i
1061526Aj
1071536Bk
1081546Cl
1091556Dm
1101566En
1111576Fo
11216070p
11316171q
11416272r
11516373s
11616474t
11716575u
11816676v
11916777w
12017078x
12117179y
1221727Az
1231737B{
1241747C|
1251757D}
1261767E~
1271777FDELdelete