HTML Entities Reference

Named, decimal and hexadecimal character references grouped by what you are actually looking for — punctuation, currency, maths, arrows, Greek, accents and symbols.

Updated: 2 August 2026Read: 8 minRuns: 100% in your browser

How character references work

A character reference is a way of writing a character using only ASCII. All three forms below produce exactly the same output:

©     named reference
©     decimal numeric reference
©     hexadecimal numeric reference

All must end with a semicolon. HTML5 tolerates some missing semicolons for historical compatibility, but omitting them produces ambiguity and should be treated as an error.

Named references only exist for about 2,200 characters. Numeric references work for every Unicode code point, including emoji: 😀 is 😀.

You usually do not need them. With <meta charset="utf-8"> declared, write accented letters, symbols and emoji directly. Reserve references for the five HTML syntax characters, invisible characters, and code samples that display markup. The entity encoder converts either way.

Reference tables by category

Required in HTML

CharNamedDecimalHexDescription
&&amp;&#38;&#x26;Ampersand
<&lt;&#60;&#x3C;Less-than sign
>&gt;&#62;&#x3E;Greater-than sign
"&quot;&#34;&#x22;Quotation mark
'&apos;&#39;&#x27;Apostrophe

Spaces and dashes

CharNamedDecimalHexDescription
 &nbsp;&#160;&#xA0;No-break space
&ensp;&#8194;&#x2002;En space
&emsp;&#8195;&#x2003;Em space
&thinsp;&#8201;&#x2009;Thin space
&ZeroWidthSpace;&#8203;&#x200B;Zero-width space
&ndash;&#8211;&#x2013;En dash
&mdash;&#8212;&#x2014;Em dash
&minus;&#8722;&#x2212;Minus sign
­&shy;&#173;&#xAD;Soft hyphen

Quotes and punctuation

CharNamedDecimalHexDescription
&lsquo;&#8216;&#x2018;Left single quote
&rsquo;&#8217;&#x2019;Right single quote / apostrophe
&ldquo;&#8220;&#x201C;Left double quote
&rdquo;&#8221;&#x201D;Right double quote
«&laquo;&#171;&#xAB;Left guillemet
»&raquo;&#187;&#xBB;Right guillemet
&hellip;&#8230;&#x2026;Horizontal ellipsis
&bull;&#8226;&#x2022;Bullet
·&middot;&#183;&#xB7;Middle dot
&dagger;&#8224;&#x2020;Dagger
§&sect;&#167;&#xA7;Section sign
&para;&#182;&#xB6;Pilcrow
¿&iquest;&#191;&#xBF;Inverted question mark
¡&iexcl;&#161;&#xA1;Inverted exclamation mark

Currency

CharNamedDecimalHexDescription
&euro;&#8364;&#x20AC;Euro
£&pound;&#163;&#xA3;Pound sterling
¥&yen;&#165;&#xA5;Yen
¢&cent;&#162;&#xA2;Cent
¤&curren;&#164;&#xA4;Generic currency
&#8377;&#x20B9;Indian rupee
&#8381;&#x20BD;Russian ruble

Legal and commercial

CharNamedDecimalHexDescription
©&copy;&#169;&#xA9;Copyright
®&reg;&#174;&#xAE;Registered
&trade;&#8482;&#x2122;Trade mark
&copysr;&#8471;&#x2117;Sound recording copyright

Mathematics

CharNamedDecimalHexDescription
×&times;&#215;&#xD7;Multiplication
÷&divide;&#247;&#xF7;Division
±&plusmn;&#177;&#xB1;Plus-minus
&le;&#8804;&#x2264;Less or equal
&ge;&#8805;&#x2265;Greater or equal
&ne;&#8800;&#x2260;Not equal
&asymp;&#8776;&#x2248;Approximately equal
&infin;&#8734;&#x221E;Infinity
&radic;&#8730;&#x221A;Square root
&sum;&#8721;&#x2211;N-ary summation
&prod;&#8719;&#x220F;N-ary product
&int;&#8747;&#x222B;Integral
&part;&#8706;&#x2202;Partial differential
°&deg;&#176;&#xB0;Degree
½&frac12;&#189;&#xBD;One half
¼&frac14;&#188;&#xBC;One quarter
¾&frac34;&#190;&#xBE;Three quarters
&prime;&#8242;&#x2032;Prime / minutes
&Prime;&#8243;&#x2033;Double prime / seconds

Arrows

CharNamedDecimalHexDescription
&larr;&#8592;&#x2190;Leftwards
&rarr;&#8594;&#x2192;Rightwards
&uarr;&#8593;&#x2191;Upwards
&darr;&#8595;&#x2193;Downwards
&harr;&#8596;&#x2194;Left right
&lArr;&#8656;&#x21D0;Double leftwards
&rArr;&#8658;&#x21D2;Double rightwards
&crarr;&#8629;&#x21B5;Carriage return

Greek letters

