Online HTML Escape / Unescape
EscapeUnescapeEntityHTML Encode
Escape and unescape HTML entities instantly. Convert < > & " ' to < > & " ' and decode numeric entities &#x / &# with local processing, no upload.
加载中…
How to Use
- Paste the raw text into the input box
- Choose encode or decode direction
- Output appears instantly — copy in one click
- All processing runs locally in your browser; your code is never uploaded
Related Tools
FAQ
What is HTML escaping and why is it needed?
Escaping converts < > & " ' to < > & " ' 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.