ASCI Character Codes

Sep, 2025 | Web Development | 0 comments

What is ASCII?

ASCII stands for “American Standard Code for Information Interchange”. The primary reason behind the development of ASCII was for encoding text into a common format. Therefore, computers and humans can easily understand it. It has a unique code assigned to every character.

NOTE: Some characters are part of the Unicode character set, so you need to declare that in the head of your documents: <meta http-equiv="content-type" content="text/html;charset=utf-8" />

Types of ASCII Characters

The complete ASCII Table (from 0 to 255) includes different kinds of characters having their own implementation rules.

  • Control Characters: Characters ranging from 0 to 31 are known as unprintable control codes. They are used to controlling peripherals like printers.
  • Printable Characters: Characters ranging from 32 to 127 are known as printable characters. They are used in encoding letters, numbers, special characters, punctuation marks, and some symbols. Most of these characters are present on the keyboard.
  • Extended ASCII Characters: Codes ranging from 128 to 255 comes under the 8-bit called extended ASCII codes. These are high-end encoding characters that are based on adhering to the Windows-1252.

The standard ASCII table contains a total of 127 characters. It includes alphabets, digits, symbols, and control characters. Moreover, the extended ASCII code table contains a total of 255 codes and it’s used for higher-level encoding.

The extended ASCII table contains codes to fulfill the requirement of diacritics (the mark that we see above or along with the characters).

ASCII: Control Characters

Characters ranging from 0 to 31 are known as unprintable control codes. They are used to controlling peripherals like printers.

DecHexBinaryHTMLCharDescription
00000000000&#0;NULNull
10100000001&#1;SOHStart of Header
20200000010&#2;STXStart of Text
30300000011&#3;ETXEnd of Text
40400000100&#4;EOTEnd of Transmission
50500000101&#5;ENQEnquiry
60600000110&#6;ACKAcknowledge
70700000111&#7;BELBell
80800001000&#8;BSBackspace
90900001001&#9;HTHorizontal Tab
100A00001010&#10;LFLine Feed
110B00001011&#11;VTVertical Tab
120C00001100&#12;FFForm Feed
130D00001101&#13;CRCarriage Return
140E00001110&#14;SOShift Out
150F00001111&#15;SIShift In
161000010000&#16;DLEData Link Escape
171100010001&#17;DC1Device Control 1
181200010010&#18;DC2Device Control 2
191300010011&#19;DC3Device Control 3
201400010100&#20;DC4Device Control 4
211500010101&#21;NAKNegative Acknowledge
221600010110&#22;SYNSynchronize
231700010111&#23;ETBEnd of Transmission Block
241800011000&#24;CANCancel
251900011001&#25;EMEnd of Medium
261A00011010&#26;SUBSubstitute
271B00011011&#27;ESCEscape
281C00011100&#28;FSFile Separator
291D00011101&#29;GSGroup Separator
301E00011110&#30;RSRecord Separator
311F00011111&#31;USUnit Separator

ASCII: Printable Characters

Characters ranging from 32 to 127 are known as printable characters and are used in encoding letters, numbers, special characters, punctuation marks, and some symbols.

