HTML Entity Encoder & Decoder
Encode HTML-sensitive text or decode one layer of character references locally, without rendering the result as markup.
Your text stays in this browser. Input limit: 1 MiB; output limit: 8 MiB. 0 characters.
Not a sanitizer: the result is not safe for JavaScript, CSS, URLs, event handlers, or unquoted attributes.
Enter text, then choose encode or decode.
Common HTML entity lookup
A local selection of92 common names, not the full HTML5 table. Data checked: 2026-10-22 · WHATWG HTML
92 matches
| Character | Named | Numeric | Category | Copy |
|---|---|---|---|---|
| & | & | & | punctuation | |
| < | < | < | punctuation | |
| > | > | > | punctuation | |
| " | " | " | punctuation | |
| ' | ' | ' | punctuation | |
|   | punctuation | ||
| – | – | – | punctuation | |
| — | — | — | punctuation | |
| ‘ | ‘ | ‘ | punctuation | |
| ’ | ’ | ’ | punctuation | |
| “ | “ | “ | punctuation | |
| ” | ” | ” | punctuation | |
| … | … | … | punctuation | |
| « | « | « | punctuation | |
| » | » | » | punctuation | |
| • | • | • | punctuation | |
| · | · | · | punctuation | |
| ¢ | ¢ | ¢ | currency | |
| £ | £ | £ | currency | |
| ¤ | ¤ | ¤ | currency | |
| ¥ | ¥ | ¥ | currency | |
| € | € | € | currency | |
| ± | ± | ± | math | |
| × | × | × | math | |
| ÷ | ÷ | ÷ | math | |
| − | − | − | math | |
| ≠ | ≠ | ≠ | math | |
| ≤ | ≤ | ≤ | math | |
| ≥ | ≥ | ≥ | math | |
| ≈ | ≈ | ≈ | math | |
| ≡ | ≡ | ≡ | math | |
| ∞ | ∞ | ∞ | math | |
| √ | √ | √ | math | |
| ∑ | ∑ | ∑ | math | |
| ∏ | ∏ | ∏ | math | |
| ∫ | ∫ | ∫ | math | |
| ° | ° | ° | math | |
| ‰ | ‰ | ‰ | math | |
| ¼ | ¼ | ¼ | math | |
| ½ | ½ | ½ | math | |
| ¾ | ¾ | ¾ | math | |
| ¹ | ¹ | ¹ | math | |
| ² | ² | ² | math | |
| ³ | ³ | ³ | math | |
| ← | ← | ← | arrows | |
| ↑ | ↑ | ↑ | arrows | |
| → | → | → | arrows | |
| ↓ | ↓ | ↓ | arrows | |
| ↔ | ↔ | ↔ | arrows | |
| ↵ | ↵ | ↵ | arrows | |
| ⇐ | ⇐ | ⇐ | arrows | |
| ⇑ | ⇑ | ⇑ | arrows | |
| ⇒ | ⇒ | ⇒ | arrows | |
| ⇓ | ⇓ | ⇓ | arrows | |
| ⇔ | ⇔ | ⇔ | arrows | |
| © | © | © | symbols | |
| ® | ® | ® | symbols | |
| ™ | ™ | ™ | symbols | |
| § | § | § | symbols | |
| ¶ | ¶ | ¶ | symbols | |
| † | † | † | symbols | |
| ‡ | ‡ | ‡ | symbols | |
| ♥ | ♥ | ♥ | symbols | |
| ♣ | ♣ | ♣ | symbols | |
| ♠ | ♠ | ♠ | symbols | |
| ♦ | ♦ | ♦ | symbols | |
| ✓ | ✓ | ✓ | symbols | |
| Á | Á | Á | accents | |
| á | á | á | accents | |
| É | É | É | accents | |
| é | é | é | accents | |
| Í | Í | Í | accents | |
| í | í | í | accents | |
| Ó | Ó | Ó | accents | |
| ó | ó | ó | accents | |
| Ú | Ú | Ú | accents | |
| ú | ú | ú | accents | |
| Ñ | Ñ | Ñ | accents | |
| ñ | ñ | ñ | accents | |
| Ä | Ä | Ä | accents | |
| ä | ä | ä | accents | |
| Ö | Ö | Ö | accents | |
| ö | ö | ö | accents | |
| Ü | Ü | Ü | accents | |
| ü | ü | ü | accents | |
| Å | Å | Å | accents | |
| å | å | å | accents | |
| Æ | Æ | Æ | accents | |
| æ | æ | æ | accents | |
| Ç | Ç | Ç | accents | |
| ç | ç | ç | accents | |
| ß | ß | ß | accents |
How to use this tool
Encode untrusted text for an HTML text or quoted-attribute context, or decode one layer to inspect copied source. Review the destination context before using the result.
When not to use it
This is not a sanitizer and does not make text safe for JavaScript, CSS, URLs, event handlers, or unquoted attributes.
Read the guide →