HTML Special Character Escape Reference Table

HTML Special Character Escape Reference Table 1

Character Decimal Escape Character Character Decimal Escape Character
" " " & & &
< &#60; &lt; à &#224; &agrave;
> &#62; &gt; Non-breaking space &#160; &nbsp;
? &#161; &iexcl; Á &#193; &Aacute;
á &#225; &aacute; â &#226 &acirc;
&#162; &cent; Â &#194; &circ;
&#163; &pound; Ã &#195; &Atilde;
ã &#227; &atilde; ä &#228; &auml;
¤ &#164; &curren; Ä &#196; &Auml
&#165; &yen; Å &#197; &ring;
å &#229; &aring; æ &#230; &aelig;
| &#166; &brvbar; Æ &#198; &AElig;
§ &#167; &sect; Ç &#199; &Ccedil;
ç &#231; &ccedil; è &#232; &egrave;
¨ &#168; &uml; È &#200; &Egrave;
© &#169; &copy; É &#201; &Eacute;
é &#233; &eacute; ê &#234; &ecirc;
a &#170; &ordf; Ê &#202; &Ecirc;
? &#171; &laquo; Ë &#203; &Euml;
ë &#235; &euml; ì &#236; &igrave;
? &#172; &not; Ì &#204; &Igrave;
/x7f &#173; &shy; Í &#205; &Iacute;
í &#237; &iacute; î &#238; &icirc;
® &#174; &reg; Î &#206; &Icirc;
ˉ &#175; &macr; Ï &#207; &Iuml;
ï &#239; &iuml; ð &#240; &ieth;
° &#176; &deg; Ð &#208; &ETH;
± &#177; &plusmn; Ñ &#209; &Ntilde;
ñ &#241; &ntilde; ò &#242; &ograve;
2 &#178; &sup2; Ò &#210; &Ograve;
3 &#179; &sup3; Ó &#211; &Oacute;
ó &#243; &oacute; ô &#244; &ocirc;
&#180; &acute; Ô &#212; &Ocirc;
μ &#181; &micro; Õ &#213; &Otilde;
õ &#245; &otilde; ö &#246; &ouml;
? &#182; &para; Ö &#214; &Ouml;
· &#183; &middot; &times; &#215; &times;
÷ &#247; &divide; ø &#248; &oslash;
? &#184; &cedil; Ø &#216; &Oslash;
1 &#185; &sup1; Ù &#217; &Ugrave;
ù &#249; &ugrave; ú &#250; &uacute;
o &#186; &ordm; Ú &#218; &Uacute;
? &#187; &raquo; Û &#219; &Ucirc;
û &#251; &ucirc; ü &#252; &uuml;
? &#188; &frac14; Ü &#220; &Uuml;
? &#189; &frac12; Ý &#221; &Yacute;
? &#190; &frac34; Þ &#222; &THORN;
þ &#254; &thorn; ý &#253; &yacute;
? &#191; &iquest; ß &#223; &szlig;
À &#192; &Agrave; ÿ &#255; &yuml;

HTML Special Character Escape Reference Table 2

