HTML Entities Cheat Sheet

Complete reference of HTML character entities. Special characters, symbols, arrows, math operators, currency signs, and more.

Essential Characters

Characters that must be escaped in HTML to avoid parsing issues.

CharNamedNumericDescription
&&&Ampersand
<&lt;&#60;Less than
>&gt;&#62;Greater than
"&quot;&#34;Double quote
'&apos;&#39;Single quote / apostrophe
Important: Always escape &, <, > in HTML content, and " inside attribute values. Failing to do so can cause rendering issues or XSS vulnerabilities.

Punctuation & Quotes

CharNamedNumericDescription
 &nbsp;&#160;Non-breaking space
&ndash;&#8211;En dash
&mdash;&#8212;Em dash
&lsquo;&#8216;Left single quote
&rsquo;&#8217;Right single quote / apostrophe
&ldquo;&#8220;Left double quote
&rdquo;&#8221;Right double quote
«&laquo;&#171;Left guillemet
»&raquo;&#187;Right guillemet
&hellip;&#8230;Ellipsis
·&middot;&#183;Middle dot
&bull;&#8226;Bullet
¡&iexcl;&#161;Inverted exclamation
¿&iquest;&#191;Inverted question
&dagger;&#8224;Dagger
&Dagger;&#8225;Double dagger

Math & Logic

CharNamedNumericDescription
+&plus;&#43;Plus sign
&minus;&#8722;Minus sign
×&times;&#215;Multiplication
÷&divide;&#247;Division
±&plusmn;&#177;Plus-minus
&ne;&#8800;Not equal
&le;&#8804;Less than or equal
&ge;&#8805;Greater than or equal
&asymp;&#8776;Approximately equal
&equiv;&#8801;Identical / equivalent
&sum;&#8721;Summation
&prod;&#8719;Product
&radic;&#8730;Square root
&infin;&#8734;Infinity
&int;&#8747;Integral
&part;&#8706;Partial differential
&nabla;&#8711;Nabla / del
&isin;&#8712;Element of
&notin;&#8713;Not element of
&sub;&#8834;Subset of
&sup;&#8835;Superset of
&cup;&#8746;Union
&cap;&#8745;Intersection
&and;&#8743;Logical AND
&or;&#8744;Logical OR
¬&not;&#172;Not sign
&there4;&#8756;Therefore
&permil;&#8240;Per mille (per thousand)
°&deg;&#176;Degree
¼&frac14;&#188;One quarter
½&frac12;&#189;One half
¾&frac34;&#190;Three quarters

Arrows

CharNamedNumericDescription
&larr;&#8592;Left arrow
&uarr;&#8593;Up arrow
&rarr;&#8594;Right arrow
&darr;&#8595;Down arrow
&harr;&#8596;Left-right arrow
&lArr;&#8656;Left double arrow
&rArr;&#8658;Right double arrow (implies)
&hArr;&#8660;Left-right double arrow (iff)
&crarr;&#8629;Carriage return arrow

Currency

CharNamedNumericDescription
$&dollar;&#36;Dollar
&euro;&#8364;Euro
£&pound;&#163;British pound
¥&yen;&#165;Yen / Yuan
¢&cent;&#162;Cent
&#8377;&#8377;Indian Rupee
&#8361;&#8361;Korean Won
&#8369;&#8369;Philippine Peso
฿&#3647;&#3647;Thai Baht
&#8382;&#8382;Lari (Georgian)

Symbols & Misc

CharNamedNumericDescription
©&copy;&#169;Copyright
®&reg;&#174;Registered
&trade;&#8482;Trademark
§&sect;&#167;Section
&para;&#182;Paragraph / pilcrow
µ&micro;&#181;Micro
¯&macr;&#175;Macron / overline
&loz;&#9674;Lozenge / diamond
&spades;&#9824;Spade suit
&clubs;&#9827;Club suit
&hearts;&#9829;Heart suit
&diams;&#9830;Diamond suit
&#10003;Check mark
&#10007;Ballot X / cross mark
&#9733;Black star
&#9734;White star

Greek Letters

CharNamedCharNamed
Α&Alpha; / &alpha;α&alpha;
Β&Beta;β&beta;
Γ&Gamma;γ&gamma;
Δ&Delta;δ&delta;
Ε&Epsilon;ε&epsilon;
Θ&Theta;θ&theta;
Λ&Lambda;λ&lambda;
Π&Pi;π&pi;
Σ&Sigma;σ&sigma;
Φ&Phi;φ&phi;
Ω&Omega;ω&omega;

Spaces & Formatting

EntityWidthDescription
&nbsp;Normal spaceNon-breaking space (prevents line break)
&ensp;En spaceHalf an em (width of 'n')
&emsp;Em spaceFull em (width of 'm')
&thinsp;Thin space1/5 or 1/6 of an em
&#8203;Zero widthZero-width space (allows line break)
&#8204;Zero widthZero-width non-joiner
&shy;Zero widthSoft hyphen (break point for long words)
&#10;Line feed (in attributes)
Tip: Use &nbsp; to prevent two words from being split across lines. Use &shy; inside long words to hint where they can be hyphenated if needed.