HTML Entity Encode/Decode
Encode special characters as HTML entities and decode them back — instant, in your browser.
100% in your browser
No watermark
No sign-up
How it works
- Pick Encode or Decode.
- Type or paste your text — conversion happens live as you type.
- Copy the result with one click. Nothing is uploaded.
Frequently asked questions
- What characters are encoded?
- All characters that have special meaning in HTML — &, <, >, ", ' — plus every non-ASCII character (code points U+00A0 and above) are converted to numeric character references like ©.
- How does decoding work?
- The decoder sets the encoded string as the innerHTML of a temporary textarea element and reads back its value, so the browser resolves both named entities (&, <, ©, …) and numeric references (©, ©, …) correctly.
- Is my text uploaded anywhere?
- No. Everything runs locally in your browser — your text never leaves your device.