HTML Escape and Unescape

How to escape HTML

Enter plain text in the first box and select Escape HTML. To reverse the conversion, enter escaped text in the second box and select Unescape HTML.

This tool replaces the five special characters below. Decoding supports these exact entity forms; it is not a general HTML parser.

CharacterEntity
&&
<&lt;
>&gt;
"&quot;
'&#39;

Conversion runs locally in your browser. Escaping HTML text does not replace context-aware escaping for URLs, JavaScript or CSS.

Feedback