Common HTML Entities

An HTML entity is a short code that produces a character you cannot — or should not — type directly into HTML. The three you will use most are & for an ampersand, < for a less-than sign and > for a greater-than sign: without them, the browser reads your text as markup. The rest of this table covers the entities people actually reach for — quotes, dashes, currency, maths and arrows — with the character each one produces.

Every entity starts with & and ends with a semicolon. For anything not listed here, use the character’s numeric code instead — for example, 😀 for 😀 — or copy the character itself into a UTF-8 document, which works in any modern browser.

See also: ASCII Table (0–127) · HTML Minifier · URL Encoder / Decoder

Common HTML entities list

EntityCharacterWhat it is for
&&Ampersand — start every entity with this, and write a literal & as &
&lt;<Less-than sign — use for a literal < in HTML text
&gt;>Greater-than sign — use for a literal > in HTML text
&quot;"Double quote — for a " inside an attribute value
&apos;'Apostrophe / single quote
&nbsp; Non-breaking space — keeps two words on the same line
&copy;©Copyright sign
&reg;®Registered trademark sign
&trade;™Trademark sign
&euro;€Euro sign
&pound;£Pound sterling sign
&yen;¥Yen sign
&cent;¢Cent sign
&dollar;$Dollar sign
&mdash;—Em dash — the long dash used for asides
&ndash;–En dash — used for ranges like 10–20
&hellip;…Horizontal ellipsis (…)
&lsquo;‘Left single quotation mark
&rsquo;’Right single quotation mark / apostrophe
&ldquo;“Left double quotation mark
&rdquo;”Right double quotation mark
&bull;•Bullet point
&middot;·Middle dot (interpunct)
&deg;°Degree sign
&plusmn;±Plus-minus sign
&times;×Multiplication sign
&divide;÷Division sign
&frac12;½One half
&frac14;¼One quarter
&frac34;¾Three quarters
&ne;≠Not equal to
&le;≤Less than or equal to
&ge;≥Greater than or equal to
&larr;←Left arrow
&rarr;→Right arrow
&uarr;↑Up arrow
&darr;↓Down arrow
&check;✓Check mark
&cross;✗Cross / multiplication X mark
&star;★Black star
&heart;♥Heart suit
&sect;§Section sign
&para;Pilcrow / paragraph sign