HTML Escape/Unescape
Escape and unescape HTML special chars. XSS prevention, text display.
Data is never sent to the server. Everything runs locally in your browser. Safe for sensitive information.
About this tool
This tool escapes and unescapes HTML special chars in one click. Three features: 1) Escape to < > & etc., unescape to restore, 2) XSS prevention and safe user input display, 3) All processing in browser—no data sent to server.
Tool interface
Usage
- Enter text in the input field
- Click Escape for entity refs or Unescape to restore
- Use for XSS prevention when displaying user input safely
When to use
XSS prevention when displaying user input, escaping HTML in JSON, template output check.