HTML Entities List

192 characters with their named, decimal and hexadecimal codes.

No signup, no tracking

Every character below can be written into HTML three ways: as a named entity like ñ, as a decimal code like ñ, or as a hexadecimal code like ñ. All three produce exactly the same character. This page lists 192 of them, grouped by what you are actually trying to type.

The names, code points and hex values here were generated directly from the WHATWG entity list that browsers implement, not typed by hand, so every row round-trips correctly. Copy whichever column your target system prefers.

How to read the table

Each row gives you four interchangeable ways to reach the same character. The name is the most readable, the decimal code is the most universally supported, and the hex code is what you will see in Unicode documentation because it matches the code point directly.

NotationExampleWhen to use it
CharacterñFine on any page that declares UTF-8, which is nearly all of them.
Named entityñReadable in source. Only exists for characters that have a name.
DecimalñWorks for every character in Unicode. The safest fallback.
HexadecimalñMatches the U+00F1 code point notation used in Unicode charts.

Note that named entities are case-sensitive — the HTML standard requires the name to be written "using the same case" — so Ñ is capital Ñ and ñ is lowercase ñ. The trailing semicolon is required.

The characters you must always escape

If you only memorise a handful, memorise these. The ampersand and the angle brackets stop text from being read as markup; the two quote characters matter inside attribute values. The space variants below them are the ones people reach for when a layout needs a specific gap.

CharacterDescriptionNameDecimalHex
&Ampersand&&&
<Less than / opening tag&lt;&#60;&#x3C;
>Greater than / closing tag&gt;&#62;&#x3E;
"Double quote&quot;&#34;&#x22;
'Apostrophe / single quote&apos;&#39;&#x27;
 Non-breaking space&nbsp;&#160;&#xA0;
­Soft hyphen (invisible until it breaks)&shy;&#173;&#xAD;
En space&ensp;&#8194;&#x2002;
Em space&emsp;&#8195;&#x2003;
Thin space&thinsp;&#8201;&#x2009;

Accented letters and Spanish characters

The block people paste most often, usually when a CMS or an HTML email template has mangled the accents on the way in.

CharacterDescriptionNameDecimalHex
áa with acute accent&aacute;&#225;&#xE1;
ée with acute accent&eacute;&#233;&#xE9;
íi with acute accent&iacute;&#237;&#xED;
óo with acute accent&oacute;&#243;&#xF3;
úu with acute accent&uacute;&#250;&#xFA;
ÁA with acute accent&Aacute;&#193;&#xC1;
ÉE with acute accent&Eacute;&#201;&#xC9;
ÍI with acute accent&Iacute;&#205;&#xCD;
ÓO with acute accent&Oacute;&#211;&#xD3;
ÚU with acute accent&Uacute;&#218;&#xDA;
ñn with tilde&ntilde;&#241;&#xF1;
ÑN with tilde&Ntilde;&#209;&#xD1;
üu with diaeresis&uuml;&#252;&#xFC;
ÜU with diaeresis&Uuml;&#220;&#xDC;
¿Inverted question mark&iquest;&#191;&#xBF;
¡Inverted exclamation mark&iexcl;&#161;&#xA1;
ªFeminine ordinal (1.ª)&ordf;&#170;&#xAA;
ºMasculine ordinal (1.º)&ordm;&#186;&#xBA;
«Opening angle quote&laquo;&#171;&#xAB;
»Closing angle quote&raquo;&#187;&#xBB;
°Degree sign&deg;&#176;&#xB0;
·Middle dot&middot;&#183;&#xB7;

Other accented and European letters

Grave, circumflex, diaeresis and the Nordic, German, Portuguese and Icelandic letters.

