HTML Entity Reference
Searchable list of HTML entities: every named entity with its character, decimal and hex code and Unicode code point. Click any value to copy it.
entities · click a value to copy it
| Character | Named entity | Decimal | Hex | Unicode |
|---|---|---|---|---|
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the HTML Entity Reference
- 1 Search for a character by name (for example "euro" or "copy"), by the character itself or its number.
- 2 Find the entity in the table.
- 3 Click the form you need to copy it.
About the HTML Entity Reference
HTML entities let you write characters that are hard to type or that have a special meaning in HTML. < and > show < and >, & shows an ampersand, and is a space that doesn't break a line. Others give you symbols such as © (©), € (€), — (—) or Greek letters.
Every character can also be written as a numeric reference: decimal (€) or hexadecimal (€), using its Unicode code point. Named entities are easier to remember; numeric references work for every Unicode character, including ones without a name.
This reference lists the classic named entities from HTML 4 (plus '), which every browser supports. HTML5 defines more than 2,000 names, but with UTF-8 pages you can simply type most characters directly; entities are mainly needed for <, >, &, quotes in attributes and invisible characters like .
Frequently asked questions
When do I need HTML entities?
Always for < and & in text (and quotes inside attribute values). For other characters only when you can't type them or the page isn't UTF-8.
What is the difference between and a normal space?
A non-breaking space keeps two words on the same line and isn't collapsed with other spaces. Use it between a number and its unit, for example.
Should I use named or numeric entities?
Named entities are more readable; numeric ones work for every Unicode character. Browsers support both equally.
Why does ' sometimes not work?
' is part of XML and HTML5 but not of HTML 4. In very old HTML documents, use ' for an apostrophe instead.