Webmaster Tools » HTML Escape / Unescape

HTML Escape/Unescape ToolHTML Escape / Unescape

HTML Escape / Unescape is a free online tool for HTML escaping and the reverse process. When escaping, it replaces special HTML characters with their HTML equivalents (entities).

For example, if you need to post a piece of HTML/JavaScript code in your article/blog post/any other HTML document, you need to escape it to make browsers don't treat it as HTML. It means that you need to replace all HTML reserved characters (<, >, &, ") into their entities (&lt;, &gt;, &amp;, &quot;, accordingly). This tool simplifies such a task.

Optionally, it allows escaping of single quotes (may be useful if you use single-quoted attribute values) and can escape a full set of UTF-8 characters (which is usually not needed if your web page has UTF-8 character encoding)






(Copy to clipboard)
Escaped HTML code: