There are times when it comes in handy to know the HTML code for a certain ASCII character. Perhaps you want to express yourself (♥) on Twitter or you need to add a code sample to your website and have it display instead of being rendered by the web browser. What ever the reason the best way is to use the ASCII HTML code for the character you want to display.
Below is the basic ASCII HTML codes that you can use in your website. Some have special names like the ampersand (&) but they all have an HTML number code as well.
Symbol | HTML Number | HTML Name | Description |
! “ # $ % & ‘ ( ) * + , – . / ♠ |
 
! " # $ % & ' ( ) * + , - . / |
"
&
|
space
exclamation point double quotes number sign dollar sign percent sign ampersand single quote opening parenthesis closing parenthesis asterisk plus sign comma minus sign – hyphen period slash black spade suit |
Symbol | HTML Number | HTML Name | Description |
0
1 2 3 4 5 6 7 8 9 : ; < = > ? |
0
1 2 3 4 5 6 7 8 9 : ; < = > ? |
<
>
|
zero
one two three four five six seven eight nine colon semicolon less than sign equal sign greater than sign question mark |
Symbol | HTML Number | HTML Name | Description |
@
A B C D E F G H I J K L M N O |
@
A B C D E F G H I J K L M N O |
|
at symbol
|
Symbol | HTML Number | HTML Name | Description |
P
Q R S T U V W X Y Z [ \ ] ^ _ |
P
Q R S T U V W X Y Z [ \ ] ^ _ |
|
opening bracket backslash closing bracket caret – circumflex underscore |
Symbol | HTML Number | HTML Name | Description |
`
a b c d e f g h i j k l m n o |
`
a b c d e f g h i j k l m n o |
|
grave accent
|
Symbol | HTML Number | HTML Name | Description |
p
q r s t u v w x y z { | } ~
|
p
q r s t u v w x y z { | } ~
|
|
opening brace vertical bar closing brace equivalency sign – tilde (not defined in HTML 4 standard) |
Symbol | HTML Number | HTML Name | Description |
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ® ¯ |
 
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ |
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ |
non-breaking space
inverted exclamation mark cent sign pound sign currency sign yen sign broken vertical bar section sign spacing diaeresis – umlaut copyright sign feminine ordinal indicator left double angle quotes not sign soft hyphen registered trade mark sign spacing macron – overline |
Symbol | HTML Number | HTML Name | Description |
°
± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ |
°
± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ |
°
± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ |
degree sign
plus-or-minus sign superscript two – squared superscript three – cubed acute accent – spacing acute micro sign pilcrow sign – paragraph sign middle dot – Georgian comma spacing cedilla superscript one masculine ordinal indicator right double angle quotes fraction one quarter fraction one half fraction three quarters inverted question mark |
Symbol | HTML Number | HTML Name | Description |
À
Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï |
À
Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï |
À
Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï |
latin capital letter A with grave
latin capital letter A with acute latin capital letter A with circumflex latin capital letter A with tilde latin capital letter A with diaeresis latin capital letter A with ring above latin capital letter AE latin capital letter C with cedilla latin capital letter E with grave latin capital letter E with acute latin capital letter E with circumflex latin capital letter E with diaeresis latin capital letter I with grave latin capital letter I with acute latin capital letter I with circumflex latin capital letter I with diaeresis |
Symbol | HTML Number | HTML Name | Description |
Ð
Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß |
Ð
Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß |
Ð
Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß |
latin capital letter ETH
latin capital letter N with tilde latin capital letter O with grave latin capital letter O with acute latin capital letter O with circumflex latin capital letter O with tilde latin capital letter O with diaeresis multiplication sign latin capital letter O with slash latin capital letter U with grave latin capital letter U with acute latin capital letter U with circumflex latin capital letter U with diaeresis latin capital letter Y with acute latin capital letter THORN latin small letter sharp s – ess-zed |
Symbol | HTML Number | HTML Name | Description |
à
á â ã ä å æ ç è é ê ë ì í î ï |
à
á â ã ä å æ ç è é ê ë ì í î ï |
à
á â ã ä å æ ç è é ê ë ì í î ï |
latin small letter a with grave
latin small letter a with acute latin small letter a with circumflex latin small letter a with tilde latin small letter a with diaeresis latin small letter a with ring above latin small letter ae latin small letter c with cedilla latin small letter e with grave latin small letter e with acute latin small letter e with circumflex latin small letter e with diaeresis latin small letter i with grave latin small letter i with acute latin small letter i with circumflex latin small letter i with diaeresis |
Symbol | HTML Number | HTML Name | Description |
ð
ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ |
ð
ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ |
ð
ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ |
latin small letter eth
latin small letter n with tilde latin small letter o with grave latin small letter o with acute latin small letter o with circumflex latin small letter o with tilde latin small letter o with diaeresis division sign latin small letter o with slash latin small letter u with grave latin small letter u with acute latin small letter u with circumflex latin small letter u with diaeresis latin small letter y with acute latin small letter thorn latin small letter y with diaeresis |
I have found this table to be extremely useful and refer to it regularly even when working here on free favicon. Hopefully you will find it useful.