List of HTML entity names and numbers

  • By Christopher Kielty, last updated May 8, 2018

What the heck is an HTML entity? They have names? That’s what I thought the first time I heard that term. I was publishing an article with Jekyll. I noticed that Jekyll does not like to have < and > characters in the article front matter. Post titles in partciular. Interestingly, HTML> works just fine. But <HTML, or the real offender, <HTML> seem to end up getting ignored. Jekyll will still generate the site. It just doesn’t include the offending string. So I did a little research and found a nifty workaround to this problem.

Meet HTML entities

Using a predefined string of characters it is possible to represent symbols like <, >, µ, and §, in places where it would otherwise be difficult. &#60; and &#62; represent open and close tag symbols without being rendered as HTML and without needing to appear in a code block. &#181; (µ) and &#167; (§) make it possible to print symbols that might otherwise be difficult to produce with a regular keyboard.

See also: Complete list of HTML tags up to date for HTML5

This looks rather awkward at first. But there’s a method to the madness! HTML entity numbers begin with &# (ampersand pound) and end with ; (semicolon).

HTML entity number syntax

So far we’ve referenced HTML entities by number. But many of them have names, too.

HTML entity name syntax

The beginning and end tags are the same when using names. The only difference is the lack of the number sign and of course a name is used instead of a number. Names are great because they can be easier to remember than numbers. For example, &lt; (<) stands for “less than” and &gt; (>) stands for “greater than.” I think that’s a great deal easier to remember than &#60; and &#62;.

Where can I use HTML entities?

HTML entities are pretty versatile. They can be separated by white space, placed back to back, inside parenthesis, back to back with another string of code. As long as there isn’t a mix up involving & and ; characters, there shouldn’t be a problem.

Punctuation, programming, and other common symbols

While all of the common symbols listed here have entity numbers, some of them do not have names. Remember to include a # when referencing an HTML entity by number and exclude it when using the name.

Description Number Name Symbol
Open tag &#60; &lt; <
Close tag &#62; &gt; >
Double quote &#34; &quot;
Apostrophe / single quote &#39; &apos;
Colon &#58;   :
Semicolon &#59;   ;
Grave accent &#96;   `
Forward slash &#47;   /
Backslash &#92;   \
Exclamation mark &#33;   !
Question mark &#63;   ?
Octothorp / hashtag / pound &#35;   #
Asterisk (star) &#42;   *
Percentage &#37;   %
Ampersand &#38; &amp; &
Open parenthesis &#40;   (
Close parenthesis &#41;   )
Hyphen / dash / minus &#45;   -
Comma &#44;   ,
Period &#46;   .
At sign &#64;   @
Caret symbol &#94;   ^
Open square bracket &#91;   [
Close square bracket &#93;   ]
Open curly bracket &#123;   {
Close curly bracket &#125;   }
Tilde &#126;   ~
Underscore &#95;   _
Space &#32;  
Space (non-breaking) &#160; &nbsp;  
Vertical bar &#124;   |
Broken bar &#166; &brvbar; ¦
Upside down exclamation mark &#161; &iexcl; ¡
Upside down question mark &#191; &iquest; ¿
Section symbol &#167; &sect; §
Umlaut &#168; &uml; ¨
Feminine ordinal indicator &#170; &ordf; ª
Masculine ordinal indicator &#186; &ordm; º
Open double angles &#171; &laquo; «
Close double angles &#187; &raquo; »
Not sign &#172; &not; ¬
Soft hyphen &#173; &shy; ­
Overline &#175; &macr; ¯
Acute accent &#180; &acute; ´
Pilcrow (paragraph) &#182; &para;
Georgian comma &#183; &middot; ·
Cedilla &#184; &cedil; ¸

Math symbols

