HTML Entity Decoder

Turn &, <, é and 😀 back into real characters — with a list of every entity found and a fix for double-escaped text.

Decoded locally in your browser — nothing is uploaded or run

Encode text →

How it works

Your text is placed inside a <textarea> in a detached document created with DOMParser. The browser’s HTML parser decodes every entity exactly as it would on a real page, and the plain-text result is read back. The document is never shown, so nothing in it runs.

The table lists each distinct entity with its character and code point. Typos and invented names are flagged as “not recognised”. If decoding once still leaves entities such as &lt;, the text was probably escaped twice, and you’ll be offered a second pass.

Example

&lt;p&gt;Caf&eacute; &amp; braai &mdash; R85 &#x1F525;&lt;/p&gt; decodes to <p>Café & braai — R85 🔥</p>.

Double-escaped &amp;lt;b&amp;gt; decodes once to &lt;b&gt;, and twice to <b>.

Frequently asked questions

Which entities are supported?

All of them. Decoding uses your browser’s own HTML parser, which knows every named entity in the HTML standard (over 2,000, such as &nbsp;, &eacute; and &rarr;), plus decimal (&#233;) and hex (&#xE9;) numeric entities.

Is it safe to paste HTML with scripts?

Yes. The text is parsed in a detached document that is never displayed, so scripts and event handlers in your input don’t run. The result is plain text.

What is double-escaped text?

Text that was escaped twice, so &lt; became &amp;lt;. It shows up as literal “&lt;” on a page. The decoder detects this and can decode both layers.

What happens to unknown entities?

Anything that isn’t a real entity — a typo like &eaccute; — is left as it is and listed as not recognised, so you can fix it.

Related tools

Escape & < > and quotes for HTML, and optionally write non-ASCII characters as named or numeric entities.

FreeRuns in your browser

Decode percent-encoded text, unwrap double encoding and see every query parameter of a URL in a table.

FreeRuns in your browser

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.

FreeRuns in your browser

Generate random v4 or time-ordered v7 UUIDs in bulk, in the format you need.

FreeRuns in your browser

Related guides