DecHexBinaryHTMLCharDescription
322000100000&#32;spaceSpace
332100100001&#33;!Exclamation mark
342200100010&#34;Double quote
352300100011&#35;#Number
362400100100&#36;$Dollar sign
372500100101&#37;%Percent
382600100110&#38;&Ampersand
392700100111&#39;Single quote
402800101000&#40;(Left parenthesis
412900101001&#41;)Right parenthesis
422A00101010&#42;*Asterisk
432B00101011&#43;+Plus
442C00101100&#44;,Comma
452D00101101&#45;Minus
462E00101110&#46;.Period
472F00101111&#47;/Slash
483000110000&#48;0Zero
493100110001&#49;1One
503200110010&#50;2Two
513300110011&#51;3Three
523400110100&#52;4Four
533500110101&#53;5Five
543600110110&#54;6Six
553700110111&#55;7Seven
563800111000&#56;8Eight
573900111001&#57;9Nine
583A00111010&#58;:Colon
593B00111011&#59;;Semicolon
603C00111100&#60;<Less than
613D00111101&#61;=Equality sign
623E00111110&#62;>Greater than
633F00111111&#63;?Question mark
644001000000&#64;@At sign
654101000001&#65;ACapital A
664201000010&#66;BCapital B
674301000011&#67;CCapital C
684401000100&#68;DCapital D
694501000101&#69;ECapital E
704601000110&#70;FCapital F
714701000111&#71;GCapital G
724801001000&#72;HCapital H
734901001001&#73;ICapital I
744A01001010&#74;JCapital J
754B01001011&#75;KCapital K
764C01001100&#76;LCapital L
774D01001101&#77;MCapital M
784E01001110&#78;NCapital N
794F01001111&#79;OCapital O
805001010000&#80;PCapital P
815101010001&#81;QCapital Q
825201010010&#82;RCapital R
835301010011&#83;SCapital S
845401010100&#84;TCapital T
855501010101&#85;UCapital U
865601010110&#86;VCapital V
875701010111&#87;WCapital W
885801011000&#88;XCapital X
895901011001&#89;YCapital Y
905A01011010&#90;ZCapital Z
915B01011011&#91;[Left square bracket
925C01011100&#92;\Backslash
935D01011101&#93;]Right square bracket
945E01011110&#94;^Caret / circumflex
955F01011111&#95;_Underscore
966001100000&#96;`Grave / accent
976101100001&#97;aSmall a
986201100010&#98;bSmall b
996301100011&#99;cSmall c
1006401100100&#100;dSmall d
1016501100101&#101;eSmall e
1026601100110&#102;fSmall f
1036701100111&#103;gSmall g
1046801101000&#104;hSmall h
1056901101001&#105;iSmall i
1066A01101010&#106;jSmall j
1076B01101011&#107;kSmall k
1086C01101100&#108;lSmall l
1096D01101101&#109;mSmall m
1106E01101110&#110;nSmall n
1116F01101111&#111;oSmall o
1127001110000&#112;pSmall p
1137101110001&#113;qSmall q
1147201110010&#114;rSmall r
1157301110011&#115;sSmall s
1167401110100&#116;tSmall t
1177501110101&#117;uSmall u
1187601110110&#118;vSmall v
1197701110111&#119;wSmall w
1207801111000&#120;xSmall x
1217901111001&#121;ySmall y
1227A01111010&#122;zSmall z
1237B01111011&#123;{Left curly bracket
1247C01111100&#124;|Vertical bar
1257D01111101&#125;}Right curly bracket
1267E01111110&#126;~Tilde
1277F01111111&#127;DELDelete

ASCII: Extended Characters

Codes ranging from 128 to 255 comes under the 8-bit called extended ASCII codes.

