HTML Entity Encoder / Decoder
Escape text so it is safe to put inside HTML — converting characters like < > & " into entities — or decode entities back to plain text. Runs in your browser.
- Runs entirely in your browser
- No sign-up, no watermark
- Free and unlimited
🔒 Your file stays on your device
How to use HTML Entity Encoder / Decoder
- 1
Open HTML Entity Encoder / Decoder and paste or type your text into the input box.
- 2
Adjust any options to match what you need.
- 3
The result updates instantly below — copy it with one click.
What you get
- Escape < > & " ' for safe HTML
- Optionally escape all non-ASCII
- Decodes named and numeric entities
What happens to your files
This tool runs entirely in your browser. The file you choose is read into memory, processed on your device, and offered back as a download. Nothing is uploaded and nothing is kept once you leave the page.
There is no account, no email, no watermark and no daily limit. Come back whenever you need it.
Frequently asked questions
- What's the difference between the two encode modes?
- "Markup only" escapes just the five characters that matter for HTML structure. "All non-ASCII" also converts accented letters, emoji and symbols to numeric entities for maximum compatibility.
