Home Tools Blog About

HTML Entities Reference (Special Characters)

HTML entities are short codes that let you display reserved or special characters in a web page without breaking the markup. Each character has a named code such as & and a numeric code such as &. Both render the same character. This is a reference of the most useful ones, grouped by type.

Reserved characters

Character Named Numeric Description
< &lt; &#60; Less-than sign, starts a tag
> &gt; &#62; Greater-than sign, ends a tag
& &amp; &#38; Ampersand, starts an entity
&quot; &#34; Double quotation mark
&apos; &#39; Single quote / apostrophe

Spaces & punctuation

Character Named Numeric Description
  &nbsp; &#160; Non-breaking space
&ndash; &#8211; En dash
&mdash; &#8212; Em dash
&lsquo; &#8216; Left single quote
&rsquo; &#8217; Right single quote / apostrophe
&ldquo; &#8220; Left double quote
&rdquo; &#8221; Right double quote
&hellip; &#8230; Horizontal ellipsis
&bull; &#8226; Bullet
· &middot; &#183; Middle dot
§ &sect; &#167; Section sign
&para; &#182; Pilcrow / paragraph sign
&dagger; &#8224; Dagger
¡ &iexcl; &#161; Inverted exclamation
¿ &iquest; &#191; Inverted question mark

Currency

Character Named Numeric Description
¢ &cent; &#162; Cent sign
£ &pound; &#163; Pound sterling
&euro; &#8364; Euro sign
¥ &yen; &#165; Yen sign
¤ &curren; &#164; Generic currency sign

Math & numbers

Character Named Numeric Description
× &times; &#215; Multiplication sign
÷ &divide; &#247; Division sign
± &plusmn; &#177; Plus-minus sign
&minus; &#8722; Minus sign
&ne; &#8800; Not equal to
&le; &#8804; Less-than or equal
&ge; &#8805; Greater-than or equal
&asymp; &#8776; Approximately equal
&equiv; &#8801; Identical to
&infin; &#8734; Infinity
&sum; &#8721; N-ary summation
&radic; &#8730; Square root
° &deg; &#176; Degree sign
µ &micro; &#181; Micro sign
&permil; &#8240; Per mille
½ &frac12; &#189; One half
¼ &frac14; &#188; One quarter
¾ &frac34; &#190; Three quarters
² &sup2; &#178; Superscript two
³ &sup3; &#179; Superscript three

Symbols

Character Named Numeric Description
© &copy; &#169; Copyright
® &reg; &#174; Registered trademark
&trade; &#8482; Trademark
&hearts; &#9829; Heart suit
&diams; &#9830; Diamond suit
&clubs; &#9827; Club suit
&spades; &#9824; Spade suit
&starf; &#9733; Filled star

Arrows

Character Named Numeric Description
&larr; &#8592; Left arrow
&uarr; &#8593; Up arrow
&rarr; &#8594; Right arrow
&darr; &#8595; Down arrow
&harr; &#8596; Left-right arrow
&rArr; &#8658; Right double arrow
&hArr; &#8660; Left-right double arrow

Greek letters

Character Named Numeric Description
α &alpha; &#945; Alpha
β &beta; &#946; Beta
γ &gamma; &#947; Gamma
δ &delta; &#948; Delta
π &pi; &#960; Pi
σ &sigma; &#963; Sigma
φ &phi; &#966; Phi
ω &omega; &#969; Omega
μ &mu; &#956; Mu
λ &lambda; &#955; Lambda
θ &theta; &#952; Theta
Ω &Omega; &#937; Capital Omega

Accented letters

Character Named Numeric Description
á &aacute; &#225; a with acute
à &agrave; &#224; a with grave
â &acirc; &#226; a with circumflex
ä &auml; &#228; a with diaeresis
å &aring; &#229; a with ring
ç &ccedil; &#231; c with cedilla
é &eacute; &#233; e with acute
ñ &ntilde; &#241; n with tilde
ö &ouml; &#246; o with diaeresis
ü &uuml; &#252; u with diaeresis
ß &szlig; &#223; Sharp s (eszett)

Frequently Asked Questions

What is an HTML entity?

It is a code that represents a character, used so reserved or special symbols display correctly instead of being treated as markup.

What is the difference between named and numeric entities?

A named entity uses a word, such as &amp;copy;, while a numeric entity uses the character code, such as &amp;#169;. Both produce the same character.

When do I have to use entities?

Always for the reserved characters less-than, greater-than, and ampersand inside HTML, and for quotes inside attributes. Other symbols are optional but safe.

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

For most symbols you can type the character directly in a UTF-8 page. Entities are still required for the reserved markup characters.

Need to convert text both ways? Use our free HTML Entity Encoder and Decoder.

ATV

Written by Nick (ATV Team)

We build and maintain the 600+ free, client-side tools on this site, and every guide is written against the tools themselves: each figure is computed and checked before it is published, and every linked tool is tested in the browser. More about how we work on the about page, and the full library of guides lives on the blog.