HTML Escape and Unescape

Escape and unescape HTML entities online. Convert < > & and quotes, encode non-ASCII to named, decimal or hex entities, decode all entities and strip tags safely.

  • Free, no sign-up
  • Runs in your browser
  • Your data stays private

How to use the HTML Escape and Unescape

  1. Paste HTML or text.
  2. Choose Escape, Unescape or Strip tags.
  3. Copy the result.

Why use this HTML Escape and Unescape

  • Entity choicesEscape quotes, and write non-ASCII as named, decimal or hex entities.
  • Full decodingDecodes named and numeric entities, including less common ones, using your browser.
  • Tag strippingRemoves tags, scripts, styles and comments and keeps readable line breaks.
  • Display previewShows how escaped text appears in a browser.

Frequently asked questions

How do I escape HTML?

Choose Escape. The characters & < > and optionally quotes are replaced with entities.

How do I turn &amp; back into &?

Choose Unescape and every named or numeric entity is decoded.

Can I strip all tags from HTML?

Yes. Choose Strip tags to keep only the text.

Related tools

More Developer Tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.