DecHexBinaryCharHTMLHTML Name
1288010000000&#128;&euro;
1298110000001   
1308210000010&#130;&sbquo;
1318310000011ƒ&#131;&fnof;
1328410000100&#132;&bdquo;
1338510000101&#133;&hellip;
1348610000110&#134;&dagger;
1358710000111&#135;&Dagger;
1368810001000ˆ&#136;&circ;
1378910001001&#137;&permil;
1388A10001010Š&#138;&Scaron;
1398B10001011&#139;&lsaquo;
1408C10001100Œ&#140;&OElig;
1418D10001101   
1428E10001110Ž&#142; 
1438F10001111   
1449010010000   
1459110010001&#145;&lsquo;
1469210010010&#146;&rsquo;
1479310010011&#147;&ldquo;
1489410010100&#148;&rdquo;
1499510010101&#149;&bull;
1509610010110&#150;&ndash;
1519710010111&#151;&mdash;
1529810011000˜&#152;&tilde;
1539910011001&#153;&trade;
1549A10011010š&#154;&scaron;
1559B10011011&#155;&rsaquo;
1569C10011100œ&#156;&oelig;
1579D10011101   
1589E10011110ž&#158; 
1599F10011111Ÿ&#159;&Yuml;
160A010100000 &#160;&nbsp;
161A110100001¡&#161;&iexcl;
162A210100010¢&#162;&cent;
163A310100011£&#163;&pound;
164A410100100¤&#164;&curren;
165A510100101¥&#165;&yen;
166A610100110¦&#166;&brvbar;
167A710100111§&#167;&sect;
168A810101000¨&#168;&uml;
169A910101001©&#169;&copy;
170AA10101010ª&#170;&ordf;
171AB10101011«&#171;&laquo;
172AC10101100¬&#172;&not;
173AD10101101­&#173;&shy;
174AE10101110®&#174;&reg;
175AF10101111¯&#175;&macr;
176B010110000°&#176;&deg;
177B110110001±&#177;&plusmn;
178B210110010²&#178;&sup2;
179B310110011³&#179;&sup3;
180B410110100´&#180;&acute;
181B510110101µ&#181;&micro;
182B610110110&#182;&para;
183B710110111·&#183;&middot;
184B810111000¸&#184;&cedil;
185B910111001¹&#185;&sup1;
186BA10111010º&#186;&ordm;
187BB10111011»&#187;&raquo;
188BC10111100¼&#188;&frac14;
189BD10111101½&#189;&frac12;
190BE10111110¾&#190;&frac34;
191BF10111111¿&#191;&iquest;
192C011000000À&#192;&Agrave;
193C111000001Á&#193;&Aacute;
194C211000010Â&#194;&Acirc;
195C311000011Ã&#195;&Atilde;
196C411000100Ä&#196;&Auml;
197C511000101Å&#197;&Aring;
198C611000110Æ&#198;&AElig;
199C711000111Ç&#199;&Ccedil;
200C811001000È&#200;&Egrave;
201C911001001É&#201;&Eacute;
202CA11001010Ê&#202;&Ecirc;
203CB11001011Ë&#203;&Euml;
204CC11001100Ì&#204;&Igrave;
205CD11001101Í&#205;&Iacute;
206CE11001110Î&#206;&Icirc;
207CF11001111Ï&#207;&Iuml;
208D011010000Ð&#208;&ETH;
209D111010001Ñ&#209;&Ntilde;
210D211010010Ò&#210;&Ograve;
211D311010011Ó&#211;&Oacute;
212D411010100Ô&#212;&Ocirc;
213D511010101Õ&#213;&Otilde;
214D611010110Ö&#214;&Ouml;
215D711010111×&#215;&times;
216D811011000Ø&#216;&Oslash;
217D911011001Ù&#217;&Ugrave;
218DA11011010Ú&#218;&Uacute;
219DB11011011Û&#219;&Ucirc;
220DC11011100Ü&#220;&Uuml;
221DD11011101Ý&#221;&Yacute;
222DE11011110Þ&#222;&THORN;
223DF11011111ß&#223;&szlig;
224E011100000à&#224;&agrave;
225E111100001á&#225;&aacute;
226E211100010â&#226;&acirc;
227E311100011ã&#227;&atilde;
228E411100100ä&#228;&auml;
229E511100101å&#229;&aring;
230E611100110æ&#230;&aelig;
231E711100111ç&#231;&ccedil;
232E811101000è&#232;&egrave;
233E911101001é&#233;&eacute;
234EA11101010ê&#234;&ecirc;
235EB11101011ë&#235;&euml;
236EC11101100ì&#236;&igrave;
237ED11101101í&#237;&iacute;
238EE11101110î&#238;&icirc;
239EF11101111ï&#239;&iuml;
240F011110000ð&#240;&eth;
241F111110001ñ&#241;&ntilde;
242F211110010ò&#242;&ograve;
243F311110011ó&#243;&oacute;
244F411110100ô&#244;&ocirc;
245F511110101õ&#245;&otilde;
246F611110110ö&#246;&ouml;
247F711110111÷&#247;&divide;
248F811111000ø&#248;&oslash;
249F911111001ù&#249;&ugrave;
250FA11111010ú&#250;&uacute;
251FB11111011û&#251;&ucirc;
252FC11111100ü&#252;&uuml;
253FD11111101ý&#253;&yacute;
254FE11111110þ&#254;&thorn;
255FF11111111ÿ&#255;&yuml;

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *