Security & Encoding

HTML Escape Unescape

Encode or decode HTML entities. The result is generated locally in your browser.

Security & Encoding - local browser run

What this tool is for

HTML Escape Unescape converts between readable HTML-sensitive characters and entity-safe text.

When to use it

Use it when preparing examples for docs, templates, comments, or code snippets.

What the result means

Raw angle brackets, quotes, and ampersands become entities; entity-looking input decodes back.

Use notes

  • Escaping helps display markup as text.
  • It is not a complete sanitizer for unsafe HTML.
  • Use framework escaping rules for production rendering.

Privacy and limits

Everything runs in your browser tab. Avoid pasting production secrets, private tokens, customer data, or proprietary code into any online page unless your team policy allows it.