CharacterDescriptionNameDecimalHex
àa with grave accent&agrave;&#224;&#xE0;
èe with grave accent&egrave;&#232;&#xE8;
ìi with grave accent&igrave;&#236;&#xEC;
òo with grave accent&ograve;&#242;&#xF2;
ùu with grave accent&ugrave;&#249;&#xF9;
âa with circumflex&acirc;&#226;&#xE2;
êe with circumflex&ecirc;&#234;&#xEA;
îi with circumflex&icirc;&#238;&#xEE;
ôo with circumflex&ocirc;&#244;&#xF4;
ûu with circumflex&ucirc;&#251;&#xFB;
äa with diaeresis / umlaut&auml;&#228;&#xE4;
ëe with diaeresis&euml;&#235;&#xEB;
ïi with diaeresis&iuml;&#239;&#xEF;
öo with diaeresis / umlaut&ouml;&#246;&#xF6;
ãa with tilde (Portuguese)&atilde;&#227;&#xE3;
õo with tilde (Portuguese)&otilde;&#245;&#xF5;
çc with cedilla&ccedil;&#231;&#xE7;
ÇC with cedilla&Ccedil;&#199;&#xC7;
åa with ring (Nordic)&aring;&#229;&#xE5;
æae ligature&aelig;&#230;&#xE6;
øo with stroke (Nordic)&oslash;&#248;&#xF8;
ßGerman sharp s&szlig;&#223;&#xDF;
ýy with acute accent&yacute;&#253;&#xFD;
ÿy with diaeresis&yuml;&#255;&#xFF;
ðIcelandic eth&eth;&#240;&#xF0;
þIcelandic thorn&thorn;&#254;&#xFE;

Punctuation and typography

Dashes, curly quotes and the marks that separate typeset text from text that was typed. The en dash is for ranges, the em dash for parentheticals, and the ellipsis is one character rather than three periods.

CharacterDescriptionNameDecimalHex
En dash (ranges: 10–20)&ndash;&#8211;&#x2013;
Em dash (parenthetical)&mdash;&#8212;&#x2014;
Horizontal bar&horbar;&#8213;&#x2015;
Opening curly single quote&lsquo;&#8216;&#x2018;
Closing curly single quote / typographic apostrophe&rsquo;&#8217;&#x2019;
Low single quote&sbquo;&#8218;&#x201A;
Opening curly double quote&ldquo;&#8220;&#x201C;
Closing curly double quote&rdquo;&#8221;&#x201D;
Low double quote&bdquo;&#8222;&#x201E;
Ellipsis (one character, not three dots)&hellip;&#8230;&#x2026;
Bullet&bull;&#8226;&#x2022;
Dagger (footnote mark)&dagger;&#8224;&#x2020;
Double dagger&Dagger;&#8225;&#x2021;
Prime (feet, minutes)&prime;&#8242;&#x2032;
Double prime (inches, seconds)&Prime;&#8243;&#x2033;
Single opening angle quote&lsaquo;&#8249;&#x2039;
Single closing angle quote&rsaquo;&#8250;&#x203A;
§Section sign&sect;&#167;&#xA7;
Pilcrow / paragraph sign&para;&#182;&#xB6;
¦Broken vertical bar&brvbar;&#166;&#xA6;
¬Negation sign&not;&#172;&#xAC;
¯Macron / overline&macr;&#175;&#xAF;
¨Diaeresis on its own&uml;&#168;&#xA8;
¸Cedilla on its own&cedil;&#184;&#xB8;
´Acute accent on its own&acute;&#180;&#xB4;

Currency signs

Note that the dollar sign has no HTML entity at all — it is a plain ASCII character and needs no escaping.

CharacterDescriptionNameDecimalHex
Euro&euro;&#8364;&#x20AC;
£Pound sterling&pound;&#163;&#xA3;
¥Yen / yuan&yen;&#165;&#xA5;
¢Cent&cent;&#162;&#xA2;
¤Generic currency sign&curren;&#164;&#xA4;
ƒFlorin / function f&fnof;&#402;&#x192;

Arrows

Single arrows in the four cardinal and four diagonal directions, plus the double-stroke arrows used for logical implication.

