ASCII Table

ASCII stands for American Standard Code for Information Interchange

It is a character encoding standard, also known as ASCII Code, plain text, ASCII format or ASCII symbols.

Below is the complete 7 bit ASCII character table and decimal equivalent.

 

DecChrDecChrDecChrDecChrDecChr
0NUL26SUB52478N104h
1SOH27ESC53579O105i
2STX28FS54680P106j
3ETX29GS55781Q107k
4EOT30RS56882R108l
5ENQ31US57983S109m
6ACK3258:84T110n
7BEL33!59;85U111o
8BS34"60<86V112p
9HT35#61=87W113q
10LF36$62>88X114r
11VT37%63?89Y115s
12FF38&64@90Z116t
13CR39'65A91[117u
14SO40(66B92\118v
15SI41)67C93]119w
16DLE42*68D94^120x
17DC143+69E95_121y
18DC244,70F96`122z
19DC345-71G97a123{
20DC446.72H98b124|
21NAK47/73I99c125}
22SYN48074J100d126~
23ETB49175K101e127DEL
24CAN50276L102f
25EM51377M103g

 

ASCII was originally created as a standard for sending text over phone lines, and first used with teleprinters back in 1963. It consists of 128 characters (7 bit).
Every ASCII character has an equivalent number, often used in programming languages such as Python.

The first 32 ASCII characters (0-31) and 127 (DEL) are actually commands historically used to control the teleprinter, such as the well known carriage return (13) and line feed (10). For this reason they are referred to as control characters, control codes or non printable characters.

The remainder of the 128 ASCII characters are the visible / printable characters most people would equate to plain text. These printable characters are often referred to as the ASCII Standard Character Set and include upper case letters, lower case letters, numbers and basic punctuation.

In the early days of computing before graphics advanced, these printable characters were used in volume to create and send pictures called ASCII Art.

Below is the same table with octal, binary, HTML entities and descriptions added. HTML entities are friendly names that are easier to remember than the ASCII code.

 

DecHexOctBinaryHTML CodeHTML NameCharacterDescription
00000000000000&#0;NULNull
10100100000001&#1;SOHStart of Heading
20200200000010&#2;STXStart of Text
30300300000011&#3;ETXEnd of Text
40400400000100&#4;EOTEnd of Transmission
50500500000101&#5;ENQEnquiry
60600600000110&#6;ACKAcknowledge
70700700000111&#7;BELBell
80801000001000&#8;BSBackspace
90901100001001&#9;HTHorizontal Tab
100A01200001010&#10;LFNL Line Feed, New Line
110B01300001011&#11;VTVertical Tab
120C01400001100&#12;FFNP Form Feed, New Page
130D01500001101&#13;CRCarriage Return
140E01600001110&#14;SOShift Out
150F01700001111&#15;SIShift In
161002000010000&#16;DLEData Link Escape
171102100010001&#17;DC1Device Control 1
181202200010010&#18;DC2Device Control 2
191302300010011&#19;DC3Device Control 3
201402400010100&#20;DC4Device Control 4
211502500010101&#21;NAKNegative Acknowledge
221602600010110&#22;SYNSynchronous Idle
231702700010111&#23;ETBEnd of Transmission Block
241803000011000&#24;CANCancel
251903100011001&#25;EMEnd of Medium
261A03200011010&#26;SUBSubstitute
271B03300011011&#27;ESCEscape
281C03400011100&#28;FSFile Separator
291D03500011101&#29;GSGroup Separator
301E03600011110&#30;RSRecord Separator
311F03700011111&#31;USUnit Separator
322004000100000&#32;(Space)Space
332104100100001&#33;&excl;!Exclamation Mark
342204200100010&#34;&quot;"Double Quote
352304300100011&#35;&num;#Hash or Number
362404400100100&#36;&dollar;$Dollar Sign
372504500100101&#37;&percnt;%Percentage
382604600100110&#38;&amp;&Ampersand
392704700100111&#39;&apos;'Single Quote
402805000101000&#40;&lpar;(Left Parenthesis
412905100101001&#41;&rpar;)Right Parenthesis
422A05200101010&#42;&ast;*Asterisk
432B05300101011&#43;&plus;+Plus Sign
442C05400101100&#44;&comma;,Comma
452D05500101101&#45;&minus;-Minus Sign
462E05600101110&#46;&period;.Period
472F05700101111&#47;&sol;/Slash
483006000110000&#48;0Zero
493106100110001&#49;1Number One
503206200110010&#50;2Number Two
513306300110011&#51;3Number Three
523406400110100&#52;4Number Four
533506500110101&#53;5Number Five
543606600110110&#54;6Number Six
553706700110111&#55;7Number Seven
563807000111000&#56;8Number Eight
573907100111001&#57;9Number Nine
583A07200111010&#58;&colon;:Colon
593B07300111011&#59;&semi;;Semicolon
603C07400111100&#60;&lt;<Less Than
613D07500111101&#61;&equals;=Equals Sign
623E07600111110&#62;&gt;>Greater Than
633F07700111111&#63;&quest;?Question Mark
644010001000000&#64;&commat;@At Sign
654110101000001&#65;AUpper Case Letter A
664210201000010&#66;BUpper Case Letter B
674310301000011&#67;CUpper Case Letter C
684410401000100&#68;DUpper Case Letter D
694510501000101&#69;EUpper Case Letter E
704610601000110&#70;FUpper Case Letter F
714710701000111&#71;GUpper Case Letter G
724811001001000&#72;HUpper Case Letter H
734911101001001&#73;IUpper Case Letter I
744A11201001010&#74;JUpper Case Letter J
754B11301001011&#75;KUpper Case Letter K
764C11401001100&#76;LUpper Case Letter L
774D11501001101&#77;MUpper Case Letter M
784E11601001110&#78;NUpper Case Letter N
794F11701001111&#79;OUpper Case Letter O
805012001010000&#80;PUpper Case Letter P
815112101010001&#81;QUpper Case Letter Q
825212201010010&#82;RUpper Case Letter R
835312301010011&#83;SUpper Case Letter S
845412401010100&#84;TUpper Case Letter T
855512501010101&#85;UUpper Case Letter U
865612601010110&#86;VUpper Case Letter V
875712701010111&#87;WUpper Case Letter W
885813001011000&#88;XUpper Case Letter X
895913101011001&#89;YUpper Case Letter Y
905A13201011010&#90;ZUpper Case Letter Z
915B13301011011&#91;&lsqb;[Left Square Bracket
925C13401011100&#92;&bsol;\Backslash
935D13501011101&#93;&rsqb;]Right Square Bracket
945E13601011110&#94;&hat;^Caret or Circumflex
955F13701011111&#95;&lowbar;_Underscore
966014001100000&#96;&grave;`Grave Accent
976114101100001&#97;aLower Case Letter a
986214201100010&#98;bLower Case Letter b
996314301100011&#99;cLower Case Letter c
1006414401100100&#100;dLower Case Letter d
1016514501100101&#101;eLower Case Letter e
1026614601100110&#102;fLower Case Letter f
1036714701100111&#103;gLower Case Letter g
1046815001101000&#104;hLower Case Letter h
1056915101101001&#105;iLower Case Letter i
1066A15201101010&#106;jLower Case Letter j
1076B15301101011&#107;kLower Case Letter k
1086C15401101100&#108;lLower Case Letter l
1096D15501101101&#109;mLower Case Letter m
1106E15601101110&#110;nLower Case Letter n
1116F15701101111&#111;oLower Case Letter o
1127016001110000&#112pLower Case Letter p
1137116101110001&#113;qLower Case Letter q
1147216201110010&#114;rLower Case Letter r
1157316301110011&#115;sLower Case Letter s
1167416401110100&#116;tLower Case Letter t
1177516501110101&#117;uLower Case Letter u
1187616601110110&#118;vLower Case Letter v
1197716701110111&#119;wLower Case Letter w
1207817001111000&#120;xLower Case Letter x
1217917101111001&#121;yLower Case Letter y
1227A17201111010&#122;zLower Case Letter z
1237B17301111011&#123;&lcub;{Left Curly Bracket
1247C17401111100&#124;&verbar;|Vertical Bar
1257D17501111101&#125;&rcub;}Right Curly Bracket
1267E17601111110&#126;&tilde;~Tilde
1277F17701111111&#127;DELDelete

Related Pages