Search for a command to run...
Encode and decode HTML entities in your browser with named, decimal, or hexadecimal output and full emoji support.
Named mode falls back to a decimal reference when a character has no entity name.
Escape all non-ASCII characters
Off: only ampersand, angle brackets, and quotes. On: accents, symbols, and emoji as well.
| Character | Named | Decimal | Hex |
|---|---|---|---|
| & | & | & | & |
| < | < | < | < |
| > | > | > | > |
| " | " | " | " |
| ' | ' | ' | ' |
| |   |   | |
| © | © | © | © |
| ® | ® | ® | ® |
| ™ | ™ | ™ | ™ |
| … | … | … | … |
| — | — | — | — |
| – | – | – | – |
| ‘ | ‘ | ‘ | ‘ |
| ’ | ’ | ’ | ’ |
| “ | “ | “ | “ |
| ” | ” | ” | ” |
| « | « | « | « |
| » | » | » | » |
| ° | ° | ° | ° |
| ± | ± | ± | ± |
| × | × | × | × |
| ÷ | ÷ | ÷ | ÷ |
| € | € | € | € |
| £ | £ | £ | £ |
| ¥ | ¥ | ¥ | ¥ |
| § | § | § | § |
| ¶ | ¶ | ¶ | ¶ |
| · | · | · | · |
| • | • | • | • |
| † | † | † | † |
| ‰ | ‰ | ‰ | ‰ |
| ← | ← | ← | ← |
| ↑ | ↑ | ↑ | ↑ |
| → | → | → | → |
| ↓ | ↓ | ↓ | ↓ |
| ↔ | ↔ | ↔ | ↔ |
| ∞ | ∞ | ∞ | ∞ |
| ≠ | ≠ | ≠ | ≠ |
| ≤ | ≤ | ≤ | ≤ |
| ≥ | ≥ | ≥ | ≥ |
| ≈ | ≈ | ≈ | ≈ |
What
HTML entities are escape sequences such as & or — that stand in for characters a browser would otherwise treat as markup. This tool converts text into entities and back again, entirely on your own device.
Cases
Escape user-supplied text before injecting it into an HTML template.
Repair double-encoded strings pulled out of a CMS or database dump.
Turn emoji and accented names into numeric references for legacy HTML email.
Read raw API payloads where markup arrives entity-escaped.
Prepare code samples so tags render as text inside documentation.
Debug encoding bugs by comparing named, decimal, and hexadecimal output.
How To
Pick a direction, paste your text, choose an output format, and copy the result.
Open the Encode tab to escape text, or the Decode tab to turn entities back into characters.
Type or paste content into the input area; the result updates as you type.
Choose named, decimal, or hexadecimal references and decide whether non-ASCII characters are escaped.
Check the statistics line, then copy the output into your template or payload.
Knowledge
FAQ