QuickRef.tips
Reference table

HTML Entities

All 193 named codes for the characters HTML reserves or hides, each with its Unicode code point and its numeric fallback. Search the set, see how it renders, and copy what you need.

Entity lookup193 of 193 shown
HTML named and numeric character references
GlyphNamedNumericHexCode pointUnicode nameSinceGroup
""""U+0022Quotation markHTML 4Markup
&&&&U+0026AmpersandHTML 4Markup
''''U+0027ApostropheHTML5Markup
<&lt;&#60;&#x3C;U+003CLess-than signHTML 4Markup
>&gt;&#62;&#x3E;U+003EGreater-than signHTML 4Markup
 &nbsp;&#160;&#xA0;U+00A0No-break spaceHTML 4Spacing
 &ensp;&#8194;&#x2002;U+2002En spaceHTML 4Spacing
 &emsp;&#8195;&#x2003;U+2003Em spaceHTML 4Spacing
 &thinsp;&#8201;&#x2009;U+2009Thin spaceHTML 4Spacing
 &hairsp;&#8202;&#x200A;U+200AHair spaceHTML5Spacing
​&ZeroWidthSpace;&#8203;&#x200B;U+200BZero width spaceHTML5Spacing
¢&cent;&#162;&#xA2;U+00A2Cent signHTML 4Currency
£&pound;&#163;&#xA3;U+00A3Pound signHTML 4Currency
¤&curren;&#164;&#xA4;U+00A4Currency signHTML 4Currency
¥&yen;&#165;&#xA5;U+00A5Yen signHTML 4Currency
€&euro;&#8364;&#x20AC;U+20ACEuro signHTML 4Currency
←&larr;&#8592;&#x2190;U+2190Leftwards arrowHTML 4Arrows
↑&uarr;&#8593;&#x2191;U+2191Upwards arrowHTML 4Arrows
→&rarr;&#8594;&#x2192;U+2192Rightwards arrowHTML 4Arrows
↓&darr;&#8595;&#x2193;U+2193Downwards arrowHTML 4Arrows
↔&harr;&#8596;&#x2194;U+2194Left right arrowHTML 4Arrows
↕&varr;&#8597;&#x2195;U+2195Up down arrowHTML5Arrows
↖&nwarr;&#8598;&#x2196;U+2196North west arrowHTML5Arrows
↗&nearr;&#8599;&#x2197;U+2197North east arrowHTML5Arrows
↘&searr;&#8600;&#x2198;U+2198South east arrowHTML5Arrows
↙&swarr;&#8601;&#x2199;U+2199South west arrowHTML5Arrows
↚&nlarr;&#8602;&#x219A;U+219ALeftwards arrow with strokeHTML5Arrows
↛&nrarr;&#8603;&#x219B;U+219BRightwards arrow with strokeHTML5Arrows
↝&rarrw;&#8605;&#x219D;U+219DRightwards wave arrowHTML5Arrows
↞&twoheadleftarrow;&#8606;&#x219E;U+219ELeftwards two headed arrowHTML5Arrows
↟&Uarr;&#8607;&#x219F;U+219FUpwards two headed arrowHTML5Arrows
↠&twoheadrightarrow;&#8608;&#x21A0;U+21A0Rightwards two headed arrowHTML5Arrows
↡&Darr;&#8609;&#x21A1;U+21A1Downwards two headed arrowHTML5Arrows
↢&larrtl;&#8610;&#x21A2;U+21A2Leftwards arrow with tailHTML5Arrows
↣&rarrtl;&#8611;&#x21A3;U+21A3Rightwards arrow with tailHTML5Arrows
↤&mapstoleft;&#8612;&#x21A4;U+21A4Leftwards arrow from barHTML5Arrows
↥&mapstoup;&#8613;&#x21A5;U+21A5Upwards arrow from barHTML5Arrows
↦&map;&#8614;&#x21A6;U+21A6Rightwards arrow from barHTML5Arrows
↧&mapstodown;&#8615;&#x21A7;U+21A7Downwards arrow from barHTML5Arrows
↩&larrhk;&#8617;&#x21A9;U+21A9Leftwards arrow with hookHTML5Arrows
↪&rarrhk;&#8618;&#x21AA;U+21AARightwards arrow with hookHTML5Arrows
↫&larrlp;&#8619;&#x21AB;U+21ABLeftwards arrow with loopHTML5Arrows
↬&rarrlp;&#8620;&#x21AC;U+21ACRightwards arrow with loopHTML5Arrows
↭&harrw;&#8621;&#x21AD;U+21ADLeft right wave arrowHTML5Arrows
↮&nharr;&#8622;&#x21AE;U+21AELeft right arrow with strokeHTML5Arrows
↰&lsh;&#8624;&#x21B0;U+21B0Upwards arrow with tip leftwardsHTML5Arrows
↱&rsh;&#8625;&#x21B1;U+21B1Upwards arrow with tip rightwardsHTML5Arrows
↲&ldsh;&#8626;&#x21B2;U+21B2Downwards arrow with tip leftwardsHTML5Arrows
↳&rdsh;&#8627;&#x21B3;U+21B3Downwards arrow with tip rightwardsHTML5Arrows
↵&crarr;&#8629;&#x21B5;U+21B5Downwards arrow with corner leftwardsHTML 4Arrows
↶&cularr;&#8630;&#x21B6;U+21B6Anticlockwise top semicircle arrowHTML5Arrows
↷&curarr;&#8631;&#x21B7;U+21B7Clockwise top semicircle arrowHTML5Arrows
↺&olarr;&#8634;&#x21BA;U+21BAAnticlockwise open circle arrowHTML5Arrows
↻&orarr;&#8635;&#x21BB;U+21BBClockwise open circle arrowHTML5Arrows
↼&lharu;&#8636;&#x21BC;U+21BCLeftwards harpoon with barb upwardsHTML5Arrows
↽&lhard;&#8637;&#x21BD;U+21BDLeftwards harpoon with barb downwardsHTML5Arrows
↾&uharr;&#8638;&#x21BE;U+21BEUpwards harpoon with barb rightwardsHTML5Arrows
↿&uharl;&#8639;&#x21BF;U+21BFUpwards harpoon with barb leftwardsHTML5Arrows
⇀&rharu;&#8640;&#x21C0;U+21C0Rightwards harpoon with barb upwardsHTML5Arrows
⇁&rhard;&#8641;&#x21C1;U+21C1Rightwards harpoon with barb downwardsHTML5Arrows
⇂&dharr;&#8642;&#x21C2;U+21C2Downwards harpoon with barb rightwardsHTML5Arrows
⇃&dharl;&#8643;&#x21C3;U+21C3Downwards harpoon with barb leftwardsHTML5Arrows
⇄&rlarr;&#8644;&#x21C4;U+21C4Rightwards arrow over leftwards arrowHTML5Arrows
⇅&udarr;&#8645;&#x21C5;U+21C5Upwards arrow leftwards of downwards arrowHTML5Arrows
⇆&lrarr;&#8646;&#x21C6;U+21C6Leftwards arrow over rightwards arrowHTML5Arrows
⇇&llarr;&#8647;&#x21C7;U+21C7Leftwards paired arrowsHTML5Arrows
⇈&uuarr;&#8648;&#x21C8;U+21C8Upwards paired arrowsHTML5Arrows
⇉&rrarr;&#8649;&#x21C9;U+21C9Rightwards paired arrowsHTML5Arrows
⇊&ddarr;&#8650;&#x21CA;U+21CADownwards paired arrowsHTML5Arrows
⇋&lrhar;&#8651;&#x21CB;U+21CBLeftwards harpoon over rightwards harpoonHTML5Arrows
⇌&rlhar;&#8652;&#x21CC;U+21CCRightwards harpoon over leftwards harpoonHTML5Arrows
⇍&nlArr;&#8653;&#x21CD;U+21CDLeftwards double arrow with strokeHTML5Arrows
⇎&nhArr;&#8654;&#x21CE;U+21CELeft right double arrow with strokeHTML5Arrows
⇏&nrArr;&#8655;&#x21CF;U+21CFRightwards double arrow with strokeHTML5Arrows
⇐&lArr;&#8656;&#x21D0;U+21D0Leftwards double arrowHTML 4Arrows
⇑&uArr;&#8657;&#x21D1;U+21D1Upwards double arrowHTML 4Arrows
⇒&rArr;&#8658;&#x21D2;U+21D2Rightwards double arrowHTML 4Arrows
⇓&dArr;&#8659;&#x21D3;U+21D3Downwards double arrowHTML 4Arrows
⇔&iff;&#8660;&#x21D4;U+21D4Left right double arrowHTML 4Arrows
⇕&vArr;&#8661;&#x21D5;U+21D5Up down double arrowHTML5Arrows
⇖&nwArr;&#8662;&#x21D6;U+21D6North west double arrowHTML5Arrows
⇗&neArr;&#8663;&#x21D7;U+21D7North east double arrowHTML5Arrows
⇘&seArr;&#8664;&#x21D8;U+21D8South east double arrowHTML5Arrows
⇙&swArr;&#8665;&#x21D9;U+21D9South west double arrowHTML5Arrows
⇚&lAarr;&#8666;&#x21DA;U+21DALeftwards triple arrowHTML5Arrows
⇛&rAarr;&#8667;&#x21DB;U+21DBRightwards triple arrowHTML5Arrows
⇝&zigrarr;&#8669;&#x21DD;U+21DDRightwards squiggle arrowHTML5Arrows
⇤&larrb;&#8676;&#x21E4;U+21E4Leftwards arrow to barHTML5Arrows
⇥&rarrb;&#8677;&#x21E5;U+21E5Rightwards arrow to barHTML5Arrows
⇵&duarr;&#8693;&#x21F5;U+21F5Downwards arrow leftwards of upwards arrowHTML5Arrows
⇽&loarr;&#8701;&#x21FD;U+21FDLeftwards open-headed arrowHTML5Arrows
⇾&roarr;&#8702;&#x21FE;U+21FERightwards open-headed arrowHTML5Arrows
⇿&hoarr;&#8703;&#x21FF;U+21FFLeft right open-headed arrowHTML5Arrows
¬&not;&#172;&#xAC;U+00ACNot signHTML 4Math
±&pm;&#177;&#xB1;U+00B1Plus-minus signHTML 4Math
²&sup2;&#178;&#xB2;U+00B2Superscript twoHTML 4Math
³&sup3;&#179;&#xB3;U+00B3Superscript threeHTML 4Math
µ&micro;&#181;&#xB5;U+00B5Micro signHTML 4Math
¹&sup1;&#185;&#xB9;U+00B9Superscript oneHTML 4Math
¼&frac14;&#188;&#xBC;U+00BCVulgar fraction one quarterHTML 4Math
½&half;&#189;&#xBD;U+00BDVulgar fraction one halfHTML 4Math
¾&frac34;&#190;&#xBE;U+00BEVulgar fraction three quartersHTML 4Math
×&times;&#215;&#xD7;U+00D7Multiplication signHTML 4Math
÷&div;&#247;&#xF7;U+00F7Division signHTML 4Math
‰&permil;&#8240;&#x2030;U+2030Per mille signHTML 4Math
′&prime;&#8242;&#x2032;U+2032PrimeHTML 4Math
″&Prime;&#8243;&#x2033;U+2033Double primeHTML 4Math
⁄&frasl;&#8260;&#x2044;U+2044Fraction slashHTML 4Math
∀&forall;&#8704;&#x2200;U+2200For allHTML 4Math
∂&part;&#8706;&#x2202;U+2202Partial differentialHTML 4Math
∃&exist;&#8707;&#x2203;U+2203There existsHTML 4Math
∄&nexist;&#8708;&#x2204;U+2204There does not existHTML5Math
∅&empty;&#8709;&#x2205;U+2205Empty setHTML 4Math
∇&nabla;&#8711;&#x2207;U+2207NablaHTML 4Math
∈&in;&#8712;&#x2208;U+2208Element ofHTML 4Math
∉&notin;&#8713;&#x2209;U+2209Not an element ofHTML 4Math
∋&ni;&#8715;&#x220B;U+220BContains as memberHTML 4Math
∏&prod;&#8719;&#x220F;U+220FN-ary productHTML 4Math
∑&sum;&#8721;&#x2211;U+2211N-ary summationHTML 4Math
−&minus;&#8722;&#x2212;U+2212Minus signHTML 4Math
∓&mp;&#8723;&#x2213;U+2213Minus-or-plus signHTML5Math
∗&lowast;&#8727;&#x2217;U+2217Asterisk operatorHTML 4Math
√&radic;&#8730;&#x221A;U+221ASquare rootHTML 4Math
∝&prop;&#8733;&#x221D;U+221DProportional toHTML 4Math
∞&infin;&#8734;&#x221E;U+221EInfinityHTML 4Math
∠&ang;&#8736;&#x2220;U+2220AngleHTML 4Math
∥&par;&#8741;&#x2225;U+2225Parallel toHTML5Math
∧&and;&#8743;&#x2227;U+2227Logical andHTML 4Math
∨&or;&#8744;&#x2228;U+2228Logical orHTML 4Math
∩&cap;&#8745;&#x2229;U+2229IntersectionHTML 4Math
∪&cup;&#8746;&#x222A;U+222AUnionHTML 4Math
∫&int;&#8747;&#x222B;U+222BIntegralHTML 4Math
∴&there4;&#8756;&#x2234;U+2234ThereforeHTML 4Math
∵&becaus;&#8757;&#x2235;U+2235BecauseHTML5Math
∼&sim;&#8764;&#x223C;U+223CTilde operatorHTML 4Math
≅&cong;&#8773;&#x2245;U+2245Approximately equal toHTML 4Math
≈&ap;&#8776;&#x2248;U+2248Almost equal toHTML 4Math
≠&ne;&#8800;&#x2260;U+2260Not equal toHTML 4Math
≡&equiv;&#8801;&#x2261;U+2261Identical toHTML 4Math
≢&nequiv;&#8802;&#x2262;U+2262Not identical toHTML5Math
≤&le;&#8804;&#x2264;U+2264Less-than or equal toHTML 4Math
≥&ge;&#8805;&#x2265;U+2265Greater-than or equal toHTML 4Math
≪&ll;&#8810;&#x226A;U+226AMuch less-thanHTML5Math
≫&gg;&#8811;&#x226B;U+226BMuch greater-thanHTML5Math
⊂&sub;&#8834;&#x2282;U+2282Subset ofHTML 4Math
⊃&sup;&#8835;&#x2283;U+2283Superset ofHTML 4Math
⊄&nsub;&#8836;&#x2284;U+2284Not a subset ofHTML 4Math
⊆&sube;&#8838;&#x2286;U+2286Subset of or equal toHTML 4Math
⊇&supe;&#8839;&#x2287;U+2287Superset of or equal toHTML 4Math
⊕&oplus;&#8853;&#x2295;U+2295Circled plusHTML 4Math
⊗&otimes;&#8855;&#x2297;U+2297Circled timesHTML 4Math
⊥&bot;&#8869;&#x22A5;U+22A5Up tackHTML 4Math
⋅&sdot;&#8901;&#x22C5;U+22C5Dot operatorHTML 4Math
‐&dash;&#8208;&#x2010;U+2010HyphenHTML5Punctuation
–&ndash;&#8211;&#x2013;U+2013En dashHTML 4Punctuation
—&mdash;&#8212;&#x2014;U+2014Em dashHTML 4Punctuation
―&horbar;&#8213;&#x2015;U+2015Horizontal barHTML5Punctuation
‖&Vert;&#8214;&#x2016;U+2016Double vertical lineHTML5Punctuation
‘&lsquo;&#8216;&#x2018;U+2018Left single quotation markHTML 4Punctuation
’&rsquo;&#8217;&#x2019;U+2019Right single quotation markHTML 4Punctuation
‚&sbquo;&#8218;&#x201A;U+201ASingle low-9 quotation markHTML 4Punctuation
“&ldquo;&#8220;&#x201C;U+201CLeft double quotation markHTML 4Punctuation
”&rdquo;&#8221;&#x201D;U+201DRight double quotation markHTML 4Punctuation
„&bdquo;&#8222;&#x201E;U+201EDouble low-9 quotation markHTML 4Punctuation
†&dagger;&#8224;&#x2020;U+2020DaggerHTML 4Punctuation
‡&ddagger;&#8225;&#x2021;U+2021Double daggerHTML 4Punctuation
•&bull;&#8226;&#x2022;U+2022BulletHTML 4Punctuation
‥&nldr;&#8229;&#x2025;U+2025Two dot leaderHTML5Punctuation
…&mldr;&#8230;&#x2026;U+2026Horizontal ellipsisHTML 4Punctuation
‱&pertenk;&#8241;&#x2031;U+2031Per ten thousand signHTML5Punctuation
‴&tprime;&#8244;&#x2034;U+2034Triple primeHTML5Punctuation
‵&bprime;&#8245;&#x2035;U+2035Reversed primeHTML5Punctuation
‹&lsaquo;&#8249;&#x2039;U+2039Single left-pointing angle quotation markHTML 4Punctuation
›&rsaquo;&#8250;&#x203A;U+203ASingle right-pointing angle quotation markHTML 4Punctuation
¡&iexcl;&#161;&#xA1;U+00A1Inverted exclamation markHTML 4Symbols
§&sect;&#167;&#xA7;U+00A7Section signHTML 4Symbols
©&copy;&#169;&#xA9;U+00A9Copyright signHTML 4Symbols
«&laquo;&#171;&#xAB;U+00ABLeft-pointing double angle quotation markHTML 4Symbols
®&reg;&#174;&#xAE;U+00AERegistered signHTML 4Symbols
°&deg;&#176;&#xB0;U+00B0Degree signHTML 4Symbols
&para;&#182;&#xB6;U+00B6Pilcrow signHTML 4Symbols
»&raquo;&#187;&#xBB;U+00BBRight-pointing double angle quotation markHTML 4Symbols
¿&iquest;&#191;&#xBF;U+00BFInverted question markHTML 4Symbols
™&trade;&#8482;&#x2122;U+2122Trade mark signHTML 4Symbols
★&starf;&#9733;&#x2605;U+2605Black starHTML5Symbols
☆&star;&#9734;&#x2606;U+2606White starHTML5Symbols
♠&spades;&#9824;&#x2660;U+2660Black spade suitHTML 4Symbols
♣&clubs;&#9827;&#x2663;U+2663Black club suitHTML 4Symbols
♥&hearts;&#9829;&#x2665;U+2665Black heart suitHTML 4Symbols
♦&diams;&#9830;&#x2666;U+2666Black diamond suitHTML 4Symbols
♪&sung;&#9834;&#x266A;U+266AEighth noteHTML5Symbols
✓&check;&#10003;&#x2713;U+2713Check markHTML5Symbols
✗&cross;&#10007;&#x2717;U+2717Ballot xHTML5Symbols

Click a named entity to copy it. The glyph column shows how it renders.

Source: WHATWG HTML Standard, named character references. Checked against that source on . 193 entities, dataset version 2.0.0. Changelog and JSON.

Why HTML entities exist

HTML uses a handful of characters as structure. The less-than and greater-than signs delimit tags, the ampersand opens an entity, and quotation marks bound attribute values. If you want any of those characters to appear as literal text rather than markup, you have to escape it, and an entity is how you do that. The named character references are defined by the WHATWG HTML Standard, so a browser resolves them the same way everywhere.

Entities also give you a portable way to write characters that are awkward to type or that might not survive a copy and paste, from a non breaking space to a mathematical symbol or an arrow. On a UTF-8 page you can often insert those characters directly, but the four markup sensitive characters still need escaping, and numeric entities remain the dependable fallback when a named form does not exist.

The four you must always escape

  • The less-than sign, so text is not read as the start of a tag.
  • The greater-than sign, for symmetry and to avoid edge cases.
  • The ampersand, so it is not read as the start of another entity.
  • The double quotation mark inside attribute values.

When you do not need an entity

This is the mistake that costs the most time: escaping everything. On a page served as UTF-8, and that is every page you write today, a euro sign, an arrow, an em dash, and an accented letter can all go in as themselves. They render identically, they are readable in the source, they survive a search across your codebase, and they take fewer bytes than the escape.

The four markup characters are the exception, and they are not negotiable. Beyond those, reach for an entity when the character is invisible and you need it to be obvious in the source, which is the real argument for writing a non breaking space as its named form, or when the output is not HTML at all. XML without a DTD knows only five names, so everything else must be numeric there.

Named or numeric

Named forms read better and are easier to remember. Numeric forms always work. The Since column in the table above tells you which named forms predate HTML5 and are therefore the safest to use outside a browser; the rest are HTML5 additions, and outside HTML5 the numeric form is the one to reach for.

Frequently asked questions

FAQ
What is an HTML entity?

An HTML entity is an escape sequence that represents a character which is either reserved in HTML or hard to type. It begins with an ampersand and ends with a semicolon, for example the named form for a copyright sign or the numeric form using a code point. The browser renders the entity as the intended character.

When do I have to use entities?

You must escape the characters that HTML treats as markup. Write the less-than and greater-than entities so a browser does not read them as a tag, and escape the ampersand so it is not read as the start of another entity. Inside attribute values you should also escape quotation marks.

What is the difference between named and numeric entities?

A named entity uses a memorable word between the ampersand and semicolon. A numeric entity uses the character's Unicode code point, in decimal or in hex with an x prefix. Numeric entities work for any character, while named ones exist only for a defined set, so numeric is the reliable fallback.

Which named entities do not work in XML or XHTML?

Only five named entities are defined in XML itself: lt, gt, amp, apos, and quot. Everything else that HTML gives a name to, including nbsp, comes from the HTML specification, so an XML parser without a DTD will reject it. The numeric form always works, which is why the numeric column on this page carries both a decimal and a hex form. The table marks each row as HTML 4 or HTML5 only, which is the closest practical proxy: an HTML5 only name is the one most likely to surprise you outside a browser.

Do I still need entities if my page is UTF-8?

For most symbols, no. A UTF-8 page can contain a euro sign or an em dash directly. You still must escape the four markup sensitive characters, the less-than sign, greater-than sign, ampersand, and quotation marks inside attributes, because those change how the HTML is parsed.

Put this table on your own page

Embed

Paste this anywhere. It loads a plain, self contained version of the table with a credit line underneath. Free under CC BY 4.0, and that credit line is the whole condition.

<iframe src="https://quickref.tips/embed/html-entities" width="100%" height="900" style="border:1px solid #ddd" loading="lazy" title="HTML entities from quickref.tips"></iframe>
See also