ASCII / HTML Codes

ASCII makes use of a 7-bit representation and includes character codes 0 through 127. Additional 8-bit codes from 128 through 255 are defined within the ISO-8859-1 or Windows-1252 character sets. These extensions are shown lower down. This table also includes names and numeric codes for HTML entities.

Dec Octal Hex Symbol HTML Number HTML Name Description
0 000 00 NUL Null
1 001 01 SOH Start of heading
2 002 02 STX Start of text
3 003 03 ETX End of text
4 004 04 EOT End of transmission
5 005 05 ENQ Enquiry
6 006 06 ACK Acknowledge
7 007 07 BEL Bell
8 010 08 BS Backspace
9 011 09 TAB Horizontal tab
10 012 0A LF Line feed (new line)
11 013 0B VT Vertical tab
12 014 0C FF Form feed (new page)
13 015 0D CR Carriage return
14 016 0E SO Shift out
15 017 0F SI Shift in
16 020 10 DLE Data link escape
17 021 11 DC1 Device control 1
18 022 12 DC2 Device control 2
19 023 13 DC3 Device control 3
20 024 14 DC4 Device control 4
21 025 15 NAK Negative acknowledge
22 026 16 SYN Synchronous idle
23 027 17 ETB End of transmission block
24 030 18 CAN Cancel
25 031 19 EM End of medium
26 032 1A SUB Substitute
27 033 1B ESC Escape
28 034 1C FS File separator
29 035 1D GS Group separator
30 036 1E RS Record separator
31 037 1F US Unit separator
32 040 20 Space   Space
33 041 21 ! ! ! Exclamation mark
34 042 22 " " Double quotation
35 043 23 # # # Number sign
36 044 24 $ $ $ Dollar sign
37 045 25 % % % Percent sign
38 046 26 & & & Ampersand
39 047 27 ' ' Apostrophe
40 050 28 ( ( ( Left parenthesis
41 051 29 ) ) ) Right parenthesis
42 052 2A * * * Asterisk
43 053 2B + + + Plus sign
44 054 2C , , , Comma
45 055 2D - − Minus sign
46 056 2E . . . Period
47 057 2F / / / Forward slash
48 060 30 0 0 0
49 061 31 1 1 1
50 062 32 2 2 2
51 063 33 3 3 3
52 064 34 4 4 4
53 065 35 5 5 5
54 066 36 6 6 6
55 067 37 7 7 7
56 070 38 8 8 8
57 071 39 9 9 9
58 072 3A : : : Colon
59 073 3B ; &#59; ; Semicolon
60 074 3C < &#60; &lt; Less-than sign
61 075 3D = &#61; &equals; Equals sign
62 076 3E > &#62; &gt; Greater-than sign
63 077 3F ? &#63; &quest; Question mark
64 100 40 @ &#64; &commat; At sign
65 101 41 A &#65; Uppercase letter
66 102 42 B &#66; Uppercase letter
67 103 43 C &#67; Uppercase letter
68 104 44 D &#68; Uppercase letter
69 105 45 E &#69; Uppercase letter
70 106 46 F &#70; Uppercase letter
71 107 47 G &#71; Uppercase letter
72 110 48 H &#72; Uppercase letter
73 111 49 I &#73; Uppercase letter
74 112 4A J &#74; Uppercase letter
75 113 4B K &#75; Uppercase letter
76 114 4C L &#76; Uppercase letter
77 115 4D M &#77; Uppercase letter
78 116 4E N &#78; Uppercase letter
79 117 4F O &#79; Uppercase letter
80 120 50 P &#80; Uppercase letter
81 121 51 Q &#81; Uppercase letter
82 122 52 R &#82; Uppercase letter
83 123 53 S &#83; Uppercase letter
84 124 54 T &#84; Uppercase letter
85 125 55 U &#85; Uppercase letter
86 126 56 V &#86; Uppercase letter
87 127 57 W &#87; Uppercase letter
88 130 58 X &#88; Uppercase letter
89 131 59 Y &#89; Uppercase letter
90 132 5A Z &#90; Uppercase letter
91 133 5B [ &#91; &lsqb; Left square bracket
92 134 5C \ &#92; &bsol; Backslash
93 135 5D ] &#93; &rsqb; Right square bracket
94 136 5E ^ &#94; Caret
95 137 5F _ &#95; &lowbar; Underscore
96 140 60 ` &#96; &grave; Backward quote
97 141 61 a &#97; Lowercase letter
98 142 62 b &#98; Lowercase letter
99 143 63 c &#99; Lowercase letter
100 144 64 d &#100; Lowercase letter
101 145 65 e &#101; Lowercase letter
102 146 66 f &#102; Lowercase letter
103 147 67 g &#103; Lowercase letter
104 150 68 h &#104; Lowercase letter
105 151 69 i &#105; Lowercase letter
106 152 6A j &#106; Lowercase letter
107 153 6B k &#107; Lowercase letter
108 154 6C l &#108; Lowercase letter
109 155 6D m &#109; Lowercase letter
110 156 6E n &#110; Lowercase letter
111 157 6F o &#111; Lowercase letter
112 160 70 p &#112; Lowercase letter
113 161 71 q &#113; Lowercase letter
114 162 72 r &#114; Lowercase letter
115 163 73 s &#115; Lowercase letter
116 164 74 t &#116; Lowercase letter
117 165 75 u &#117; Lowercase letter
118 166 76 v &#118; Lowercase letter
119 167 77 w &#119; Lowercase letter
120 170 78 x &#120; Lowercase letter
121 171 79 y &#121; Lowercase letter
122 172 7A z &#122; Lowercase letter
123 173 7B { &#123; &lcub; Left curly brace
124 174 7C | &#124; &verbar; Vertical bar
125 175 7D } &#125; &rcub; Right curly brace
126 176 7E ~ &#126; Tilde
127 177 7F DEL Delete

 

ISO-8859-1 / Windows-1252 Extensions

The 8-bit extension of ASCII to character codes 128 through 255 includes two ranges. The range of codes from 160 through 255 is defined by both ISO-8859-1 and Windows-1252, whereas the range from 128 throuh 159 includes characters that are only defined by Windows-1252. Most browsers are able to display the extra Windows characters even if the web page character set is set to ISO-8859-1.

Dec Octal Hex Symbol HTML Number HTML Name Description
128 200 80 &#8364; &euro; Euro sign
129 201 81 Not printable
130 202 82 &#8218; &sbquo; Open lower single quote
131 203 83 ƒ &#402; &fnof; Function or florin
132 204 84 &#8222; &bdquo; Open lower double quote
133 205 85 &#8230; &hellip; Ellipsis
134 206 86 &#8224; &dagger; Dagger
135 207 87 &#8225; &Dagger; Double dagger
136 210 88 ˆ &#710; &circ; Circumflex accent
137 211 89 &#8240; &permil; Per-mille sign
138 212 8A Š &#352; &Scaron; S caron
139 213 8B &#8249; &lsaquo; Open angle quote
140 214 8C Π&#338; &OElig; OE ligature
141 215 8D Not printable
142 216 8E Ž &#381; &Zcaron; Z caron
143 217 8F Not printable
144 220 90 Not printable
145 221 91 &#8216; &lsquo; Open single quote
146 222 92 &#8217; &rsquo; Close single quote
147 223 93 &#8220; &ldquo; Open double quote
148 224 94 &#8221; &rdquo; Close double quote
149 225 95 &#8226; &bull; Bullet
150 226 96 &#8211; &ndash; En dash
151 227 97 &#8212; &mdash; Em dash
152 230 98 ˜ &#732; &tilde; Tilde accent
153 231 99 &#8482; &trade; Trademark
154 232 9A š &#353; &scaron; s caron
155 233 9B &#8250; &rsaquo; Close angle quote
156 234 9C œ &#339; &oelig; oe ligature
157 235 9D Not printable
158 236 9E ž &#382; &zcaron; z caron
159 237 9F Ÿ &#376; &Yuml; Y diaeresis
160 240 A0 NBSP &#160; &nbsp; Non-breaking space
161 241 A1 ¡ &#161; &iexcl; Inverted exclamation
162 242 A2 ¢ &#162; &cent; Cent sign
163 243 A3 £ &#163; &pound; Pound sterling
164 244 A4 ¤ &#164; &curren; Currency symbol
165 245 A5 ¥ &#165; &yen; Yen or yuan sign
166 246 A6 ¦ &#166; &brvbar; Broken vertical bar
167 247 A7 § &#167; &sect; Section sign
168 250 A8 ¨ &#168; &uml; Diaeresis/umlaut accent
169 251 A9 © &#169; &copy; Copyright
170 252 AA ª &#170; &ordf; Feminine ordinal
171 253 AB « &#171; &laquo; Open double angle quote
172 254 AC ¬ &#172; &not; Logical not sign
173 255 AD SHY &#173; &shy; Soft hyphen
174 256 AE ® &#174; &reg; Registered trademark
175 257 AF ¯ &#175; &macr; Macron accent
176 260 B0 ° &#176; &deg; Degree sign
177 261 B1 ± &#177; &plusmn; Plus or minus
178 262 B2 ² &#178; &sup2; Superscript two
179 263 B3 ³ &#179; &sup3; Superscript three
180 264 B4 ´ &#180; &acute; Acute accent
181 265 B5 µ &#181; &micro; Micro sign
182 266 B6 &#182; &para; Paragraph sign
183 267 B7 · &#183; &middot; Center dot
184 270 B8 ¸ &#184; &cedil; Cedilla
185 271 B9 ¹ &#185; &sup1; Superscript one
186 272 BA º &#186; &ordm; Masculine
187 273 BB » &#187; &raquo; Close double angle quote
188 274 BC ¼ &#188; &frac14; One-fourth
189 275 BD ½ &#189; &frac12; One-half
190 276 BE ¾ &#190; &frac34; Three-fourths
191 277 BF ¿ &#191; &iquest; Inverted question mark
192 300 C0 À &#192; &Agrave; A grave
193 301 C1 Á &#193; &Aacute; A acute
194 302 C2 Â &#194; &Acirc; A circumflex
195 303 C3 Ã &#195; &Atilde; A tilde
196 304 C4 Ä &#196; &Auml; A diaeresis
197 305 C5 Å &#197; &Aring; A with ring
198 306 C6 Æ &#198; &AElig; AE ligature
199 307 C7 Ç &#199; &Ccedil; C cedilla
200 310 C8 È &#200; &Egrave; E grave
201 311 C9 É &#201; &Eacute; E acute
202 312 CA Ê &#202; &Ecirc; E circumflex
203 313 CB Ë &#203; &Euml; E diaeresis
204 314 CC Ì &#204; &Igrave; I grave
205 315 CD Í &#205; &Iacute; I acute
206 316 CE Î &#206; &Icirc; I circumflex
207 317 CF Ï &#207; &Iuml; I diaeresis
208 320 D0 Ð &#208; &ETH; Eth (Icelandic)
209 321 D1 Ñ &#209; &Ntilde; N tilde
210 322 D2 Ò &#210; &Ograve; O grave
211 323 D3 Ó &#211; &Oacute; O acute
212 324 D4 Ô &#212; &Ocirc; O circumflex
213 325 D5 Õ &#213; &Otilde; O tilde
214 326 D6 Ö &#214; &Ouml; O diaeresis
215 327 D7 × &#215; &times; Multiplication sign
216 330 D8 Ø &#216; &Oslash; O with slash, empty set
217 331 D9 Ù &#217; &Ugrave; U grave
218 332 DA Ú &#218; &Uacute; U acute
219 333 DB Û &#219; &Ucirc; U circumflex
220 334 DC Ü &#220; &Uuml; U diaeresis
221 335 DD Ý &#221; &Yacute; Y acute
222 336 DE Þ &#222; &THORN; Thorn (Icelandic)
223 337 DF ß &#223; &szlig; Sharp S
224 340 E0 à &#224; &agrave; a grave
225 341 E1 á &#225; &aacute; a acute
226 342 E2 â &#226; &acirc; a circumflex
227 343 E3 ã &#227; &atilde; a tilde
228 344 E4 ä &#228; &auml; a diaeresis
229 345 E5 å &#229; &aring; a with ring
230 346 E6 æ &#230; &aelig; ae ligature
231 347 E7 ç &#231; &ccedil; c cedilla
232 350 E8 è &#232; &egrave; e grave
233 351 E9 é &#233; &eacute; e acute
234 352 EA ê &#234; &ecirc; e circumflex
235 353 EB ë &#235; &euml; e diaeresis
236 354 EC ì &#236; &igrave; i grave
237 355 ED í &#237; &iacute; i acute
238 356 EE î &#238; &icirc; i circumflex
239 357 EF ï &#239; &iuml; i diaeresis
240 360 F0 ð &#240; &eth; eth (Icelandic)
241 361 F1 ñ &#241; &ntilde; n tilde
242 362 F2 ò &#242; &ograve; o grave
243 363 F3 ó &#243; &oacute; o acute
244 364 F4 ô &#244; &ocirc; o circumflex
245 365 F5 õ &#245; &otilde; o tilde
246 366 F6 ö &#246; &ouml; o diaeresis
247 367 F7 ÷ &#247; &divide; Division sign
248 370 F8 ø &#248; &oslash; o with slash
249 371 F9 ù &#249; &ugrave; u grave
250 372 FA ú &#250; &uacute; u acute
251 373 FB û &#251; &ucirc; u circumflex
252 374 FC ü &#252; &uuml; u diaeresis
253 375 FD ý &#253; &yacute; y acute
254 376 FE þ &#254; &thorn; thorn (Icelandic)
255 377 FF ÿ &#255; &yuml; y diaeresis