description number name symbol
Plus sign (addition) &#43;   +
Minus sign (subtraction) &#8722; &minus;
Multiplication sign &#215; &times; ×
Division sign &#247; &divide; ÷
Plus / minus &#177; &plusmn; ±
Equals sign &#61;   =
Less or equal &#8804; &le;
Greater or equal &#8805; &ge;
Superscript 1 &#185; &sup1; ¹
Superscript 2 &#178; &sup2; ²
Superscript 3 &#179; &sup3; ³
1/4 &#188; &frac14; ¼
1/2 &#189; &frac12; ½
3/4 &#190; &frac34; ¾
For all &#8704; &forall;
Part &#8706; &part;
Exist &#8707; &exist;
Empty &#8709; &empty;
Nabla &#8711; &nabla;
Is in &#8712; &isin;
Not in &#8713; &notin;
Ni &#8715; &ni;
Product &#8719; &prod;
Sum &#8721; &sum;
Asterisk (Lowast) &#8727; &lowast;
Square root &#8730; &radic;
Proportional to &#8733; &prop;
Infinity &#8734; &infin;
Angle &#8736; &ang;
And &#8743; &and;
Or &#8744; &or;
Cap &#8745; &cap;
Cup &#8746; &cup;
Integral &#8747; &int;
Therefore &#8756; &there4;
Similar to &#8764; &sim;
Congurent to &#8773; &cong;
Almost equal &#8776; &asymp;
Not equal &#8800; &ne;
Equivalent &#8801; &equiv;
Subset of &#8834; &sub;
Superset of &#8835; &sup;
Not subset of &#8836; &nsub;
Subset or equal &#8838; &sube;
Superset or equal &#8839; &supe;
Circled plus &#8853; &oplus;
Circled times &#8855; &otimes;

Unit of measure symbols

description number name symbol
Degrees &#176; &deg; °
Micro &#181; &micro; µ
description number name symbol
Copyright &#169; &copy; ©
Registered trademark &#174; &reg; ®
Trademark &#8482; &trade;

Currency symbols

description number name symbol
Currency sign &#164; &curren; ¤
Dollar sign &#36;   $
Cents &#162; &cent; ¢
British pounds &#163; &pound; £
Euro &#8364; &euro;
Yen &#165; &yen; ¥

Greek alphabet

description number name symbol
UPPERCASE ALPHA &#913; &Alpha; Α
lowercase alpha &#945; &alpha; α
UPPERCASE BETA &#914; &Beta; Β
lowercase beta &#946; &beta; β
UPPERCASE GAMMA &#915; &Gamma; Γ
lowercase gamma &#947; &gamma; γ
UPPERCASE DELTA &#916; &Delta; Δ
lowercase delta &#948; &delta; δ
UPPERCASE EPSILON &#917; &Epsilon; Ε
lowercase epsilon &#949; &epsilon; ε
UPPERCASE ZETA &#918; &Zeta; Ζ
lowercase zeta &#950; &zeta; ζ
UPPERCASE ETA &#919; &Eta; Η
lowercase eta &#951; &eta; η
UPPERCASE THETA &#920; &Theta; Θ
lowercase theta &#952; &theta; θ
alternate lowercase theta &#977; &thetasym; ϑ
UPPERCASE IOTA &#921; &Iota; Ι
lowercase iota &#953; &iota; ι
UPPERCASE KAPPA &#922; &Kappa; Κ
lowercase kappa &#954; &kappa; κ
UPPERCASE LAMBDA &#923; &Lambda; Λ
lowercase lambda &#955; &lambda; λ
UPPERCASE MU &#924; &Mu; Μ
lowercase mu &#956; &mu; μ
UPPERCASE NU &#925; &Nu; Ν
lowercase nu &#957; &nu; ν
UPPERCASE XI &#926; &Xi; Ξ
lowercase xi &#958; &xi; ξ
UPPERCASE OMICRON &#927; &Omicron; Ο
lowercase omicron &#959; &omicron; ο
UPPERCASE PI &#928; &Pi; Π
lowercase pi &#960; &pi; π
alternative lowercase pi &#982; &piv; ϖ
UPPERCASE RHO &#929; &Rho; Ρ
lowercase rho &#961; &rho; ρ
UPPERCASE SIGMA &#931; &Sigma; Σ
lowercase sigma &#963; &sigma; σ
final form lowercase sigma &#962; &sigmaf; ς
UPPERCASE TAU &#932; &Tau; Τ
lowercase tau &#964; &tau; τ
UPPERCASE UPSILON &#933; &Upsilon; Υ
lowercase upsilon &#965; &upsilon; υ
alternative lowercase upsilon &#978; &upsih; ϒ
UPPERCASE PHI &#934; &Phi; Φ
lowercase phi &#966; &phi; φ
UPPERCASE CHI &#935; &Chi; Χ
lowercase chi &#967; &chi; χ
UPPERCASE PSI &#936; &Psi; Ψ
lowercase psi &#968; &psi; ψ
UPPERCASE OMEGA &#937; &Omega; Ω
lowercase omega &#969; &omega; ω

