ToolBuddy
In Browser

HTML Escape

Escape and unescape HTML entities in the browser. Turn <, >, &, and quotes into entities for safe snippets, or decode &amp; back to characters. Nothing is uploaded. Useful for templates and email HTML.

Runs in your browser. Nothing is uploaded.

Direction

0 characters · 0 lines

0 characters · 0 lines

About this tool

Escape <, >, &, and quotes into HTML entities, or decode entities back to characters. Named entities such as &nbsp; and numeric forms are handled on decode. Useful when you need a snippet that will not break a template.

How to use: paste markup or prose, pick Escape or Unescape, copy. Escape is for putting text inside HTML; unescape is for reading encoded CMS export. This is not a sanitizer. Scripts in the input are only entity-encoded, not executed.

Example: Tom & Jerry becomes Tom &amp; Jerry. A tag <div> becomes &lt;div&gt;. Pair with Strip HTML if you wanted tags removed rather than encoded.

Encoding is a local string replace. Email HTML and unpublished copy stay on the device. After load, escaping works offline.

Related Web tools