Advertisement · 970×90
HTML Escape / Unescape
Escape special HTML characters to prevent XSS attacks, or unescape HTML entities back to their original characters.
Raw HTML
Escaped Output
Related Tools
Frequently Asked Questions
Why escape HTML characters?
Escaping HTML converts characters like <, >, &, and " into their HTML entity equivalents, preventing them from being interpreted as HTML markup. This is essential for preventing XSS (Cross-Site Scripting) attacks.
What characters are escaped?
The following characters are escaped: &, <, >, ", ', /, `, and =. These are the characters most commonly exploited in XSS attacks.
All processing happens in your browser. No data is sent to any server.