HTML Encoder/Decoder

Escape HTML code into safe entities (<, >, &) or unescape entities back into real HTML characters.

Result
Your result will appear here…

Common entities reference

Character Entity name Entity number
&&amp;&#38;
<&lt;&#60;
>&gt;&#62;
"&quot;&#34;
'&#39;&#x27;
 &nbsp;&#160;
©&copy;&#169;
®&reg;&#174;
€&euro;&#8364;
—&mdash;&#8212;

How to use

  1. Paste your HTML into the box and click Escape to convert special characters into entities.
  2. Click Unescape to convert entity codes back into real characters.
  3. Use the reference table above to look up entity names and numbers.

Privacy note: everything runs in your browser. Your code is never uploaded anywhere.