HTML Entity Encode/Decode
Convert special characters to HTML entities, or turn HTML entities back into characters.
Input
Paste HTML or text above.
Output
How to use HTML Entity Encode/Decode
- Paste your HTML or text.
- Click Encode to escape special characters, or Decode to turn entities back into characters.
- Copy or download the result.
Frequently asked questions
Which characters are encoded?
The five characters that have a special meaning in HTML: & < > " and '. This is what you need to show code safely on a web page.
Which entities can be decoded?
All named entities such as © and , and numeric ones such as © and 😀.
What happens to an entity it does not recognise?
It is left exactly as it was, so nothing is lost.
Is my text uploaded to a server?
No. This tool runs entirely in your browser, so what you paste never leaves your device.