HTML Escape/Unescape

Escape and unescape HTML special characters. For XSS prevention.

Usage

Enter text and click Escape for < > & " ' or Unescape to restore.

When to use

XSS prevention when displaying user input, escaping HTML in JSON, template output check.

Examples