HTML Entities Reference

Look up HTML named entities, numeric references and the characters they produce.

Searchable HTML character reference with named entity, numeric and hex forms plus the rendered glyph. Find the right code for ampersand, copyright, em dash, arrows, fractions and more.

What is the difference between named and numeric HTML entities?

A named entity such as © uses a memorable keyword, while a numeric reference such as © or © uses the character's code point in decimal or hex. Numeric references always work, whereas named ones rely on the document recognising that name.

Quick HTML character reference

HTML entities (character references) let you write characters that would otherwise break markup or be hard to type. This tool lists common HTML5 named references alongside their numeric and hexadecimal equivalents and the glyph each one renders. Search by name, description, glyph or decimal code point, then copy the form you need with one click.

How it works

Each character is stored by its Unicode code point. From that single number the tool derives three interchangeable forms: the named entity &name;, the numeric reference &#decimal;, and the hex reference &#xHEX;. The rendered glyph comes from String.fromCodePoint(cp). All three forms produce the same character in a browser, so you can pick whichever is most readable for your codebase.

Tips and notes

  • Always escape &, < and > as &amp;, &lt; and &gt; inside text content to keep the parser happy.
  • Inside attribute values, also escape quotes with &quot; or &#39;.
  • Numeric references such as &#8364; for the euro sign are the safest choice when you are unsure a named entity is supported.
  • HTML entities are for HTML display only; they are not the same as URL percent-encoding, which escapes characters for use inside links.