TheOmniTool logoTheOmniTool
Developer

HTML Escape / Unescape

Escape or unescape HTML entities.

<a href="https://example.com">Link & more</a>

How to use this tool

  1. 1Paste your text or HTML.
  2. 2Choose Escape or Unescape.
  3. 3Copy the converted result.

Frequently asked questions

Which characters are escaped?

& < > " and ' are converted to their entity forms (&amp;, &lt;, &gt;, &quot;, &#39;).

When do I need to escape HTML?

Whenever you display user input or code samples inside an HTML page, so the browser shows the text instead of interpreting it.

Related tools