Developer ToolsPrivate by design
HTML Entity Encoder/Decoder
Encode special characters into HTML entities, or decode entities back into readable text — useful for safely embedding text in HTML.
How to use this tool
- 1Paste your text or HTML.
- 2Choose Encode or Decode.
- 3Copy the result.
Frequently asked questions
Why encode characters like < and & in HTML?+
Left unencoded, characters like < and & can be misinterpreted as the start of a tag or entity, breaking the page or opening an XSS risk — encoding them as entities keeps them safely displayed as literal text.
Related tools
Keep the boring tools boring.
If this saved you five minutes of nonsense, you can help keep the free tools running.
Buy the toolbox a coffee