HTML Entities List — Complete Reference Table (Free)

An HTML entity is a short code that stands in for a character you cannot — or should not — type directly into HTML. This page lists the ones you will actually use, with every code you need to copy.

Encode text to HTML entities — free →

Free · No signup · No watermark · Private

What is an HTML entity?

An HTML entity is a short code that stands in for a character inside an HTML page. It always starts with an & and ends with a ; — in between is either a name, like copy, or a number, like #169. The browser reads the code and shows the character instead. You need entities for three jobs: characters that HTML reserves for its own markup (< and > would start a tag, & would start another entity), characters you cannot see (the non-breaking space), and symbols that are not on your keyboard (©, €, →, π).

The 5 entities you must know

If you remember nothing else from this page, remember these five — they cover almost every real-world use:

CharacterEntity nameDecimalHexWhat it is
&&amp;&#38;&#x26;Ampersand — use it for every & in your text
<&lt;&#60;&#x3C;Less-than — shows a < without starting a tag
>&gt;&#62;&#x3E;Greater-than — shows a > without closing a tag
"&quot;&#34;&#x22;Double quote — inside attribute values
 &nbsp;&#160;&#xA0;Non-breaking space — stops the browser collapsing it

Complete HTML entities reference table

Every code below is copy-ready: the Entity name column is what you type, Decimal and Hex are the numeric forms that work anywhere a name does. Named entities are case-sensitive — &copy; and &COPY; are different codes.

Reserved characters & punctuation

CharacterEntity nameDecimalHexWhat it is
'&apos;&#39;&#x27;Apostrophe (HTML5 — use &#39; for older HTML4 pages)
¡&iexcl;&#161;&#xA1;Inverted exclamation mark
¿&iquest;&#191;&#xBF;Inverted question mark
§&sect;&#167;&#xA7;Section sign
&para;&#182;&#xB6;Paragraph sign
·&middot;&#183;&#xB7;Middle dot
«&laquo;&#171;&#xAB;Left guillemet
»&raquo;&#187;&#xBB;Right guillemet
‘&lsquo;&#8216;&#x2018;Left single quote
’&rsquo;&#8217;&#x2019;Right single quote
“&ldquo;&#8220;&#x201C;Left double quote
”&rdquo;&#8221;&#x201D;Right double quote
–&ndash;&#8211;&#x2013;En dash
—&mdash;&#8212;&#x2014;Em dash
…&hellip;&#8230;&#x2026;Horizontal ellipsis
•&bull;&#8226;&#x2022;Bullet
†&dagger;&#8224;&#x2020;Dagger
‡&Dagger;&#8225;&#x2021;Double dagger
‰&permil;&#8240;&#x2030;Per mille

Currency, legal & units

CharacterEntity nameDecimalHexWhat it is
¢&cent;&#162;&#xA2;Cent sign
£&pound;&#163;&#xA3;Pound sign
¥&yen;&#165;&#xA5;Yen sign
€&euro;&#8364;&#x20AC;Euro sign
$&dollar;&#36;&#x24;Dollar sign
©&copy;&#169;&#xA9;Copyright sign
®&reg;&#174;&#xAE;Registered trade mark
™&trade;&#8482;&#x2122;Trade mark sign
°&deg;&#176;&#xB0;Degree sign
±&plusmn;&#177;&#xB1;Plus-minus sign
µ&micro;&#181;&#xB5;Micro sign

Math symbols

CharacterEntity nameDecimalHexWhat it is
×&times;&#215;&#xD7;Multiplication sign
÷&divide;&#247;&#xF7;Division sign
¼&frac14;&#188;&#xBC;One quarter
½&frac12;&#189;&#xBD;One half
¾&frac34;&#190;&#xBE;Three quarters
≠&ne;&#8800;&#x2260;Not equal to
≤&le;&#8804;&#x2264;Less-than or equal to
≥&ge;&#8805;&#x2265;Greater-than or equal to
∞&infin;&#8734;&#x221E;Infinity
∑&sum;&#8721;&#x2211;Summation
√&radic;&#8730;&#x221A;Square root

