UtilitySansar
Encoding

HTML Entity Decode

Decode HTML entities back into readable text — turn <, &, ", and numeric entities like é into the characters they represent, live in your browser.

  • Published
  • Last reviewed

Tool Summary Answer Block

This tool accepts structured input and returns deterministic output in the browser with no server upload.

Tool name
HTML Entity Decode
Input intent
Provide source content to transform, validate, or analyze.
Output intent
Receive normalized output suitable for copy, reuse, or debugging.
Example input
<a href="/search?q=cats & dogs">Tom & Jerry</a>
Example output
<a href="/search?q=cats & dogs">Tom & Jerry</a>
0entities0characters

Need to encode instead? Switch to HTML Entity Encode

Tool Introduction

Decode HTML entities back into readable text — turn &lt;, &amp;, &quot;, and numeric entities like &#233; into the characters they represent, live in your browser.

Tool Overview

HTML entities are escape sequences such as &lt;, &amp;, &quot;, and &#x2F; that stand in for characters which would otherwise have special meaning in markup. When you copy text out of HTML source, scraped pages, exported data, or logs, those entities often survive as literal &-codes. This tool reverses the process: it decodes named entities (like &amp;) and numeric entities in both decimal (&#233;) and hexadecimal (&#xE9;) form back into the original characters, updating instantly as you type. It runs entirely in your browser, so it is safe for private content. Use it to clean up scraped or exported text, debug encoding issues, or read entity-laden strings from configuration and data files.

Use Cases

  • Clean up text scraped or copied from HTML pages that arrived full of entities
  • Read entity-encoded values from configuration, XML, or exported data files
  • Debug double-encoding issues where characters were escaped more than once
  • Convert entity-laden CSV or log fields back into readable text
  • Verify what an encoded snippet actually represents

Input/Output Examples

Named entities decode back to angle brackets, quotes, and ampersands.
Input Intent
&lt;a href=&quot;/search?q=cats &amp; dogs&quot;&gt;Tom &amp; Jerry&lt;/a&gt;
Output Intent
<a href="/search?q=cats & dogs">Tom & Jerry</a>

FAQ

Which entities can it decode?+
It decodes the common named entities (&amp;, &lt;, &gt;, &quot;, &apos;) plus any numeric entity in decimal (&#233;) or hexadecimal (&#xE9;) form.
What if an entity is malformed?+
If a sequence is not a recognized entity, it is left unchanged so you can see exactly what was in the input.
Can it handle double-encoded text?+
Each pass decodes one layer. If text was encoded twice (for example &amp;lt;), run the result through again to fully decode it.
Is my text sent to a server?+
No. Decoding runs entirely in your browser, so your content stays private.

Explore More Tools

Discover related utilities in the Encoding category below.

Browse all Encoding

Related tools

Handpicked utilities you might find useful