HTML Escape / Unescape
Escape raw HTML into safe entities, or decode escaped entities back to markup — instantly in your browser.
Result will appear here
Frequently Asked Questions
Why escape HTML characters?
Escaping characters like <, >, and & to their entity forms (<, >, &) prevents browsers from interpreting user text as markup, which is essential for safely displaying untrusted content.
Which characters does this escape?
The five standard HTML-unsafe characters: & < > " and ' — converted to & < > " and ' respectively.
Can I convert escaped entities back to raw text?
Yes — switch to "unescape" mode to decode <, >, &, ", and '/' back into their original characters.
Explore CodeSpeedTest