〈〉HTML Encoder / Decoder
Escape and unescape HTML entities.
About the HTML Encoder / Decoder
Encode text into HTML entities (escaping <, >, &, quotes) or decode HTML entities back to plain text. Useful for safely displaying code and preventing HTML injection. Free online HTML encoder and decoder.
How to use the HTML Encoder / Decoder
- 1Paste your input into the HTML Encoder / Decoder above.
- 2Configure any options for your use case.
- 3Copy the formatted or generated output.
- 4It all runs client-side, so your data never leaves the page.
Why use this tool?
🔒
Private by design
The HTML Encoder / Decoder runs entirely in your browser — nothing you enter is uploaded to a server.
🆓
Free, no signup
Use it as much as you like. There's no account, no paywall and no watermark.
⚡
Fast & instant
Results appear the moment you type or click — no waiting, no page reloads.
🌍
Works anywhere
Any device or browser, even offline once the page has loaded.
Frequently asked questions
What does HTML encoding do?+
It converts characters like <, >, & and quotes into HTML entities so they display as text instead of being interpreted as markup.
Is my input uploaded?+
No. Encoding and decoding happen entirely in your browser.