Home > General > How to Convert Special Character to HTML Code

How to Convert Special Character to HTML Code

Sometimes, I have to view special character that could not be displayed directly on my website for the certain reason. For example, when I wanted to share a knowledge about How to Translate Your Blog Title and Description Using qTranslate Plugin then I have to display special tag related to this topic like [:en] which has the special character [ and ]. In order to display the output properly, first of all, I have to convert first those both characters become the HTML Code. In this case, the left square bracket is equal with &-#-91-; (without minus sign between those characters), and the right square bracket is equal to &-#-93-; (without minus sign between those characters). Otherwise, those real characters in the browser view will work as they should be, translating the sentence after that tag based on the language code. It means that I am not be able to display the real character based on their HTML Code if I have not converted them, yet. Another example is, when you want to display the symbol of Copy Rights or Registered. So, here you will find the list of HTML Code belong to the special characters, in order to display the real character in your browser, especially if those characters are being used for such function on your website script.

Browser ViewHTML CodeDescription
©©Copy Rights
®®Registered
 Space character
""Quotation mark
&&Ampersand
<&lt;Less-than
>&gt;Greater-than
À&Agrave;Capital a, Grave accent
Á&Aacute;Capital a, Acute accent
Â&Acirc;Capital a, Circumflex accent
Ã&Atilde;Capital a, Tilde
Ä&Auml;Capital a, umlaut mark
Å&Aring;Capital a, Ring
Æ&AElig;Capital ae, Huruf ae kapital
Ç&Ccedil;Capital c, Cedilla
È&Egrave;Capital e, Grave accent
É&Eacute;-
Ê&Ecirc;-
Ë&Euml;-
Ì&Igrave;-
Í&Iacute;-
Î&Icirc;-
Ï&Iuml;-
Ð&ETH;-
Ñ&Ntilde;-
Õ&Otilde;-
Ö&Ouml;-
Ø&Oslash;-
Ù&Ugrave;-
Ú&Uacute;-
Û&Ucirc;-
Ü&Uuml;-
Ý&Yacute;-
Þ&THORN;-
ß&szlig;-
à&agrave;-
á&aacute;-
å&aring;-
æ&aelig;-
ç&ccedil;-
è&egrave;-
é&eacute;-
ê&ecirc;-
ë&euml;-
ì&igrave;-
í&iacute;-
î&icirc;-
ï&iuml;-
ð&eth;-
ñ&ntilde;-
ò&ograve;-
ó&oacute;-
ô&ocirc;-
õ&otilde;-
ö&ouml;-
ø&oslash;-
ù&ugrave;-
ú&uacute;-
û&ucirc;-
ý&yacute;-
þ&thorn;-
ÿ&yuml;-
!&#33;Exclamation mark
"&#34;Quotation mark
#&#35;Number sign
$&#36;Dollar
%&#37;Percent
&&#38;Ampersand
'&#39;Apostrophe
(&#40;Left parenthesis
)&#41;Right parenthesis
*&#42;Asterisk
+&#43;Plus sign
,&#44;Comma
-&#45;Hyphen
.&#46;Period
/&#47;Slash
0&#48;-
1&#49;-
2&#50;-
3&#51;-
4&#52;-
5&#53;-
6&#54;-
7&#55;-
8&#56;-
9&#57;-
:&#58;Colon
;&#59;Semi colon
<&#60;Less-than
=&#61;Equals-to
>&#62;Greater-than
?&#63;Question mark
@&#64;At sign
A&#65;-
B&#66;-
C&#67;-
D&#68;-
E&#69;-
F&#70;-
G&#71;-
H&#72;-
I&#73;-
J&#74;-
K&#75;-
L&#76;-
M&#77;-
N&#78;-
O&#79;-
P&#80;-
Q&#81;-
R&#82;-
S&#83;-
T&#84;-
U&#85;-
V&#86;-
W&#87;-
X&#88;-
Y&#89;-
Z&#90;-
[&#91;Left square bracket
&#92;-
]&#93;Right square bracket
^&#94;Caret
_&#95;Underscore
`&#96;Grave accent
a&#97;-
b&#98;-
c&#99;-
d&#100;-
e&#101;-
f&#102;-
g&#103;-
h&#104;-
i&#105;-
j&#106;-
k&#107;-
l&#108;-
m&#109;-
n&#110;-
o&#111;-
p&#112;-
q&#113;-
r&#114;-
s&#115;-
t&#116;-
u&#117;-
v&#118;-
w&#119;-
x&#120;-
y&#121;-
z&#122;-
{&#123;Left curly brace
|&#124;Vertical bar
}&#125;Right curly brace
~&#126;Tilde
?&#127;Question mark
&#128;Euro
&#129;Unknown
,&#130;Comma
ƒ&#131;-
&#132;-
……&#133;Three dots
&#134;Cross
&#135;-
ˆ&#136;-
&#137;Per mil
Š&#138;-
&#139;-
Œ&#140;CE capital
&#141;Unknown
Ž&#142;-
&#143;Unknown
&#144;Unknown
&#145;-
&#146;-
&#147;-
&#148;-
&#149;Bullet
&#150;-
&#151;-
˜&#152;-
&#153;Trade mark
š&#154;-
&#155;-
œ&#156;-
&#157;Unknown
ž&#158;-
Ÿ&#159;-
&#160;Unknown
¡&#161;Inverted exclamation mark
¢&#162;Cent
£&#163;Pound
¤&#164;Currency
¥&#165;Yen
¦&#166;Broken vertical bar
§&#167;Section
¨&#168;Spacing diaeresis
©&#169;Copyright
ª&#170;Feminine ordinal indicator
«&#171;Angle quotation mark (left)
¬&#172;Negation
­&#173;Soft hyphen
®&#174;Registered trademark
¯&#175;Spacing macron
°&#176;Degree
±&#177;Plus or minus
²&#178;Superscript 2
³&#179;Superscript 3
´&#180;Spacing acute
µ&#181;Micro
&#182;Paragraph
·&#183;Middle dot
¸&#184;Spacing cedilla
¹&#185;Superscript 1
º&#186;Masculine ordinal indicator
»&#187;Angle quotation mark (right)
¼&#188;Fraction 1/4
½&#189;Fraction 1/2
¾&#190;Fraction 3/4
¿&#191;Inverted question mark
À&#192;-
Á&#193;-
Â&#194;-
Ã&#195;-
Ä&#196;-
Å&#197;-
Æ&#198;-
Ç&#199;-
È&#200;-
É&#201;-
?&#202;-
Ë&#203;-
Ì&#204;-
Í&#205;-
Î&#206;-
Ï&#207;-
Ð&#208;-
Ñ&#209;-
Ò&#210;-
Ó&#211;-
Ô&#212;-
Õ&#213;-
Ö&#214;-
×&#215;-
Ø&#216;-
Ù&#217;-
Ú&#218;-
Û&#219;-
Ü&#220;-
Ý&#221;-
Þ&#222;-
ß&#223;-
à&#224;-
á&#225;-
â&#226;-
ã&#227;-
ä&#228;-
å&#229;-
æ&#230;-
ç&#231;-
è&#232;-
é&#233;-
ê&#234;-
ë&#235;-
ì&#236;-
í&#237;-
î&#238;-
ï&#239;-
ð&#240;-
ñ&#241;-
ò&#242;-
ó&#243;-
ô&#244;-
õ&#245;-
ö&#246;-
÷&#247;-
ø&#248;-
ù&#249;-
ú&#250;-
û&#251;-
ü&#252;-
ý&#253;-
þ&#254;-
ÿ&#255;-

Not all characters in Browser View column could be displayed properly for all browsers. It depends on the capability of the browser you use. Have a nice try!

  • Share/Bookmark
274 views Print This Post Print This Post

Categories: General Tags: , , , , ,
  1. No comments yet.
  1. No trackbacks yet.