HTML Escape & Unescape

Escape HTML entities or unescape them back to plain text.

About the HTML Escape & Unescape

Escape characters that could be interpreted as markup (&, <, >, ", ') into HTML entities, or unescape entities — including named ISO-8859-1 symbols — back to plain characters.

Frequently asked questions

Why escape HTML?

To display text containing <, >, or & without the browser interpreting it as markup — and to prevent XSS when rendering user input.

Which entities are unescaped?

All named HTML entities such as &amp; &lt; &copy; &mdash; and numeric forms &#65; &#x41;.

Related tools