HTML Entities Cheatsheet & Online Reference

HTML entities are a mechanism for coding references to characters that are not easily entered via the keyboard or need a special representation to distinguish them from characters such as <, > etc. that have a special significance in HTML. Entities are expressed in one of two forms:

  • &name; – by reference to the name of the entity.
  • &number; – by specifying the ISO code for the entity.

Note the terminating semicolon – ;. Entity names are case sensitive. The most commonly used entities are listed in the table below. Please click on the links below to view entities that category. There are few entity names, indicated as &name; that are not correctly interpreted by Internet Explorer. In such cases it is better to use the corresponding entity number.

In addition to the named entities, it is possible to display most Unicode characters by specifying them in the form &#dddd; or &#Xhhhh; where dddd is the decimal Unicode for the character and hhhh is the equivalent hexadecimal value. Even when using named entities it pays to use the shorter of the name or number representations – except when future readability is likely to be a concern.

Special Characters

Entity Entity Name Entity Number Entity Entity Name Entity Number
&quot; &#34; & &amp; &#38;
&apos; &#39; < &lt; &#60;
> &gt; &#62;

Arrows

Entity Entity Name Entity Number Entity Entity Name Entity Number
&larr; &#8592; &uarr; &#8593;
&rarr; &#8594; &darr; &#8595;
&harr; &#8596; &lArr; &#8656;
&uArr; &#8657; &rArr; &#8658;
&dArr; &#8659; &hArr; &#8660;

Accented Uppercase Vowels

Entity Entity Name Entity Number Entity Entity Name Entity Number
À &Agrave; &#192; Á &Aacute; &#193;
 &Acirc; &#194; à &Atilde; &#195;
Ä &Auml; &#196; Å &Aring; &#197;
Æ &AElig; &#198; Ç &Ccedil; &#199;
È &Egrave; &#200; É &Eacute; &#201;
Ê &Ecirc; &#202; Ë &Euml; &#203;
Ì &Igrave; &#204; Í &Iacute; &#205;
Î &Icirc; &#206; Ï &Iuml; &#207;
Ò &Ograve; &#210; Ó &Oacute; &#211;
Ô &Ocirc; &#212; Õ &Otilde; &#213;
Ö &Ouml; &#214; Ø &Oslash; &#216;
Œ &OElig; &#338; Ù &Ugrave; &#217;
Ú &Uacute; &#218; Û &Ucirc; &#219;
Ü &Uuml; &#220;

Accented Lowercase Vowels

Entity Entity Name Entity Number Entity Entity Name Entity Number
à &agrave; &#224; á &aacute; &#225;
â &acirc; &#226; ã &atilde; &#227;
ä &auml; &#228; å &aring; &#229;
æ &aelig; &#230; ç &ccedil; &#231;
è &egrave; &#232; é &eacute; &#233;
ê &ecirc; &#234; ë &euml; &#235;
ì &igrave; &#236; í &iacute; &#237;
î &icirc; &#238; ï &iuml; &#239;
ò &ograve; &#242; ó &oacute; &#243;
ô &ocirc; &#244; õ &otilde; &#245;
ö &ouml; &#246; ø &oslash; &#248;
œ &oelig; &#339; ù &ugrave; &#249;
ú &uacute; &#250; û &ucirc; &#251;
ü &uuml; &#252;

Other Accented Characters

Entity Entity Name Entity Number Entity Entity Name Entity Number
Ñ &Ntilde; &#209; ñ &ntilde; &#241;
Þ &THORN; &#222; þ &thorn; &#254;
ß &szlig; &#223; ð &eth; &#240;
Š &Scaron; &#352; š &scaron; &#353;
ƒ &fnof; &#402; ý &yacute; &#253;
ÿ &yuml; &#255; Ÿ &Yuml; &#376;

Uppercase Greek Letters

Entity Entity Name Entity Number Entity Entity Name Entity Number
Α &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;
Ω &Omega; &#936;

