Usage scenario
- Input
A & B- Result
A & B
The string A & B contains an ampersand. Encoding produces A & B. The sequence &lt; needs two decoding passes to become a less-than sign: this tool performs one pass and returns <.
Encode HTML characters and decode numeric and named references. Results remain text and never execute HTML.
The result updates as you type.
This text is too long to highlight individual changes.
The values you enter stay on this page. Reloading or closing it clears them.
We count which tools are used most, without including entered values or file contents in the statistics. Privacy
Separate text from markup, avoid double encoding and understand why HTML entities cannot replace sanitization.
Follow the steps