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).

Note: One of the most commonly used HTML entities is &nbsp; (non-breaking space), which corresponds to Unicode character U+00A0 (decimal 160). This character prevents line breaks and is essential for web typography and layout.

ASCII: Control Characters

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

DecHexBinaryHTMLHTML NameCharDescription
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;&tab;HTHorizontal Tab
100A00001010&#10;&newline;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. The “HTML Name” column shows the named HTML entities that can be used instead of numeric codes for many common characters.

DecHexBinaryHTMLHTML NameCharDescription
322000100000&#32;&nbsp;spaceSpace
332100100001&#33;&excl;!Exclamation mark
342200100010&#34;&quot;Double quote
352300100011&#35;&num;#Number
362400100100&#36;&dollar;$Dollar sign
372500100101&#37;&percnt;%Percent
382600100110&#38;&amp;&Ampersand
392700100111&#39;&apos;Single quote
402800101000&#40;&lpar;(Left parenthesis
412900101001&#41;&rpar;)Right parenthesis
422A00101010&#42;&ast;*Asterisk
432B00101011&#43;&plus;+Plus
442C00101100&#44;&comma;,Comma
452D00101101&#45;&hyphen;Minus
462E00101110&#46;&period;.Period
472F00101111&#47;&sol;/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;&lt;<Less than
613D00111101&#61; =Equality sign
623E00111110&#62;&gt;>Greater than
633F00111111&#63; ?Question mark
644001000000&#64;&commat;@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. The “Description” column shows the official Unicode character names and descriptions for each extended character.

