Skip to content

HTML Entity Reference

Common HTML named and numeric character references with escaping examples.

By ToolzHive · Updated

Use a semicolon and preserve case in named references. This shortlist covers frequently used characters; the WHATWG source contains the full registry.

Download reference CSV

Reference table

HTML Entity Reference
Named referenceCharacterNumeric reference
&&&
&lt;<&#60;
&gt;>&#62;
&quot;"&#34;
&apos;'&#39;
&nbsp;non-breaking space&#160;
&copy;©&#169;
&reg;®&#174;
&trade;™&#8482;
&ndash;–&#8211;
&mdash;—&#8212;
&hellip;…&#8230;
&bull;•&#8226;
&euro;€&#8364;
&pound;£&#163;
&yen;¥&#165;
&times;×&#215;
&divide;÷&#247;
&plusmn;±&#177;
&deg;°&#176;

Copyable example

<a href="/?q=red&amp;sort=name">Red &amp; blue</a>

Escape once

An ampersand may need &amp; in HTML. Re-escaping an encoded value can produce &amp;amp;. Keep original text separate from encoded output.

Context matters

HTML escaping does not make JavaScript, CSS or URLs safe. Use an escaping function appropriate to the destination.

Try the related tools

Sources

Related references

Browse all free resources

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help