CharacterDescriptionNameDecimalHex
Left arrow&larr;&#8592;&#x2190;
Up arrow&uarr;&#8593;&#x2191;
Right arrow&rarr;&#8594;&#x2192;
Down arrow&darr;&#8595;&#x2193;
Left-right arrow&harr;&#8596;&#x2194;
Up-down arrow&varr;&#8597;&#x2195;
Carriage return arrow&crarr;&#8629;&#x21B5;
Double left arrow&lArr;&#8656;&#x21D0;
Double up arrow&uArr;&#8657;&#x21D1;
Double right arrow (implies)&rArr;&#8658;&#x21D2;
Double down arrow&dArr;&#8659;&#x21D3;
Double left-right arrow (if and only if)&hArr;&#8660;&#x21D4;
Double up-down arrow&vArr;&#8661;&#x21D5;
North-east arrow&nearr;&#8599;&#x2197;
North-west arrow&nwarr;&#8598;&#x2196;
South-east arrow&searr;&#8600;&#x2198;
South-west arrow&swarr;&#8601;&#x2199;
Maps to&map;&#8614;&#x21A6;
Arrow turning left&lsh;&#8624;&#x21B0;
Arrow turning right&rsh;&#8625;&#x21B1;

Maths, operators and fractions

Everything from the multiplication sign — which is a real character, not a lowercase x — to set notation and pre-composed fractions.

CharacterDescriptionNameDecimalHex
×Multiplication sign&times;&#215;&#xD7;
÷Division sign&divide;&#247;&#xF7;
±Plus-minus&plusmn;&#177;&#xB1;
Not equal to&ne;&#8800;&#x2260;
Less than or equal to&le;&#8804;&#x2264;
Greater than or equal to&ge;&#8805;&#x2265;
Approximately equal to&asymp;&#8776;&#x2248;
Identical to&equiv;&#8801;&#x2261;
Similar to / tilde operator&sim;&#8764;&#x223C;
True minus sign (wider than a hyphen)&minus;&#8722;&#x2212;
Asterisk operator&lowast;&#8727;&#x2217;
Square root&radic;&#8730;&#x221A;
Infinity&infin;&#8734;&#x221E;
Summation&sum;&#8721;&#x2211;
Product&prod;&#8719;&#x220F;
Integral&int;&#8747;&#x222B;
Partial derivative&part;&#8706;&#x2202;
Nabla / del&nabla;&#8711;&#x2207;
Per mille&permil;&#8240;&#x2030;
½One half&frac12;&#189;&#xBD;
¼One quarter&frac14;&#188;&#xBC;
¾Three quarters&frac34;&#190;&#xBE;
One third&frac13;&#8531;&#x2153;
Two thirds&frac23;&#8532;&#x2154;
¹Superscript one&sup1;&#185;&#xB9;
²Superscript two (squared)&sup2;&#178;&#xB2;
³Superscript three (cubed)&sup3;&#179;&#xB3;
µMicro sign&micro;&#181;&#xB5;
Proportional to&prop;&#8733;&#x221D;
Angle&ang;&#8736;&#x2220;
Perpendicular to&perp;&#8869;&#x22A5;
Therefore&there4;&#8756;&#x2234;
Element of&isin;&#8712;&#x2208;
Not an element of&notin;&#8713;&#x2209;
Subset of&sub;&#8834;&#x2282;
Superset of&sup;&#8835;&#x2283;
Intersection&cap;&#8745;&#x2229;
Union&cup;&#8746;&#x222A;
Empty set&empty;&#8709;&#x2205;
For all&forall;&#8704;&#x2200;
There exists&exist;&#8707;&#x2203;

Greek letters

The Greek letters that appear most often in technical writing. Every other letter of the alphabet has an entity too, following the same lowercase and capitalised naming pattern.