DecHexBinaryHTMLHTML NameCharDescription
1288010000000&#128;&euro;Euro sign
1298110000001    
1308210000010&#130;&sbquo;Single low-9 quotation mark
1318310000011&#131;&fnof;ƒLatin small letter f with hook
1328410000100&#132;&bdquo;Double low-9 quotation mark
1338510000101&#133;&hellip;Horizontal ellipsis
1348610000110&#134;&dagger;Dagger
1358710000111&#135;&dagger;Double dagger
1368810001000&#136;&circ;ˆModifier letter circumflex accent
1378910001001&#137;&permil;Per mille sign
1388A10001010&#138;&scaron;ŠLatin capital letter S with caron
1398B10001011&#139;&lsaquo;Less-than sign
1408C10001100&#140;&oelig;ŒLatin capital letter O with stroke and ogonek
1418D10001101    
1428E10001110&#142;&zcaron;ŽLatin capital letter Z with caron
1438F10001111    
1449010010000    
1459110010001&#145;&lsquo;Single left-pointing angle quotation mark
1469210010010&#146;&rsquo;Single right-pointing angle quotation mark
1479310010011&#147;&ldquo;Double left-pointing angle quotation mark
1489410010100&#148;&rdquo;Double right-pointing angle quotation mark
1499510010101&#149;&bull;Bullet
1509610010110&#150;&ndash;En dash
1519710010111&#151;&mdash;Em dash
1529810011000&#152;&tilde;˜Small tilde
1539910011001&#153;&trade;Trade mark sign
1549A10011010&#154;&scaron;šLatin small letter s with caron
1559B10011011&#155;&rsaquo;Greater-than sign
1569C10011100&#156;&oelig;œLatin small letter O with stroke and ogonek
1579D10011101    
1589E10011110&#158;&zcaron;žLatin small letter z with caron
1599F10011111&#159;&yuml;ŸLatin capital letter Y with diaeresis
160A010100000&#160;&nbsp; Non-breaking space
161A110100001&#161;&iexcl;¡Inverted exclamation mark
162A210100010&#162;&cent;¢Cent sign
163A310100011&#163;&pound;£Pound sign
164A410100100&#164;&curren;¤Currency sign
165A510100101&#165;&yen;¥Yen sign
166A610100110&#166;&brvbar;¦Vertical bar
167A710100111&#167;&sect;§Section sign
168A810101000&#168;&uml;¨Diaeresis
169A910101001&#169;&copy;©Copyright sign
170AA10101010&#170;&ordf;ªFeminine ordinal indicator
171AB10101011&#171;&laquo;«Left-pointing double angle quotation mark
172AC10101100&#172;&not;¬Negation sign
173AD10101101&#173;&shy;­Soft hyphen
174AE10101110&#174;&reg;®Registered trademark sign
175AF10101111&#175;&macr;¯Macron
176B010110000&#176;&deg;°Degree sign
177B110110001&#177;&plusmn;±Plus-minus sign
178B210110010&#178;&sup2;²Superscript two
179B310110011&#179;&sup3;³Superscript three
180B410110100&#180;&acute;´Acute accent
181B510110101&#181;&micro;µMicro sign
182B610110110&#182;&para;Paragraph sign
183B710110111&#183;&middot;·Middle dot
184B810111000&#184;&cedil;¸Cedilla
185B910111001&#185;&sup1;¹Superscript one
186BA10111010&#186;&ordm;ºFeminine ordinal indicator
187BB10111011&#187;&raquo;»Right-pointing double angle quotation mark
188BC10111100&#188;&frac14;¼One quarter
189BD10111101&#189;&frac12;½One half
190BE10111110&#190;&frac34;¾Three quarters
191BF10111111&#191;&iquest;¿Inverted question mark
192C011000000&#192;&agrave;ÀLatin capital letter A with grave
193C111000001&#193;&aacute;ÁLatin capital letter A with acute
194C211000010&#194;&acirc;ÂLatin capital letter A with circumflex
195C311000011&#195;&atilde;ÃLatin capital letter A with tilde
196C411000100&#196;&auml;ÄLatin capital letter A with diaeresis
197C511000101&#197;&aring;ÅLatin capital letter A with ring
198C611000110&#198;&aelig;ÆLatin capital letter A with ligature e
199C711000111&#199;&ccedil;ÇLatin capital letter C with cedilla
200C811001000&#200;&egrave;ÈLatin capital letter E with grave
201C911001001&#201;&eacute;ÉLatin capital letter E with acute
202CA11001010&#202;&ecirc;ÊLatin capital letter E with circumflex
203CB11001011&#203;&euml;ËLatin capital letter E with diaeresis
204CC11001100&#204;&igrave;ÌLatin capital letter I with grave
205CD11001101&#205;&iacute;ÍLatin capital letter I with acute
206CE11001110&#206;&icirc;ÎLatin capital letter I with circumflex
207CF11001111&#207;&iuml;ÏLatin capital letter I with diaeresis
208D011010000&#208;&eth;ÐLatin capital letter ETH
209D111010001&#209;&ntilde;ÑLatin capital letter N with tilde
210D211010010&#210;&ograve;ÒLatin capital letter O with grave
211D311010011&#211;&oacute;ÓLatin capital letter O with acute
212D411010100&#212;&ocirc;ÔLatin capital letter O with circumflex
213D511010101&#213;&otilde;ÕLatin capital letter O with tilde
214D611010110&#214;&ouml;ÖLatin capital letter O with diaeresis
215D711010111&#215;&times;×Multiplication sign
216D811011000&#216;&oslash;ØLatin capital letter O with stroke
217D911011001&#217;&ugrave;ÙLatin capital letter U with grave
218DA11011010&#218;&uacute;ÚLatin capital letter U with acute
219DB11011011&#219;&ucirc;ÛLatin capital letter U with circumflex
220DC11011100&#220;&uuml;ÜLatin capital letter U with diaeresis
221DD11011101&#221;&yacute;ÝLatin capital letter Y with acute
222DE11011110&#222;&thorn;ÞLatin capital letter THORN
223DF11011111&#223;&szlig;ßLatin small letter sharp s
224E011100000&#224;&agrave;àLatin small letter A with grave
225E111100001&#225;&aacute;áLatin small letter A with acute
226E211100010&#226;&acirc;âLatin small letter A with circumflex
227E311100011&#227;&atilde;ãLatin small letter A with tilde
228E411100100&#228;&auml;äLatin small letter A with diaeresis
229E511100101&#229;&aring;åLatin small letter A with ring
230E611100110&#230;&aelig;æLatin small letter A with ligature e
231E711100111&#231;&ccedil;çLatin small letter C with cedilla
232E811101000&#232;&egrave;èLatin small letter E with grave
233E911101001&#233;&eacute;éLatin small letter E with acute
234EA11101010&#234;&ecirc;êLatin small letter E with circumflex
235EB11101011&#235;&euml;ëLatin small letter E with diaeresis
236EC11101100&#236;&igrave;ìLatin small letter I with grave
237ED11101101&#237;&iacute;íLatin small letter I with acute
238EE11101110&#238;&icirc;îLatin small letter I with circumflex
239EF11101111&#239;&iuml;ïLatin small letter I with diaeresis
240F011110000&#240;&eth;ðLatin small letter ETH
241F111110001&#241;&ntilde;ñLatin small letter N with tilde
242F211110010&#242;&ograve;òLatin small letter O with grave
243F311110011&#243;&oacute;óLatin small letter O with acute
244F411110100&#244;&ocirc;ôLatin small letter O with circumflex
245F511110101&#245;&otilde;õLatin small letter O with tilde
246F611110110&#246;&ouml;öLatin small letter O with diaeresis
247F711110111&#247;&divide;÷Division sign
248F811111000&#248;&oslash;øLatin small letter O with stroke
249F911111001&#249;&ugrave;ùLatin small letter U with grave
250FA11111010&#250;&uacute;úLatin small letter U with acute
251FB11111011&#251;&ucirc;ûLatin small letter U with circumflex
252FC11111100&#252;&uuml;üLatin small letter U with diaeresis
253FD11111101&#253;&yacute;ýLatin small letter Y with acute
254FE11111110&#254;&thorn;þLatin small letter THORN
255FF11111111&#255;&yuml;ÿLatin small letter Y with diaeresis

0 Comments

Submit a Comment

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