CharNamedDecimalHexDescription
α&alpha;&#945;&#x3B1;alpha
β&beta;&#946;&#x3B2;beta
γ&gamma;&#947;&#x3B3;gamma
δ&delta;&#948;&#x3B4;delta
ε&epsilon;&#949;&#x3B5;epsilon
θ&theta;&#952;&#x3B8;theta
λ&lambda;&#955;&#x3BB;lambda
μ&mu;&#956;&#x3BC;mu
π&pi;&#960;&#x3C0;pi
σ&sigma;&#963;&#x3C3;sigma
φ&phi;&#966;&#x3C6;phi
ω&omega;&#969;&#x3C9;omega
Δ&Delta;&#916;&#x394;Delta
Σ&Sigma;&#931;&#x3A3;Sigma
Ω&Omega;&#937;&#x3A9;Omega

Accented Latin

CharNamedDecimalHexDescription
à&agrave;&#224;&#xE0;a grave
á&aacute;&#225;&#xE1;a acute
â&acirc;&#226;&#xE2;a circumflex
ä&auml;&#228;&#xE4;a diaeresis
å&aring;&#229;&#xE5;a ring
æ&aelig;&#230;&#xE6;ae ligature
ç&ccedil;&#231;&#xE7;c cedilla
è&egrave;&#232;&#xE8;e grave
é&eacute;&#233;&#xE9;e acute
ê&ecirc;&#234;&#xEA;e circumflex
ñ&ntilde;&#241;&#xF1;n tilde
ó&oacute;&#243;&#xF3;o acute
ö&ouml;&#246;&#xF6;o diaeresis
ø&oslash;&#248;&#xF8;o slash
ü&uuml;&#252;&#xFC;u diaeresis
ß&szlig;&#223;&#xDF;sharp s

Symbols and shapes

CharNamedDecimalHexDescription
&starf;&#9733;&#x2605;Black star
&star;&#9734;&#x2606;White star
&hearts;&#9829;&#x2665;Black heart
&spades;&#9824;&#x2660;Black spade
&check;&#10003;&#x2713;Check mark
&cross;&#10007;&#x2717;Ballot X
&checkmark;&#10004;&#x2714;Heavy check mark
&#9654;&#x25B6;Black right triangle
&#11088;&#x2B50;White medium star
&#10003;&#x2713;Tick

Three things that trip people up

&nbsp; is not a spacing tool

A no-break space prevents a line break and is not collapsed with neighbouring whitespace. Legitimate uses: between a number and its unit (10&nbsp;kg), between a name and an initial, before a French colon. Using strings of &nbsp; to indent or space content is a layout job for CSS margins and padding.

XML only knows five names

XML predefines exactly &amp;, &lt;, &gt;, &quot; and &apos;. Anything else — &nbsp; included — is undefined and makes the document invalid unless declared in a DTD. This catches people out in RSS feeds, sitemaps and SVG.

&apos; and older browsers

&apos; is valid HTML5 and XML but was not defined in HTML4, so very old browsers rendered it literally. In modern code it is fine; if you support genuinely ancient clients, use &#39;.

Emoji and astral characters

Characters above U+FFFF — emoji, historic scripts, many mathematical symbols — live in the astral planes and need four bytes in UTF-8 or a surrogate pair in UTF-16. As numeric references they work exactly like any other character:

&#x1F600;  😀  grinning face
&#x1F680;  🚀  rocket
&#x2764;   ❤   heavy black heart
&#x1F1EB;&#x1F1F7;  🇫🇷  regional indicators F + R = French flag

Many emoji are sequences rather than single code points. Flags are pairs of regional indicators; family and skin-tone emoji use zero-width joiners. That is why '👨‍👩‍👧'.length is 8 in JavaScript, not 1. Inspect the underlying bytes in the text to binary converter.

Frequently Asked Questions

What is an HTML entity?

A way of writing a character using only ASCII, either by name (&copy;) or by code point (&#169;). The parser converts it back to the real character.

Do I need entities for accented characters?

No, as long as your page declares UTF-8. Write them directly — it is more readable, searchable and editable.

What is the entity for a space?

An ordinary space needs no entity. &nbsp; is a no-break space, which prevents a line break at that point and is not collapsed with adjacent whitespace.

Can I use HTML entities in XML?

Only the five predefined ones: amp, lt, gt, quot and apos. Any other named entity makes an XML document invalid unless it is declared.

How do I write emoji as entities?

Use a hexadecimal numeric reference with the code point, such as &#x1F600;. Composite emoji need every code point in the sequence, including zero-width joiners.

How many named entities are there?

About 2,231 in the HTML5 specification, including some duplicates with and without trailing semicolons kept for backwards compatibility.

Sources & further reading

  1. WHATWG HTML: Named character references — the complete authoritative list
  2. W3C i18n: Using character escapes — when escaping helps and when it hurts
  3. Unicode: Full emoji list — code points for every standard emoji
  4. XML 1.0: Predefined entities — the five names XML actually defines