Something wrong with this tool?

About HTML Entity Decoder Online

This tool converts HTML entities back to their original characters. &lt; becomes <, &amp; becomes &, &eacute; becomes é, &#x2603; becomes ☃, and any other named or numeric entity is resolved to its Unicode character.

Useful when you encounter HTML-encoded text in copied content, in API responses that return escaped HTML, or in log files where user input has been sanitised. Decoding makes the original content readable again.

The tool supports all named entities defined in the HTML5 specification (over 2,200 named entities), as well as decimal and hexadecimal numeric entities like &#65; and &#x41; (both decode to A).

How to use this tool

How to decode HTML entities back to plain characters

  1. Paste the HTML-encoded text

    Drop the entity-encoded string into the "Text" field. Both named entities (`&amp;`, `&lt;`, `&copy;`) and numeric entities (`&#39;`, `&#x27;`) are recognised.

  2. Press Run

    Result returns a single `decoded` field. Examples: `&lt;p&gt;Hi&amp;ya&lt;/p&gt;` → `<p>Hi&ya</p>`; `caf&eacute;` → `café`. Unknown entities (typos, made-up ones) pass through unchanged.

  3. Common upstream sources

    RSS feeds, email-body HTML, scraped page text, and JSON exports that double-escape are typical inputs. After decoding, the result is plain Unicode — not HTML — so don't re-embed it in HTML without re-encoding via `html-entity-encoder` first.

  4. Decode once, not twice

    Don't pipe the output back into the decoder thinking it might still have hidden entities. If a string was double-encoded upstream you'll need to decode twice, but only after confirming with a sample — blindly double-decoding mangles legitimate `&` characters.