How to use the HTML entities reference
- Type in Filter: a word from the description (
arrow,euro,fraction), an entity name (nbsp,copy) or several words (arrow right). Every word must match. - Or paste one character, such as
©or—, to find exactly that symbol. - Copy the form you need from Named, Decimal or Hex.
- Download the full list as
html-entities.csvfor your own notes or tests.
What it does and when to use it
Entities let you write characters that would otherwise be read as markup, or that are hard to type on your keyboard. You need one when a template shows a raw & that breaks validation, when a CMS strips special characters, when an email template must stay in ASCII, or when you want a non-breaking space between a number and its unit. The reference gives the readable name and both numeric forms, so you can use whichever your template engine or XML schema accepts.
To convert a whole block of text, use the HTML Entities Encoder or the String Escaper. For plain ASCII codes, see the ASCII Table.
How it works
The list contains 260 named character references from the WHATWG HTML standard: the five markup characters, the Latin-1 symbols and letters, Greek letters, arrows, maths operators, punctuation such as dashes and curly quotes, and common symbols such as ✓. For each one, the decimal and hex references are computed from its Unicode code point. Filtering happens in your browser.
Worked examples
Arrows. Filter arrow right returns four rows, including:
→ | → | → | → | Rightwards arrow
⇒ | ⇒ | ⇒ | ⇒ | Rightwards double arrow
Names are case-sensitive: → and ⇒ are different symbols.
Paste the symbol. Filter — returns — | — | — | — | Em dash. Useful when you copy a dash from a document and need to know which one it is; the en dash – is –.
Quotes. Filter quot returns Showing: 9 of 260 entities: the straight ", the curly ‘ ’ “ ”, the low-9 quotes and the single angle quotes.
Limits and tips
- The WHATWG standard defines over two thousand names, many of them rare maths symbols. This list covers the common 260; for any other character, the numeric form always works.
- Search terms are matched against English descriptions, so try another word if one finds nothing (
dash, nothyphen long). - For numeric references of a whole string, try Numeric HTML Entities.
Frequently asked questions
Do I still need entities on a UTF-8 page?
Named or numeric, which is better?
Why does my not stop a line from wrapping in some places?
Is ' safe to use?
How do we know nothing is uploaded? Test it yourself on the privacy proof page.