Blog
Custom Print on Demand Apparel — Free Storefront for Your Business
Wild & Free Tools

HTML Special Characters Cheat Sheet — Every Entity Code, Symbol & Arrow in One Place

Last updated: April 202610 min readEncode & Decode Tools

HTML special characters are characters that must be encoded as entities to display correctly in web pages. An ampersand becomes &, a less-than becomes <, and a heart becomes ♥ or ♥. This cheat sheet covers every entity you will actually use — organized by category with copy-paste codes.

If you have ever seen & or < in HTML source code and wondered what they mean, this is the complete reference. Every essential entity, its name, numeric code, and the rendered symbol.

The 5 Must-Escape Characters

These characters must always be encoded in HTML. Skipping even one can break your page or create security vulnerabilities:

CharacterEntity NameNumeric CodeWhy It Must Be Escaped
&&&Starts entity references. Raw & confuses the HTML parser.
<&lt;&#60;Opens HTML tags. Raw < makes the parser think a tag is starting.
>&gt;&#62;Closes HTML tags. Should be escaped for consistency and XSS prevention.
"&quot;&#34;Closes attribute values. Must escape inside double-quoted attributes.
\'&apos; or &#39;&#39;Closes attribute values. Must escape inside single-quoted attributes.

Spacing & Invisible Characters

SymbolEntity NameNumeric CodeDescription
(non-breaking space)&nbsp;&#160;Prevents line break; keeps words together
(en space)&ensp;&#8194;Width of letter "n"
(em space)&emsp;&#8195;Width of letter "M"
(thin space)&thinsp;&#8201;Narrow space, used around dashes
(zero-width space)&#8203;Invisible break opportunity
(soft hyphen)&shy;&#173;Invisible unless line breaks there

Arrows

SymbolEntity NameNumeric CodeDescription
\u2190&larr;&#8592;Left arrow
\u2191&uarr;&#8593;Up arrow
\u2192&rarr;&#8594;Right arrow
\u2193&darr;&#8595;Down arrow
\u2194&harr;&#8596;Left-right arrow
\u21D0&lArr;&#8656;Double left arrow
\u21D2&rArr;&#8658;Double right arrow (implies)
\u21D4&hArr;&#8660;Double left-right arrow
\u25B2&#9650;Up triangle / caret
\u25BC&#9660;Down triangle / caret
\u25C0&#9664;Left triangle
\u25B6&#9654;Right triangle / play button

Checkmarks, Stars & Hearts

SymbolEntity NameNumeric CodeDescription
\u2713&#10003;Check mark
\u2714&#10004;Heavy check mark
\u2717&#10007;Ballot X / cross mark
\u2718&#10008;Heavy ballot X
\u2665&hearts;&#9829;Black heart
\u2764&#10084;Heavy red heart
\u2605&#9733;Black star (filled)
\u2606&#9734;White star (outline)
\u2022&bull;&#8226;Bullet point
\u25CF&#9679;Black circle
\u25CB&#9675;White circle

Currency Symbols

SymbolEntity NameNumeric CodeDescription
$&#36;Dollar sign
\u20AC&euro;&#8364;Euro sign
\u00A3&pound;&#163;British pound
\u00A5&yen;&#165;Japanese yen / Chinese yuan
\u00A2&cent;&#162;Cent sign
\u20B9&#8377;Indian rupee
\u20A9&#8361;Korean won
\u20BF&#8383;Bitcoin symbol

Math & Technical Symbols

SymbolEntity NameNumeric CodeDescription
\u00D7&times;&#215;Multiplication sign
\u00F7&divide;&#247;Division sign
\u00B1&plusmn;&#177;Plus-minus sign
\u2260&ne;&#8800;Not equal to
\u2264&le;&#8804;Less than or equal to
\u2265&ge;&#8805;Greater than or equal to
\u221A&radic;&#8730;Square root
\u221E&infin;&#8734;Infinity
\u00B0&deg;&#176;Degree symbol
\u00B2&sup2;&#178;Superscript 2 (squared)
\u00B3&sup3;&#179;Superscript 3 (cubed)
\u00BC&frac14;&#188;One quarter
\u00BD&frac12;&#189;One half
\u00BE&frac34;&#190;Three quarters

Legal & Trademark Symbols

SymbolEntity NameNumeric CodeDescription
\u00A9&copy;&#169;Copyright
\u00AE&reg;&#174;Registered trademark
\u2122&trade;&#8482;Trademark
\u00A7&sect;&#167;Section sign
\u00B6&para;&#182;Pilcrow / paragraph sign
\u2020&dagger;&#8224;Dagger (footnote)
\u2021&Dagger;&#8225;Double dagger

Punctuation & Typography

SymbolEntity NameNumeric CodeDescription
\u2014&mdash;&#8212;Em dash — long dash
\u2013&ndash;&#8211;En dash \u2013 medium dash
\u2026&hellip;&#8230;Horizontal ellipsis
\u201C&ldquo;&#8220;Left double quotation mark
\u201D&rdquo;&#8221;Right double quotation mark
\u2018&lsquo;&#8216;Left single quotation mark
\u2019&rsquo;&#8217;Right single quotation mark / apostrophe
\u00AB&laquo;&#171;Left double angle quote
\u00BB&raquo;&#187;Right double angle quote
\u00B7&middot;&#183;Middle dot / interpunct

When to Use Entity Names vs Numeric Codes

Practical rule: Use named entities for the common 5 (& < > " ') and for well-known symbols (&hearts; &copy; &mdash;). Use numeric codes for everything else.

Pair These Tools Together

Honest Limitations

This cheat sheet covers the most commonly used HTML entities. The full HTML5 specification defines over 2,000 named character references, and Unicode has over 140,000 characters. For obscure mathematical notation, ancient scripts, or specialized technical symbols, check the full Unicode character table. For emoji, modern browsers support them directly in UTF-8 encoded HTML files without entity encoding — though entity codes work as a fallback.

Encode or decode HTML entities right now — paste your text and convert instantly.

Open HTML Entities Tool
Launch Your Own Clothing Brand — No Inventory, No Risk