HTML entities
Escape and unescape HTML entities such as &, <, and ". Useful for safely displaying user text and debugging encoded content.
Result
Enter text to convert.// About this tool
Prevent HTML injection in rendered text, or read entity-encoded content copied from a page. Choose encode or decode and copy the result. Common reserved characters are covered.
// How to use it
- Choose encode or decode.
- Paste the text or entity string.
- Copy the converted output.
// Frequently asked questions
Does decoding execute HTML?
No. Decoding reads the text content; scripts are not executed.
Which entities are encoded?
The common reserved characters &, <, >, double quote, and apostrophe are escaped.