Special Symbol
Named Entity
Decimal Encoding
Special Symbol
Named Entity
Decimal Encoding
Α
&Alpha;
&#913;
Β
&Beta;
&#914;
Γ
&Gamma;
&#915;
Δ
&Delta;
&#916;
Ε
&Epsilon;
&#917;
Ζ
&Zeta;
&#918;
Η
&Eta;
&#919;
Θ
&Theta;
&#920;
Ι
&Iota;
&#921;
Κ
&Kappa;
&#922;
Λ
&Lambda;
&#923;
Μ
&Mu;
&#924;
Ν
&Nu;
&#925;
Ξ
&Xi;
&#926;
Ο
&Omicron;
&#927;
Π
&Pi;
&#928;
Ρ
&Rho;
&#929;
Σ
&Sigma;
&#931;
Τ
&Tau;
&#932;
Υ
&Upsilon;
&#933;
Φ
&Phi;
&#934;
Χ
&Chi;
&#935;
Ψ
&Psi;
&#936;
Ω
&Omega;
&#937;
α
&alpha;
&#945;
β
&beta;
&#946;
γ
&gamma;
&#947;
δ
&delta;
&#948;
ε
&epsilon;
&#949;
ζ
&zeta;
&#950;
η
&eta;
&#951;
θ
&theta;
&#952;
ι
&iota;
&#953;
κ
&kappa;
&#954;
λ
&lambda;
&#955;
μ
&mu;
&#956;
ν
&nu;
&#957;
ξ
&xi;
&#958;
ο
&omicron;
&#959;
π
&pi;
&#960;
ρ
&rho;
&#961;
ς
&sigmaf;
&#962;
σ
&sigma;
&#963;
τ
&tau;
&#964;
υ
&upsilon;
&#965;
φ
&phi;
&#966;
χ
&chi;
&#967;
ψ
&psi;
&#968;
ω
&omega;
&#969;
ϑ
&thetasym;
&#977;
ϒ
&upsih;
&#978;
ϖ
&piv;
&#982;
&bull;
&#8226;
&hellip;
&#8230;
&prime;
&#8242;
&Prime;
&#8243;
&oline;
&#8254;
&frasl;
&#8260;
&weierp;
&#8472;
&image;
&#8465;
&real;
&#8476;
&trade;
&#8482;
&alefsym;
&#8501;
&larr;
&#8592;
&uarr;
&#8593;
&rarr;
&#8594;
&darr;
&#8595;
&harr;
&#8596;
&crarr;
&#8629;
&lArr;
&#8656;
&uArr;
&#8657;
&rArr;
&#8658;
&dArr;
&#8659;
&hArr;
&#8660;
&forall;
&#8704;
&part;
&#8706;
&exist;
&#8707;
&empty;
&#8709;
&nabla;
&#8711;
&isin;
&#8712;
&notin;
&#8713;
&ni;
&#8715;
&prod;
&#8719;
&sum;
&#8722;
&minus;
&#8722;
&lowast;
&#8727;
&radic;
&#8730;
&prop;
&#8733;
&infin;
&#8734;
&ang;
&#8736;
&and;
&#8869;
&or;
&#8870;
&cap;
&#8745;
&cup;
&#8746;
&int;
&#8747;
&there4;
&#8756;
&sim;
&#8764;
&cong;
&#8773;
&asymp;
&#8773;
&ne;
&#8800;
&equiv;
&#8801;
&le;
&#8804;
&ge;
&#8805;
&sub;
&#8834;
&sup;
&#8835;
&nsub;
&#8836;
&sube;
&#8838;
&supe;
&#8839;
&oplus;
&#8853;
&otimes;
&#8855;
&perp;
&#8869;
&sdot;
&#8901;
&lceil;
&#8968;
&rceil;
&#8969;
&lfloor;
&#8970;
&rfloor;
&#8971;
&loz;
&#9674;
&spades;
&#9824;
&clubs;
&#9827;
&hearts;
&#9829;
&diams;
&#9830;
&nbsp;
&#160;
¡
&iexcl;
&#161;
¢
&cent;
&#162;
£
&pound;
&#163;
¤
&curren;
&#164;
¥
&yen;
&#165;
¦
&brvbar;
&#166;
§
&sect;
&#167;
¨
&uml;
&#168;
©
&copy;
&#169;
ª
&ordf;
&#170;
«
&laquo;
&#171;
¬
&not;
&#172;
­
&shy;
&#173;
®
&reg;
&#174;
¯
&macr;
&#175;
°
&deg;
d&#176;
±
&plusmn;
&#177;
²
&sup2;
&#178;
³
&sup3;
&#179;
´
&acute;
&#180;
µ
&micro;
&#181;

HTML Special Character Escape Reference Table - Decimal Escaping Characters and HTML Escape Tools

In web development, correctly handling HTML special character escaping is very important. To help developers correctly display special characters in HTML, this page provides a complete HTML special character escape reference table, including common HTML escape characters and their corresponding decimal values.

What is an HTML escape character?

HTML escape characters are used to convert certain characters that have special meanings (such as “<”, “>”, “&” etc.) into the form of HTML entities. This can avoid parsing errors or security risks in the browser. By using escape characters, we can ensure that these characters are displayed correctly on the webpage and are not mistakenly parsed as HTML tags or other control characters.

HTML Special Character Escape Reference Table

Below are common HTML escape characters and their corresponding decimal character encodings:

Character Escape Character Decimal Encoding
< &lt; 60
> &gt; 62
& &amp; 38
" &quot; 34
' &#39; 39
  &#160; 160
  &#xA0; 160
< &#x3C; 60

Common HTML escape characters and their uses

  • <: Less than symbol (<) used for the start of HTML tags.
  • >: Greater than symbol (>) used for the end of HTML tags.
  • &: Ampersand symbol (&) used to indicate HTML entities.
  • ": Double quotes (") used for HTML attribute values.
  • ': Single quotes (') used for some HTML attribute values.
  •  : Non-breaking space, usually used in text formatting.

How to use HTML escape characters

In an HTML document, you can directly use HTML escape characters to represent special characters. For example, when you need to display the character “<” on a webpage, you can use the escape character “<” to avoid it being parsed as the start of an HTML tag.

HTML Escape Tool

To facilitate developers in performing HTML escaping and character encoding conversions, this page also offers an HTML escape tool, where you can input special characters online and automatically obtain escape characters and their decimal encodings. This can help you quickly generate escape characters, ensuring the correct display of characters in your HTML pages.

Conclusion

HTML escape characters are an essential part of web development. Mastering the correct escape characters can ensure that your web pages display correctly in browsers, avoiding parsing errors or security vulnerabilities. This page provides a complete HTML escape character reference table and can help developers quickly find and use common escape characters.

Your footpath:
Choose Language