Lowercase Greek Letters

Entity Entity Name Entity Number Entity Entity Name Entity Number
α &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; σ &sigma; &#963;
τ &tau; &#964; υ &upsilon; &#965;
φ &phi; &#966; χ &chi; &#967;
ψ &psi; &#968; ω &omega; &#969;
ϖ &piv; &#982;

Spaces & Hyphens

Entity Entity Name Entity Number Entity Entity Name Entity Number
&ensp; &#8194; &emsp; &#8195;
&thinsp; &#8201; &nbsp; &#160;
&ndash; &#8211; &mdash; &#8212;
&oline; &#8254; _ &#95;
¯ &macr; &#175;

Quotes & Punctuation

Entity Entity Name Entity Number Entity Entity Name Entity Number
&lsquo; &#8216; &rsquo; &#8217;
&sbquo; &#8218; &ldquo; &#8220;
&rdquo; &#8221; &bdquo; &#8222;
&lsaquo; &#8249; &rsaquo; &#8250;
« &laquo; &#171; » &raquo; &#187;
&prime; &#8242; &hellip; &#8230;
¿ &iquest; &#191; ¡ &iexcl; &#161;
· &middot; &#183;

Accents & Currency

Entity Entity Name Entity Number Entity Entity Name Entity Number
¨ &uml; &#168; ´ &acute; &#180;
¸ &cedil; &#184; ˆ &circ; &#710;
˜ &tilde; &#732; ¢ &cent; &#162;
£ &pound; &#163; ¤ &curren; &#164;
¥ &yen; &#165; &euro; &#8364;

Common Symbols

Entity Entity Name Entity Number Entity Entity Name Entity Number
&dagger; &#8224; &Dagger; &#8225;
&trade; &#8482; © &copy; &#169;
® &reg; &#174; § &sect; &#167;
&para; &#182; ° &deg; &#176;
µ &micro; &#181; &loz; &#9674;
&spades; &#9824; &clubs; &#9827;
&hearts; &#9829; &diams; &#9830;

Small Characters

Entity Entity Name Entity Number Entity Entity Name Entity Number
ª &ordf; &#170; º &ordm; &#186;
² &sup2; &#178; ³ &sup3; &#179;
¹ &sup1; &#185; ¼ &frac14; &#188;
½ &frac12; &#189; ¾ &frac34; &#190;

Mathematical Symbols

Entity Entity Name Entity Number Entity Entity Name Entity Number
&minus; &#8722; × &times; &#215;
÷ &divide; &#247; &frasl; &#8260;
&cap; &#8745; &cup; &#8746;
&sub; &#8834; &sup; &#8835;
&nsub; &#8836; &sube; &#8838;
&supe; &#8839; &isin; &#8712;
&notin; &#8713; &ni; &#8715;
&and; &#8743; &or; &#8744;
&oplus; &#8853; &otimes; &#8855;
&cong; &#8773; &asymp; &#8776;
&sim; &#8764; &equiv; &#8801;
&ne; &#8800; &le; &#8804;
&ge; &#8805; &prop; &#8733;
&perp; &#8869; &forall; &#8704;
&part; &#8706; &exist; &#8707;
&empty; &#8709; &nabla; &#8711;
&prod; &#8719; &sum; &#8721;
&radic; &#8730; &int; &#8747;
&infin; &#8734; &ang; &#8736;
&there4; &#8756; &image; &#8465;
&weierp; &#8472; &real; &#8476;
&alefsym; &#8501; ± &plusmn; &#177;
¬ &not; &#172;

Miscelleaneous

Entity Entity Name Entity Number Entity Entity Name Entity Number
&bull; &#8226; ¦ &brvbar; &#166;
&#9484; &#9488;
&#9492; &#9496;
&#9500; &#9508;
&#9516; &#9524;
&#9532; &#9632;
&#9658; &#9668;
&#9688; &#9786;
&#9792; &#9794;

The space characters have been underlined in red to make them visible.