HTML entity encoder & decoder — offline
Escape markup safely or turn entities back into readable text, on your device.
100% private — files never leave your device
Input
Output
How it works
- 1
Choose Encode or Decode.
- 2
Paste your text or markup.
- 3
Copy the converted result.
Related tools
Frequently asked questions
Is my HTML sent to a server?
No — encoding and decoding are simple string operations running in your browser.
Which characters get encoded?
The dangerous five (& < > " ') always; optionally every non-ASCII character as a numeric entity for maximum compatibility.
Which entities can be decoded?
Numeric entities (decimal and hex, including emoji) and the common named ones like &, <, ©, —.