All Tools

HTML Escape / Unescape

Convert special characters like < > & " into safe HTML entities, or turn escaped entities back into plain, readable text.

100% free, no signup

Your files are processed in your browser and never uploaded to any server.

How to use this tool

  1. 1Choose Escape or Unescape.
  2. 2Paste your text or HTML.
  3. 3The converted result appears instantly.
  4. 4Copy the result with one click.

Frequently asked questions

Does escaping prevent all XSS attacks?+

Escaping the five basic characters helps, but full XSS protection also depends on context — this tool is a helper, not a complete security solution.

Displaying user-generated text or code snippets inside HTML safely requires escaping characters like < and & so browsers don't interpret them as markup. This tool converts plain text into escaped HTML entities suitable for safely embedding in a web page, or reverses the process to turn escaped entities from a scraped page or API response back into plain, readable text.