Runs locally
HTML Entity Encode / Decode
Escape and unescape HTML characters.
Ctrl+Enter runs. Ctrl+Shift+Backspace clears.
Export and import are available after you sign in. Sign in
Encodes &, <, >, quotes and decodes named and numeric entities without injecting HTML into the page.
About this tool
Show code samples on a web page, put user text into HTML safely, or read text full of " and —. Encoding and decoding happen without injecting anything into the page.
How to use it
- 01
Paste the text or the HTML with entities.
- 02
Choose encode or decode.
- 03
Copy the result.
FAQ
Frequently asked questions
Which characters are encoded?
The ones that matter for HTML: &, <, >, double and single quotes.
Are numeric entities decoded?
Yes. Named entities such as © and numeric ones such as © or © are decoded.