Arrows

CharacterEntity nameDecimalHexWhat it is
←&larr;&#8592;&#x2190;Leftwards arrow
↑&uarr;&#8593;&#x2191;Upwards arrow
→&rarr;&#8594;&#x2192;Rightwards arrow
↓&darr;&#8595;&#x2193;Downwards arrow
↔&harr;&#8596;&#x2194;Left-right arrow

Greek letters

CharacterEntity nameDecimalHexWhat it is
α&alpha;&#945;&#x3B1;Greek small letter alpha
β&beta;&#946;&#x3B2;Greek small letter beta
γ&gamma;&#947;&#x3B3;Greek small letter gamma
δ&delta;&#948;&#x3B4;Greek small letter delta
π&pi;&#960;&#x3C0;Greek small letter pi
ω&omega;&#969;&#x3C9;Greek small letter omega
Σ&Sigma;&#931;&#x3A3;Greek capital letter sigma
Ω&Omega;&#937;&#x3A9;Greek capital letter omega

Shapes & card suits

CharacterEntity nameDecimalHexWhat it is
♥&hearts;&#9829;&#x2665;Black heart suit
♦&diams;&#9830;&#x2666;Black diamond suit
♣&clubs;&#9827;&#x2663;Black club suit
♠&spades;&#9824;&#x2660;Black spade suit
☆&star;&#9733;&#x2605;Black star
✓&check;&#10003;&#x2713;Check mark

Named vs numeric entities: which one should you use?

Named entities (&copy;) are easier to read in your source code — anyone scanning the HTML knows what the character is. Numeric entities (&#169; or &#xA9;) work everywhere a name does and cover characters that have no name at all. Rule of thumb: use the name when one exists and your team will read the code; use the number when you need a character with no named form. Both must end with a semicolon — without it, the browser may print the code as literal text.

Convert text to HTML entities in 3 steps

  1. Open the HTML Entity Encoder and paste your text — a sentence, a code sample, a whole paragraph.
  2. Hit Encode. Reserved characters and special symbols are replaced with their entity codes; switch to Decode to turn entities back into plain text.
  3. Copy the output with the copy button and paste it straight into your HTML.

Honest limits

  • Modern pages rarely need entities for ordinary letters. A page saved as UTF-8 can type ©, € or ñ directly — entities are still required for <, > and &, which HTML would read as markup.
  • The encoder works on text you paste. It does not scan a whole website or rewrite your files — convert the snippet you need, then paste it in.
  • &apos; is HTML5. On an old HTML4 page, use &#39; for the apostrophe instead.
  • Entities are case-sensitive. &copy; works; &COPY; is a different code and means something else.

Frequently asked questions

What is an HTML entity?

A code that stands in for a character in HTML. It starts with &, ends with ;, and holds a name (like copy) or a number (like #169) in between. The browser shows the character instead of the code.

What are the 5 most common HTML entities?

The ampersand (&amp;), less-than (&lt;), greater-than (&gt;), double quote (&quot;) and non-breaking space (&nbsp;). Together they cover almost every everyday use.

Do I need a semicolon after an entity?

Yes — always end the code with a semicolon. Without it the browser may print the code itself as plain text instead of the character.

Are HTML entities case-sensitive?

Yes. The name has to match exactly: &copy; is the copyright sign, while &COPY; is a different code. The same goes for hex digits — &#xA9; and &#xa9; both work, but the letter casing of the name matters.

Can I just type © directly instead of using an entity?

Yes, on a page saved as UTF-8 you can type ©, € or ñ directly and they will display fine. Entities are still required for <, > and &, because HTML reads those as markup, not text.

How do I convert text to HTML entities?

Paste the text into the free HTML Entity Encoder, hit Encode, and copy the result. The tool also decodes entities back to plain text, and everything runs in your browser — nothing is uploaded.

Try it now

Ready? Encode text to HTML entities — free, instant, no signup, and your text never leaves your browser.

Related tools