DevTulz Online

HTML Unescape / Decoder


What is HTML Unescaping?

HTML unescaping converts HTML entities back to their original characters. HTML entities are sequences that start with & and end with ; — they represent characters that would otherwise be interpreted as HTML markup. Common entities include &amp; (&), &lt; (<), &gt; (>), &quot; ("), &#39; ('), and numeric entities like &#169; (©) or &#x2665; (♥). You encounter escaped HTML in database records where content was sanitised before storage, API responses that return HTML-encoded strings, log files containing escaped HTML, and copy-pasted text from HTML source code.

How to Use the HTML Unescape Tool

  1. Paste your HTML-encoded text (containing &amp;, &lt;, &gt;, etc.) into the input box.

  2. Click Unescape — all HTML entities are converted back to their original characters.

  3. Copy the readable output text.

This HTML unescape tool runs entirely in your browser — no data is sent to any server. Handles all named HTML entities (&copy;, &mdash;, etc.), decimal numeric entities (&#169;), and hex numeric entities (&#xa9;). Useful for reading escaped content from databases, APIs, and log files.

Need to escape HTML? Try our HTML Escape Tool →

Frequently Asked Questions

What is the difference between HTML escape and HTML unescape? HTML escaping converts raw characters to safe HTML entities (< becomes &lt;). HTML unescaping does the reverse — it converts HTML entities back to raw characters (&lt; becomes <). Escape before rendering untrusted content; unescape when reading already-encoded strings.

Are numeric HTML entities also decoded? Yes. The tool decodes named entities (&amp;), decimal numeric entities (&#38;), and hexadecimal entities (&#x26;) — all three represent the same & character and are all converted.

Why is my database storing HTML entities instead of raw text? Many frameworks and ORMs automatically HTML-escape content when storing to prevent XSS. If you're reading that content for non-HTML uses (emails, plain text, analytics), you may need to unescape it first to get readable text.

Keywords: HTML unescape online, decode HTML entities, convert HTML to text, free HTML decoder, instant HTML unescaping