Toolbox

Online HTML Escape / Unescape

EscapeUnescapeEntityHTML Encode

Escape and unescape HTML entities instantly. Convert < > & " ' to &lt; &gt; &amp; &quot; &#39; and decode numeric entities &#x / &# with local processing, no upload.

Input
Result
All processing is done locally, no upload

How to Use

  • Paste any valid JSON, supports nesting, arrays and escapes
  • Click Beautify to auto indent and format
  • Click Minify to remove whitespace into one line
  • All operations run locally for privacy

Related Tools

FAQ

What is HTML escaping and why is it needed?

Escaping converts < > & " ' to &lt; &gt; &amp; &quot; &#39; to prevent XSS and display code safely.

Which characters are affected? Are Chinese/numbers converted?

Only the 5 HTML special characters are escaped; Chinese, numbers and other symbols remain unchanged.

When to escape vs unescape?

Escape for displaying user input/code and XSS prevention; unescape to restore stored escaped content or parse API data.

Will my data be uploaded?

No, all operations run locally in your browser.