HTML Entities Cheatsheet
A quick reference for HTML character entities — essential escapes, symbols, currency signs, arrows, and special typographic characters.
Try the HTML Escape / UnescapeSections
Essential Escapes
These five characters must always be escaped inside HTML content and attributes.
| Character | Named Entity | Numeric | Notes |
|---|---|---|---|
& | & | & | Ampersand — must escape in content and attributes |
< | < | < | Less-than — starts a tag |
> | > | > | Greater-than — ends a tag |
" | " | " | Double quote — escape inside double-quoted attributes |
' | ' | ' | Single quote (apostrophe) — escape inside single-quoted attributes |
Common Symbols
| Character | Named Entity | Description |
|---|---|---|
© | © | Copyright sign |
® | ® | Registered trademark |
™ | ™ | Trademark |
° | ° | Degree sign |
± | ± | Plus-minus sign |
× | × | Multiplication sign |
÷ | ÷ | Division sign |
½ | ½ | Fraction one-half |
¼ | ¼ | Fraction one-quarter |
¾ | ¾ | Fraction three-quarters |
∞ | ∞ | Infinity |
√ | √ | Square root |
≠ | ≠ | Not equal to |
≤ | ≤ | Less than or equal to |
≥ | ≥ | Greater than or equal to |
≈ | ≈ | Almost equal to |
• | • | Bullet |
… | … | Horizontal ellipsis |
§ | § | Section sign |
¶ | ¶ | Pilcrow / paragraph sign |
Currency
| Character | Named Entity | Currency |
|---|---|---|
$ | (none — use literally) | US Dollar |
€ | € | Euro |
£ | £ | Pound sterling |
¥ | ¥ | Yen / Yuan |
¢ | ¢ | Cent |
₹ | ₹ | Indian Rupee (no named entity) |
₿ | ₿ | Bitcoin (no named entity) |
Arrows
| Character | Named Entity | Description |
|---|---|---|
← | ← | Left arrow |
→ | → | Right arrow |
↑ | ↑ | Up arrow |
↓ | ↓ | Down arrow |
↔ | ↔ | Left-right arrow |
⇐ | ⇐ | Left double arrow |
⇒ | ⇒ | Right double arrow |
⇔ | ⇔ | Left-right double arrow |
Typographic Characters
| Character | Named Entity | Description |
|---|---|---|
| | Non-breaking space — prevents line break |
– | – | En dash — ranges (2010–2020) |
— | — | Em dash — parenthetical — like this |
' | ‘ | Left single quotation mark |
' | ’ | Right single quotation mark / apostrophe |
“ | “ | Left double quotation mark |
” | ” | Right double quotation mark |
‹ | ‹ | Single left-pointing angle quotation |
› | › | Single right-pointing angle quotation |
« | « | Double left-pointing angle quotation |
» | » | Double right-pointing angle quotation |