Arrows

description number name symbol
Left arrow &#8592; &larr;
Up arrow &#8593; &uarr;
Right arrow &#8594; &rarr;
Down arrow &#8595; &darr;
Left & right arrow &#8596; &harr;
Carriage return arrow &#8629; &crarr;

Spade, club, heart, diamond

description number name symbol
Spade &#9824; &spades;
Club &#9827; &clubs;
Heart &#9829; &hearts;
Diamond &#9830; &diams;

Accented letters

description number name symbol
CAPITAL A GRAVE ACCENT &#192; &Agrave; À
lowercase a grave accent &#224; &agrave; à
CAPITAL A ACUTE ACCENT &#193; &Aacute; Á
lowercase a acute accent &#225; &aacute; á
CAPITAL A CIRCUMFLEX ACCENT &#194; &Acirc; Â
lowercase a circumflex accent &#226; &acirc; â
CAPITAL A TILDE ACCENT &#195; &Atilde; Ã
lowercase a tilde accent &#227; &atilde; ã
CAPITAL A UMLAUT ACCENT &#196; &Auml; Ä
lowercase a umlaut accent &#228; &auml; ä
CAPITAL A RING ABOVE ACCENT &#197; &Aring; Å
lowercase a ring accent &#229; &aring; å
CAPITAL AE &#198; &AElig; Æ
lowercase ae &#230; &aelig; æ
CAPITAL C CEDILLA ACCENT &#199; &Ccedil; Ç
lowercase c cedilla accent &#231; &ccedil; ç
CAPITAL E GRAVE ACCENT &#200; &Egrave; È
lowercase e grave accent &#232; &egrave; è
CAPITAL E ACUTE ACCENT &#201; &Eacute; É
lowercase e acute accent &#233; &eacute; é
CAPITAL E CIRCUMFLEX ACCENT &#202; &Ecirc; Ê
lowercase e circumflex accent &#234; &ecirc; ê
lowercase e circumflex accent &#234; &ecirc; ê
CAPITAL E UMLAUT ACCENT &#203; &Euml; Ë
lowercase e umlaut accent &#235; &euml; ë
CAPITAL I GRAVE ACCENT &#204; &Igrave; Ì
lowercase i grave accent &#236; &igrave; ì
CAPITAL I ACUTE ACCENT &#205; &Iacute; Í
lowercase i acute accent &#237; &iacute; í
CAPITAL I CIRCUMFLEX ACCENT &#206; &Icirc; Î
lowercase i circumflex accent &#238; &icirc; î
CAPITAL I UMLAUT ACCENT &#207; &Iuml; Ï
lowercase i umlaut accent &#239; &iuml; ï
CAPITAL ICELANDIC ETH &#208; &ETH; Ð
lowercase Icelandic eth &#240; &eth; ð
CAPITAL N TILDE ACCENT &#209; &Ntilde; Ñ
lowercase n tilde accent &#241; &ntilde; ñ
CAPITAL O GRAVE ACCENT &#210; &Ograve; Ò
lowercase o grave accent &#242; &ograve; ò
CAPITAL O ACUTE ACCENT &#211; &Oacute; Ó
lowercase o acute accent &#243; &oacute; ó
CAPITAL O CIRCUMFLEX ACCENT &#212; &Ocirc; Ô
lowercase o circumflex accent &#244; &ocirc; ô
CAPITAL O TILDE ACCENT &#213; &Otilde; Õ
lowercase o tilde accent &#245; &otilde; õ
CAPITAL O UMLAUT ACCENT &#214; &Ouml; Ö
lowercase o umlaut accent &#246; &ouml; ö
CAPITAL O SLASH ACCENT &#216; &Oslash; Ø
lowercase o slash &#248; &oslash; ø
CAPITAL U GRAVE ACCENT &#217; &Ugrave; Ù
lowercase u grave accent &#249; &ugrave; ù
CAPITAL U ACUTE ACCENT &#218; &Uacute; Ú
lowercase u acute accent &#250; &uacute; ú
CAPITAL U CIRCUMFLEX ACCENT &#219; &Ucirc; Û
lowercase u circumflex accent &#251; &ucirc; û
CAPITAL U UMLAUT &#220; &Uuml; Ü
lowercase u umlaut accent &#252; &uuml; ü
CAPITAL Y ACUTE ACCENT &#221; &Yacute; Ý
lowercase y acute accent &#253; &yacute; ý
lowercase y umlaut accent &#255; &yuml; ÿ
CAPITAL ICELANDIC THORN &#222; &THORN; Þ
lowercase Icelandic thorn &#254; &thorn; þ
lowercase German sharp s &#223; &szlig; ß

