HTML Code for ASCII Special Characters, are still needed, when writing HTML. American Standard Code for Information Interchange (ASCII), was developed a long time ago, as a numerical representation of characters. Believe it or not, ASCII is still found at the core of HTML. I have a lot of the HTML Code for ASCII Special Characters memorized, but I’m always looking one or another of them up. So, I’ve created my own “HTML Code for ASCII Special Characters” tables, as a guide.
HTML Code for ASCII Special Characters (Hex 00-0F)
Dec: 00-15
Hex: 00-0F
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
00 | 00 | � | Unused | ||
01 | 01 |  | Unused | ||
02 | 02 |  | Unused | ||
03 | 03 |  | Unused | ||
04 | 04 |  | Unused | ||
05 | 05 |  | Unused | ||
06 | 06 |  | Unused | ||
07 | 07 |  | Unused | ||
08 | 08 |  | Unused | ||
09 | 09 | 	 | Horizontal Tab | ||
10 | 0A | | Line Feed | ||
11 | 0B |  | Unused | ||
12 | 0C |  | Unused | ||
13 | 0D | | Carriage Return | ||
14 | 0E |  | Unused | ||
15 | 0F |  | Unused |
* in Description means not defined in HTML 4 standard
Browser support: ?
HTML Code for ASCII Special Characters (Hex 10-1F)
Dec: 16-31
Hex: 10-1F
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
16 | 10 |  | Unused | ||
17 | 11 |  | Unused | ||
18 | 12 |  | Unused | ||
19 | 13 |  | Unused | ||
20 | 14 |  | Unused | ||
21 | 15 |  | Unused | ||
22 | 16 |  | Unused | ||
23 | 17 |  | Unused | ||
24 | 18 |  | Unused | ||
25 | 19 |  | Unused | ||
26 | 1A |  | Unused | ||
27 | 1B |  | Unused | ||
28 | 1C |  | Unused | ||
29 | 1D |  | Unused | ||
30 | 1E |  | Unused | ||
31 | 1F |  | Unused |
* in Description means not defined in HTML 4 standard
Browser support: ?
HTML Code for ASCII Special Characters (Hex 20-2F)
Dec: 32-47
Hex: 20-2F
HTML Code for: Space, Exclamation Mark, Quotation Mark, Number Sign, Dollar Sign, Percent Sign, Ampersand, Apostrophe, Left Parenthesis, Right Parenthesis, Asterisk, Plus Sign, Comma, Hyphen, Period (fullstop) & Solidus (slash).
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
32 | 20 |   | Space | ||
33 | 21 | ! | ! | Exclamation Mark | |
34 | 22 | " | " | " | Quotation Mark |
35 | 23 | # | # | Number Sign | |
36 | 24 | $ | $ | Dollar Sign | |
37 | 25 | % | % | Percent Sign | |
38 | 26 | & | & | & | Ampersand |
39 | 27 | ' | ' | Apostrophe | |
40 | 28 | ( | ( | Left Parenthesis | |
41 | 29 | ) | ) | Right Parenthesis | |
42 | 2A | * | * | Asterisk | |
43 | 2B | + | + | Plus Sign | |
44 | 2C | , | , | Comma | |
45 | 2D | - | - | Hyphen | |
46 | 2E | . | . | Period (fullstop) | |
47 | 2F | / | / | Solidus (slash) |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 30-3F)
Dec: 48-63
Hex: 30-3F
HTML Code for: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Colon, Semi-Colon, Less Than, Equal Sign, Greater Than & Question Mark.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
48 | 30 | 0 | 0 | 0 | |
49 | 31 | 1 | 1 | 1 | |
50 | 32 | 2 | 2 | 2 | |
51 | 33 | 3 | 3 | 3 | |
52 | 34 | 4 | 4 | 4 | |
53 | 35 | 5 | 5 | 5 | |
54 | 36 | 6 | 6 | 6 | |
55 | 37 | 7 | 7 | 7 | |
56 | 38 | 8 | 8 | 8 | |
57 | 39 | 9 | 9 | 9 | |
58 | 3A | : | : | Colon | |
59 | 3B | ; | ; | Semi-colon | |
60 | 3C | < | < | < | Less Than |
61 | 3D | = | = | Equal Sign | |
62 | 3E | > | > | > | Greater Than |
63 | 3F | ? | ? | Question Mark |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 40-4F)
Dec: 64-79
Hex: 40-4F
HTML Code for: Commercial At, A, B, C, D, E, F, G, H, I, J, K, L, M, N & O.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
64 | 40 | @ | @ | Commercial At | |
65 | 41 | A | A | A | |
66 | 42 | B | B | B | |
67 | 43 | C | C | C | |
68 | 44 | D | D | D | |
69 | 45 | E | E | E | |
70 | 46 | F | F | F | |
71 | 47 | G | G | G | |
72 | 48 | H | H | H | |
73 | 49 | I | I | I | |
74 | 4A | J | J | J | |
75 | 4B | K | K | K | |
76 | 4C | L | L | L | |
77 | 4D | M | M | M | |
78 | 4E | N | N | N | |
79 | 4F | O | O | O |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 50-5F)
Dec: 80-95
Hex: 50-5F
HTML Code for: P, Q, R, S, T, U, V, W, X, Y, Z, Left Square Bracket, Reverse Solidus (backslash), Right Square Bracket, Caret & Horizontal Bar (underscore).
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
80 | 50 | P | P | P | |
81 | 51 | Q | Q | Q | |
82 | 52 | R | R | R | |
83 | 53 | S | S | S | |
84 | 54 | T | T | T | |
85 | 55 | U | U | U | |
86 | 56 | V | V | V | |
87 | 57 | W | W | W | |
88 | 58 | X | X | X | |
89 | 59 | Y | Y | Y | |
90 | 5A | Z | Z | Z | |
91 | 5B | [ | [ | Left Square Bracket | |
92 | 5C | \ | \ | Reverse Solidus (backslash) | |
93 | 5D | ] | ] | Right Square Bracket | |
94 | 5E | ^ | ^ | Caret | |
95 | 5F | _ | _ | Horizontal Bar (underscore) |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 60-6F)
Dec: 96-111
Hex: 60-6F
HTML Code for: Acute Accent, a, b, c, d, e, f, g, h, i, j, k, l, m, n & o.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
96 | 60 | ` | ` | Acute Accent | |
97 | 61 | a | a | a | |
98 | 62 | b | b | b | |
99 | 63 | c | c | c | |
100 | 64 | d | d | d | |
101 | 65 | e | e | e | |
102 | 66 | f | f | f | |
103 | 67 | g | g | g | |
104 | 68 | h | h | h | |
105 | 69 | i | i | i | |
106 | 6A | j | j | j | |
107 | 6B | k | k | k | |
108 | 6C | l | l | l | |
109 | 6D | m | m | m | |
110 | 6E | n | n | n | |
111 | 6F | o | o | o |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 70-7F)
Dec: 112-127
Hex: 70-7F
HTML Code for: p, q, r, s, t, u, v, w, x, y, z, Left Curly Brace, Vertical Bar, Right Curly Brace & Tilde.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
112 | 70 | p | p | p | |
113 | 71 | q | q | q | |
114 | 72 | r | r | r | |
115 | 73 | s | s | s | |
116 | 74 | t | t | t | |
117 | 75 | u | u | u | |
118 | 76 | v | v | v | |
119 | 77 | w | w | w | |
120 | 78 | x | x | x | |
121 | 79 | y | y | y | |
122 | 7A | z | z | z | |
123 | 7B | { | { | Left Curly Brace | |
124 | 7C | | | | | Vertical Bar | |
125 | 7D | } | } | Right Curly Brace | |
126 | 7E | ~ | ~ | ˜ | Tilde |
127 | 7F |  | * |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex 80-8F)
Dec: 128-143
Hex: 80-8F
HTML Code for: .
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
128 | 80 | € | € | * | |
129 | 81 |  | * | ||
130 | 82 | ‚ | ‚ | * | |
131 | 83 | ƒ | ƒ | * | |
132 | 84 | „ | „ | * | |
133 | 85 | … | … | * | |
134 | 86 | † | † | * | |
135 | 87 | ‡ | ‡ | * | |
136 | 88 | ˆ | ˆ | * | |
137 | 89 | ‰ | ‰ | * | |
138 | 8A | Š | Š | * | |
139 | 8B | ‹ | ‹ | * | |
140 | 8C | Œ | Œ | * | |
141 | 8D |  | * | ||
142 | 8E | Ž | Ž | * | |
143 | 8F |  | * |
* in Description means not defined in HTML 4 standard
Browser support: Some
HTML Code for ASCII Special Characters (Hex 90-9F)
Dec: 144-159
Hex: 90-9F
HTML Code for: .
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
144 | 90 |  | * | ||
145 | 91 | ‘ | ‘ | * | |
146 | 92 | ’ | ’ | * | |
147 | 93 | “ | “ | * | |
148 | 94 | ” | ” | * | |
149 | 95 | • | • | * | |
150 | 96 | – | – | * | |
151 | 97 | — | — | * | |
152 | 98 | ˜ | ˜ | * | |
153 | 99 | ™ | ™ | * | |
154 | 9A | š | š | * | |
155 | 9B | › | › | * | |
156 | 9C | œ | œ | * | |
157 | 9D |  | * | ||
158 | 9E | ž | ž | * | |
159 | 9F | Ÿ | Ÿ | * |
* in Description means not defined in HTML 4 standard
Browser support: Some
HTML Code for ASCII Special Characters (Hex A0-AF)
Dec: 160-175
Hex: A0-AF
HTML Code for: Non-breaking Space, Inverted Exclamation Mark, Cent Sign, Pound Sterling, General Currency Sign, Yen Sign, Broken Vertical Bar, Section Sign, Umlaut (dieresis), Copyright, Feminine Ordinal, Left Angle Quote (guillemotleft), Not Sign, Soft Hyphen, Registered Trademark & Macron Accent.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
160 | A0 |   | | Non-breaking Space | |
161 | A1 | ¡ | ¡ | ¡ | Inverted Exclamation Mark |
162 | A2 | ¢ | ¢ | ¢ | Cent Sign |
163 | A3 | £ | £ | £ | Pound Sterling |
164 | A4 | ¤ | ¤ | ¤ | General Currency Sign |
165 | A5 | ¥ | ¥ | ¥ | Yen Sign |
166 | A6 | ¦ | ¦ | ¦ | Broken Vertical Bar |
167 | A7 | § | § | § | Section Sign |
168 | A8 | ¨ | ¨ | ¨ | Umlaut (dieresis) |
169 | A9 | © | © | © | Copyright |
170 | AA | ª | ª | ª | Feminine Ordinal |
171 | AB | « | « | « | Left Angel Quote, (guillemotleft) |
172 | AC | ¬ | ¬ | ¬ | Not Sign |
173 | AD | | ­ | ­ | Soft Hyphen |
174 | AE | ® | ® | ® | Registered Trademark |
175 | AF | ¯ | ¯ | ¯ | Macron Accent |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex B0-BF)
Dec: 176-191
Hex: B0-BF
HTML Code for: Degree Sign, Plus/Minus, Superscript Two, Superscript Three, Acute Accent, Micro Sign, Paragraph Sign, Middle Dot, Cedilla, Superscript One, Masculine Ordinal, Right Angle Quote (guillemotright), Fraction One/Forth, Fraction One/Half, Fraction Three/Fourths & Inverted Question Mark.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
176 | B0 | ° | ° | ° | Degree Sign |
177 | B1 | ± | ± | ± | Plus/Minus |
178 | B2 | ² | ² | ² | Superscript Two |
179 | B3 | ³ | ³ | ³ | Superscript Three |
180 | B4 | ´ | ´ | ´ | Acute Accent |
181 | B5 | µ | µ | µ | Micro Sign |
182 | B6 | ¶ | ¶ | ¶ | Paragraph |
183 | B7 | · | · | · | Middle Dot |
184 | B8 | ¸ | ¸ | ¸ | Cedilla |
185 | B9 | ¹ | ¹ | ¹ | Superscript One |
186 | BA | º | º | º | Masculine Ordinal |
187 | BB | » | » | » | Right Angel Quote, (guillemotright) |
188 | BC | ¼ | ¼ | ¼ | Fraction One/Forth |
189 | BD | ½ | ½ | ½ | Fraction One/Half |
190 | BE | ¾ | ¾ | ¾ | Fraction Three/Forths |
191 | BF | ¿ | ¿ | ¿ | Inverted Question Mark |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex C0-CF)
Dec: 192-207
Hex: C0-CF
HTML Code for: Capital A w/ Grave Accent, Capital A w/ Acute Accent, Capital A w/ Circumflex Accent, Capital A w/ Tilde, Capital A w/ Dieresis/Umlaut Mark, Capital A w/ Ring, Capital AE Dipthong (ligature), Capital C w/ Cedilla, Capital E w/ Grave Accent, Capital E w/ Acute Accent, Capital E w/ Circumflex Accent, Capital E w/ Dieresis/Umlaut Mark, Capital I w/ Grave Accent, Capital I w/ Acute Accent, Capital I w/ Circumflex Accent & Capital I w/ Dieresis/Umlaut Mark.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
192 | C0 | À | À | À | Capital A w/ Grave Accent |
193 | C1 | Á | Á | Á | Capital A w/ Acute Accent |
194 | C2 | Â | Â | Â | Capital A w/ Circumflex Accent |
195 | C3 | Ã | Ã | Ã | Capital A w/ Tilde |
196 | C4 | Ä | Ä | Ä | Capital A w/ Dieresis/Umlaut Mark |
197 | C5 | Å | Å | Å | Capital A w/ Ring |
198 | C6 | Æ | Æ | Æ | Capital AE Dipthong (ligature) |
199 | C7 | Ç | Ç | Ç | Capital C w/ Cedilla |
200 | C8 | È | È | È | Capital E w/ Grave Accent |
201 | C9 | É | É | É | Capital E w/ Acute Accent |
202 | CA | Ê | Ê | Ê | Capital E w/ Circumflex Accent |
203 | CB | Ë | Ë | Ë | Capital E w/ Dieresis/Umlaut Mark |
204 | CC | Ì | Ì | Ì | Capital I w/ Grave Accent |
205 | CD | Í | Í | Í | Capital I w/ Acute Accent |
206 | CE | Î | Î | Î | Capital I w/ Circumflex Accent |
207 | CF | Ï | Ï | Ï | Capital I w/ Dieresis/Umlaut Mark |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex D0-DF)
Dec: 208-223
Hex: D0-DF
HTML Code for: Capital Eth w/ Icelandic, Capital N w/ Tilde, Capital O w/ Grave Accent, Capital O w/ Acute Accent, Capital O w/ Circumflex Accent, Capital O w/ Tilde, Capital O w/ Dieresis/Umlaut Mark, Multiply Sign, Capital O w/ Slash, Capital U w/ Grave Accent, Capital U w/ Acute Accent, Capital U w/ Circumflex Accent, Capital U w/ Dieresis/Umlaut Mark, Capital Y w/ Acute Accent, Capital THORN w/ Icelandic & Small Sharp s w/ German (sz ligature).
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
208 | D0 | Ð | Ð | Ð | Capital Eth w/ Icelandic |
209 | D1 | Ñ | Ñ | Ñ | Capital N w/ Tilde |
210 | D2 | Ò | Ò | Ò | Capital O w/ Grave Accent |
211 | D3 | Ó | Ó | Ó | Capital O w/ Acute Accent |
212 | D4 | Ô | Ô | Ô | Capital O w/ Circumflex Accent |
213 | D5 | Õ | Õ | Õ | Capital O w/ Tilde |
214 | D6 | Ö | Ö | Ö | Capital O w/ Dieresis/Umlaut Mark |
215 | D7 | × | × | × | Multiply Sign |
216 | D8 | Ø | Ø | Ø | Capital O w/ Slash |
217 | D9 | Ù | Ù | Ù | Capital U w/ Grave Accent |
218 | DA | Ú | Ú | Ú | Capital U w/ Acute Accent |
219 | DB | Û | Û | Û | Capital U w/ Circumflex Accent |
220 | DC | Ü | Ü | Ü | Capital U w/ Dieresis/Umlaut Mark |
221 | DD | Ý | Ý | Ý | Capital Y w/ Acute Accent |
222 | DE | Þ | Þ | Þ | Capital THORN w/ Icelandic |
223 | DF | ß | ß | ß | Small Sharp s w/ German (sz ligature) |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex E0-EF)
Dec: 224-239
Hex: E0-EF
HTML Code for: Small a w/ Grave Accent, Small a w/ Acute Accent, Small a w/ Circumflex Accent, Small a w/ Tilde, Small a w/ Dieresis/Umlaut Mark, Small a w/ Ring, Small ae Dipthong (ligature), Small c w/ Cedilla, Small e w/ Grave Accent, Small e w/ Acute Accent, Small e w/ Circumflex Accent, Small e w/ Dieresis/Umlaut Mark, Small i w/ Grave Accent, Small i w/ Acute Accent, Small i w/ Circumflex Accent & Small i w/ Dieresis/Umlaut Mark.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
224 | E0 | à | à | à | Small a w/ Grave Accent |
225 | E1 | á | á | á | Small a w/ Acute Accent |
226 | E2 | â | â | â | Small a w/ Circumflex Accent |
227 | E3 | ã | ã | ã | Small a w/ Tilde |
228 | E4 | ä | ä | ä | Small a w/ Dieresis/Umlaut Mark |
229 | E5 | å | å | å | Small a w/ Ring |
230 | E6 | æ | æ | æ | Small ae Dipthong (ligature) |
231 | E7 | ç | ç | ç | Small c w/ Cedilla |
232 | E8 | è | è | è | Small e w/ Grave Accent |
233 | E9 | é | é | é | Small e w/ Acute Accent |
234 | EA | ê | ê | ê | Small e w/ Circumflex Accent |
235 | EB | ë | ë | ë | Small e w/ Dieresis/Umlaut Mark |
236 | EC | ì | ì | Ì | Capital I w/ Grave Accent |
237 | ED | í | í | í | Small i w/ Acute Accent |
238 | EE | î | î | î | Small i w/ Circumflex Accent |
239 | EF | ï | ï | ï | Small i w/ Dieresis/Umlaut Mark |
* in Description means not defined in HTML 4 standard
Browser support: All
HTML Code for ASCII Special Characters (Hex F0-FF)
Dec: 240-255
Hex: F0-FF
HTML Code for: Small eth w/ Icelandic, Small n w/ Tilde, Small o w/ Grave Accent, Small o w/ Acute Accent, Small o w/ Circumflex Accent, Small o w/ Tilde, Small o w/ Dieresis/Umlaut Mark, Division Sign, Small o w/ Slash, Small u w/ Grave Accent, Small u w/ Acute Accent, Small u w/ Circumflex Accent, Small u w/ Dieresis/Umlaut Mark, Small y w/ Acute Accent, Small thorn w/ Icelandic & Small y w/ Dieresis/Umlaut Mark.
ASCII | ASCII | HTML | HTML | ||
---|---|---|---|---|---|
Dec | Hex | Symbol | Number | Name | Description |
240 | F0 | ð | ð | ð | Small eth w/ Icelandic |
241 | F1 | ñ | ñ | ñ | Small n w/ Tilde |
242 | F2 | ò | ò | ò | Small o w/ Grave Accent |
243 | F3 | ó | ó | ó | Small o w/ Acute Accent |
244 | F4 | ô | ô | ô | Small o w/ Circumflex Accent |
245 | F5 | õ | õ | õ | Small o w/ Tilde |
246 | F6 | ö | ö | ö | Small o w/ Dieresis/Umlaut Mark |
247 | F7 | ÷ | ÷ | ÷ | Division Sign |
248 | F8 | ø | ø | ø | Small o w/ Slash |
249 | F9 | ù | ù | ù | Small u w/ Grave Accent |
250 | FA | ú | ú | ú | Small u w/ Acute Accent |
251 | FB | û | û | û | Small u w/ Circumflex Accent |
252 | FC | ü | ü | ü | Small u w/ Dieresis/Umlaut Mark |
253 | FD | ý | ý | ý | Small y w/ Acute Accent |
254 | FE | þ | þ | þ | Small thorn w/ Icelandic |
255 | FF | ÿ | ÿ | ÿ | Small y w/ Dieresis/Umlaut Mark |
* in Description means not defined in HTML 4 standard
Browser support: All
A more complete ASCII Table is available on the http://www.asciitable.com website. While this table isn’t limited to the HTML Code for ASCII Special Characters, I thought it may be a good reference for those looking for information on this topic.
The “HTML Code for ASCII Special Characters” tables I’ve provided above, are limited specifically to the ASCII Special Characters used in HTML Development.