How to use it
- Choose encode or decode.
- Paste your text.
- Copy the result.
How it works
Encoding replaces & < > " and ' with & < > " and ', and optionally every non-ASCII character with a numeric entity like é. Decoding understands numeric entities (A and A) and a list of common named entities such as © and ; names it does not know are left as they are.
Examples
- <b>Tom & Jerry</b> becomes <b>Tom & Jerry</b>.
Limitations
- Escaping text for display is not a complete defence against cross-site scripting; use your framework’s context-aware escaping.
- Only common named entities are decoded.
References
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.