Here’s a list of some commonly used special characters, and their HTML codes (entities). You can use the number code or name code, whichever you prefer. We created this guide for students in our web development certificates and classes, but wanted everyone to benefit, so we hope you find it useful!
Character Entities (Codes) vs Unicode
While the codes continue to work—and may be needed in some instances such as HTML email—for webpages it’s typically best to use unicode instead. The advantage of unicode is that you can add the special characters directly into HTML code without these codes, and unicode supports multiple langauges in a single file. That makes unicode the ideal solution. Add <meta charset="UTF-8"> at the start of the <head> in your HTML file, and you can skip these codes and simply type the special characters directly into the HTML code, making it much easier to read!
Result | Number Code | Name Code | Description |
& | & | & | Ampersand |
< | < | < | Less than |
> | > | > | Greater than |
  | | Non-breaking Space | |
¡ | ¡ | ¡ | Inverted exclamation |
¢ | ¢ | ¢ | 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 |
° | ° | ° | Degree sign |
± | ± | ± | Plus or minus |
² | ² | ² | Superscript two |
³ | ³ | ³ | Superscript three |
´ | ´ | ´ | Acute accent |
µ | µ | µ | Micro sign |
¶ | ¶ | ¶ | Paragraph sign |
· | · | · | Middle dot |
¸ | ¸ | ¸ | Cedilla |
¹ | ¹ | ¹ | Superscript one |
º | º | º | Masculine ordinal |
» | » | » | Right angle quote, guillemotright |
¼ | ¼ | ¼ | Fraction one-fourth |
½ | ½ | ½ | Fraction one-half |
¾ | ¾ | ¾ | Fraction three-fourths |
¿ | ¿ | ¿ | Inverted question mark |
À | À | À | Capital A, grave accent |
Á | Á | Á | Capital A, acute accent |
 |  |  | Capital A, circumflex accent |
à | à | à | Capital A, tilde |
Ä | Ä | Ä | Capital A, dieresis or umlaut mark |
Å | Å | Å | Capital A, ring |
Æ | Æ | Æ | Capital AE dipthong (ligature) |
Ç | Ç | Ç | Capital C, cedilla |
È | È | È | Capital E, grave accent |
É | É | É | Capital E, acute accent |
Ê | Ê | Ê | Capital E, circumflex accent |
Ë | Ë | Ë | Capital E, dieresis or umlaut mark |
Ì | Ì | Ì | Capital I, grave accent |
Í | Í | Í | Capital I, acute accent |
Î | Î | Î | Capital I, circumflex accent |
Ï | Ï | Ï | Capital I, dieresis or umlaut mark |
Ð | Ð | Ð | Capital Eth, Icelandic |
Ñ | Ñ | Ñ | Capital N, tilde |
Ò | Ò | Ò | Capital O, grave accent |
Ó | Ó | Ó | Capital O, acute accent |
Ô | Ô | Ô | Capital O, circumflex accent |
Õ | Õ | Õ | Capital O, tilde |
Ö | Ö | Ö | Capital O, dieresis or umlaut mark |
× | × | × | Multiply sign |
Ø | Ø | Ø | Capital O, slash |
Ù | Ù | Ù | Capital U, grave accent |
Ú | Ú | Ú | Capital U, acute accent |
Û | Û | Û | Capital U, circumflex accent |
Ü | Ü | Ü | Capital U, dieresis or umlaut mark |
Ý | Ý | ý | Capital Y, acute accent |
Þ | Þ | Þ | Capital THORN, Icelandic |
ß | ß | ß | Small sharp s, German (sz ligature) |
à | à | à | Small a, grave accent |
á | á | á | Small a, acute accent |
â | â | â | Small a, circumflex accent |
ã | ã | ã | Small a, tilde |
ä | ä | &aamul; | Small a, dieresis or umlaut mark |
å | å | å | Small a, ring |
æ | æ | æ | Small ae dipthong (ligature) |
ç | ç | ç | Small c, cedilla |
è | è | è | Small e, grave accent |
é | é | é | Small e, acute accent |
ê | ê | ê | Small e, circumflex accent |
ë | ë | ë | Small e, dieresis or umlaut mark |
ì | ì | ì | Small i, grave accent |
í | í | í | Small i, acute accent |
î | î | î | Small i, circumflex accent |
ï | ï | ï | Small i, dieresis or umlaut mark |
ð | ð | ð | Small eth, Icelandic |
ñ | ñ | ñ | Small n, tilde |
ò | ò | ò | Small o, grave accent |
ó | ó | ó | Small o, acute accent |
ô | ô | ô | Small o, circumflex accent |
õ | õ | õ | Small o, tilde |
ö | ö | ö | Small o, dieresis or umlaut mark |
÷ | ÷ | ÷ | Division sign |
ø | ø | ø | Small o, slash |
ù | ù | ù | Small u, grave accent |
ú | ú | ú | Small u, acute accent |
û | û | û | Small u, circumflex accent |
ü | ü | ü | Small u, dieresis or umlaut mark |
ý | ý | ý | Small y, acute accent |
þ | þ | þ | Small thorn, Icelandic |
ÿ | ÿ | ÿ | Small y, dieresis or umlaut mark |
˜ | ˜ | ˜ | Tilde |
– | – | – | Endash |
— | — | — | Emdash |
‘ | ‘ | ‘ | Left Single Quote |
’ | ’ | ’ | Right Single Quote |
“ | “ | “ | Left Double Quote |
” | ” | ” | Right Double Quote |
€ | € | € | Euro |
™ | ™ | ™ | Trademark |