CharacterDescriptionNameDecimalHex
αAlpha (lowercase)&alpha;&#945;&#x3B1;
βBeta (lowercase)&beta;&#946;&#x3B2;
γGamma (lowercase)&gamma;&#947;&#x3B3;
δDelta (lowercase)&delta;&#948;&#x3B4;
λLambda (lowercase)&lambda;&#955;&#x3BB;
μMu (lowercase)&mu;&#956;&#x3BC;
πPi (lowercase)&pi;&#960;&#x3C0;
σSigma (lowercase)&sigma;&#963;&#x3C3;
φPhi (lowercase)&phi;&#966;&#x3C6;
ωOmega (lowercase)&omega;&#969;&#x3C9;
ΓGamma (uppercase)&Gamma;&#915;&#x393;
ΔDelta (uppercase) — change&Delta;&#916;&#x394;
ΘTheta (uppercase)&Theta;&#920;&#x398;
ΛLambda (uppercase)&Lambda;&#923;&#x39B;
ΣSigma (uppercase)&Sigma;&#931;&#x3A3;
ΦPhi (uppercase)&Phi;&#934;&#x3A6;
ΨPsi (uppercase)&Psi;&#936;&#x3A8;
ΩOmega (uppercase) — ohm&Omega;&#937;&#x3A9;

Symbols and shapes

Copyright and trademark marks, card suits, stars, ticks, crosses and a few shapes that are handy as list markers.

CharacterDescriptionNameDecimalHex
©Copyright&copy;&#169;&#xA9;
®Registered trademark&reg;&#174;&#xAE;
Trademark&trade;&#8482;&#x2122;
Filled star&starf;&#9733;&#x2605;
Outlined star&star;&#9734;&#x2606;
Check mark&check;&#10003;&#x2713;
Ballot X&cross;&#10007;&#x2717;
Hearts suit&hearts;&#9829;&#x2665;
Diamonds suit&diams;&#9830;&#x2666;
Clubs suit&clubs;&#9827;&#x2663;
Spades suit&spades;&#9824;&#x2660;
Telephone&phone;&#9742;&#x260E;
Eighth note&sung;&#9834;&#x266A;
Music flat&flat;&#9837;&#x266D;
Music sharp&sharp;&#9839;&#x266F;
Lozenge / diamond shape&loz;&#9674;&#x25CA;
Male sign&male;&#9794;&#x2642;
Female sign&female;&#9792;&#x2640;
Care of (c/o)&incare;&#8453;&#x2105;
Numero sign&numero;&#8470;&#x2116;
Circled S&oS;&#9416;&#x24C8;
Medium shade block&blk12;&#9618;&#x2592;
Empty square&squ;&#9633;&#x25A1;
Position / target&target;&#8982;&#x2316;

Four things worth knowing

  1. On a page that declares UTF-8, you do not need entities for accents at all. Writing ñ directly is correct, shorter and easier to search. Entities earn their keep in HTML email, legacy systems, RSS feeds and anywhere the encoding of the pipeline is not under your control.
  2. &apos; is a modern addition. It is defined in XML and in the HTML living standard, but it was never part of HTML 4.01, so very old parsers may not recognize it. &#39; is the universally safe way to escape a single quote.
  3. &nbsp; is not a wider space — it is a space that will not be used as a line-break opportunity, and consecutive ones do not collapse. That second property is why it gets abused for indentation; CSS padding is the right tool for that job.
  4. An ampersand followed by letters and a semicolon that do not match a real entity name is what the HTML standard calls an ambiguous ampersand, and it is a validation error. If your text contains literal ampersands, escape them as &amp; rather than hoping the parser guesses.

Encoding a whole block of text

This table is for looking up one character. When you have a paragraph, a template or a scraped page full of &#39; and &amp; codes, use the HTML entity encoder and decoder on this site instead: it converts in both directions, handles named, decimal and hex notations together, and can escape either just the five dangerous characters or everything non-ASCII. It runs entirely in your browser, so you can paste confidential content without it being uploaded.

Related tools