Escape and unescape HTML

Turn < into &lt; and back — for when you're pasting code into a page and it keeps becoming markup.

Runs on your device No uploads, ever Free, no account

How it works

  1. Paste the content

    Code samples, email templates, anything that keeps getting interpreted.

  2. Escape or unescape

    Escape turns angle brackets and ampersands into entities; unescape reverses it, named entities included.

  3. Copy the result

    Paste safe now.


Questions people actually ask

What gets escaped?

The five that matter in HTML: & < > " '. Everything else is left readable for humans.

Unescape named or numeric entities?

Both — &amp; and &#38; decode equally happily.