Alphanumeric characters

description number name symbol
Number 0 &#48;   0
Number 1 &#49;   1
Number 2 &#50;   2
Number 3 &#51;   3
Number 4 &#52;   4
Number 5 &#53;   5
Number 6 &#54;   6
Number 7 &#55;   7
Number 8 &#56;   8
Number 9 &#57;   9
UPPERCASE A &#65;   A
lowercase a &#97;   a
UPPERCASE B &#66;   B
lowercase b &#98;   b
UPPERCASE C &#67;   C
lowercase c &#99;   c
UPPERCASE D &#68;   D
lowercase d &#100;   d
UPPERCASE E &#69;   E
lowercase e &#101;   e
UPPERCASE F &#70;   F
lowercase f &#102;   f
UPPERCASE G &#71;   G
lowercase g &#103;   g
UPPERCASE H &#72;   H
lowercase h &#104;   h
UPPERCASE I &#73;   I
lowercase i &#105;   i
UPPERCASE J &#74;   J
lowercase j &#106;   j
UPPERCASE K &#75;   K
lowercase k &#107;  
UPPERCASE L &#76;   L
lowercase l &#108;   l
UPPERCASE M &#77;   M
lowercase m &#109;   m
UPPERCASE N &#78;   N
lowercase n &#110;   n
UPPERCASE O &#79;   O
lowercase o &#111;   o
UPPERCASE P &#80;   P
lowercase p &#112;   p
UPPERCASE Q &#81;   Q
lowercase q &#113;   q
UPPERCASE R &#82;   R
lowercase r &#114;   r
UPPERCASE S &#83;   S
lowercase s &#115;   s
UPPERCASE T &#84;   T
lowercase t &#116;   t
UPPERCASE U &#85;   U
lowercase u &#117;   u
UPPERCASE V &#86;   V
lowercase v &#118;   v
UPPERCASE W &#87;   W
lowercase w &#119;   w
UPPERCASE X &#88;   X
lowercase x &#120;   x
UPPERCASE Y &#89;   Y
lowercase y &#121;   y
UPPERCASE Z &#90;   Z
lowercase z &#122;   z

Miscellaneous

description number name symbol
Bullet &#8226; &bull;
Horizontal ellipsis &#8230; &hellip;
lowercase Latin f with hook &#402; &fnof; ƒ
Perpendicular &#8869; &perp;
Dot operator &#8901; &sdot;
UPPERCASE LATIN OE LIGATURE &#338; &OElig; Œ
lowercase Latin oe ligature &#339; &oelig; œ
UPPERCASE S WITH CARON &#352; &Scaron; Š
lowercase s with caron &#353; &scaron; š
CAPITAL Y WITH DIAERES &#376; &Yuml; Ÿ
Circumflex accent &#710; &circ; ˆ
Tilde (different from the tilde my keyboard generates) &#732; &tilde; ˜
En dash &#8211; &ndash;
Em dash &#8212; &mdash;
Left single quotation mark &#8216; &lsquo;
Right single quotation mark &#8217; &rsquo;
Single low-9 quotation mark &#8218; &sbquo;
Left double quotation mark &#8220; &ldquo;
Right double quotation mark &#8221; &rdquo;
Double low-9 quotation mark &#8222; &bdquo;
Dagger &#8224; &dagger;
Double dagger &#8225; &Dagger;
Per mille &#8240; &permil;
Minutes (Degrees) &#8242; &prime;
Seconds (Degrees) &#8243; &Prime;
Single left angle quotation &#8249; &lsaquo;
Single right angle quotation &#8249; &rsaquo;
Overline &#8254; &oline;
Left ceiling &#8968; &lceil;
Right ceiling &#8969; &rceil;
Left floor &#8970; &lfloor;
Right floor &#8971; &rfloor;
Lozenge &#9674; &loz;
En space &#8194; &ensp;
Em space &#8195; &emsp;
Thin space &#8201; &thinsp;
Zero width non-joiner &#8204; &zwnj;
Zero width joiner &#8205; &zwj;
Left-to-right mark &#8206; &lrm;
Right-to-left mark &#8207; &rlm;