FreeDev Tools

HTML Escape / Unescape

Escape HTML special characters or unescape HTML entities.

HTML Escape converts special characters (&, <, >, ", ') into their HTML entity equivalents so they render as literal text in HTML. Unescape does the reverse.

How to Use

  1. 1

    Paste your text or HTML

    Enter the text containing special characters like <, >, &, or " that you want to display safely in HTML.

  2. 2

    Escape or Unescape

    Click "Escape" to convert special characters to HTML entities, or "Unescape" to reverse the encoding.

  3. 3

    Copy the result

    Copy the output and embed it safely in your HTML template, CMS, or email.

Frequently Asked Questions

& → &amp;, < → &lt;, > → &gt;, " → &quot;, and ' → &#39;.