HTML

HTML Escape / Unescape

Escape and unescape HTML special characters

HTML Escape and Unescape

Enter content once and get both HTML escaped output and HTML entity decoded output.

Input Content

Enter HTML code, plain text or HTML entity strings.

Chars: 139Lines: 5Bytes: 139
HTML Escaped Result
<div class="message"> <h1>Hello ChatWorkOn Tools</h1> <p>HTML escape & unescape tool.</p> <button data-id="123">Click</button> </div>
HTML Unescaped Result
<div class="message"> <h1>Hello ChatWorkOn Tools</h1> <p>HTML escape & unescape tool.</p> <button data-id="123">Click</button> </div>

How to Use

HTML Escape

Convert special characters like <, >, &, quotes into HTML entities to avoid being parsed as markup.

HTML Unescape

Decode HTML entities such as &lt;, &gt;, &amp; and &quot; back to plain text.

Good for code snippets

Useful for safely displaying HTML code in pages, Markdown, templates or API responses.

Related Tools

Useful tools in the same category.