How-to guide

How to Decode HTML Entities Online: & to & Instantly

Updated 2026-12-021011+ wordsFree tools · no signup

To decode HTML entities online, paste entity text such as &, < or ’ into the Hellagape HTML Entity Decoder and read the plain characters back instantly — the tool turns HTML entities back into normal characters as you type, runs entirely in your browser with nothing sent anywhere, and is free with no account and no daily limit.

How to decode HTML entities, step by step

  1. Open the HTML Entity Decoder.
  2. Paste your entity text into the "Input to convert" box — for example Tom & Jerry.
  3. Read the result: it updates instantly as you type ("Typing updates the result instantly. Nothing is sent anywhere."). There is no Convert button to press and no direction to choose; this page only decodes.
  4. Copy the decoded text from the result and use it wherever plain characters are needed.
  5. To go the other way, paste plain text into the companion HTML Entity Encoder.

Worked examples (hand-checked)

Each example below was cross-checked with Python's standard html.unescape, which implements the same HTML character-reference rules.

Example 1 — markup back to readable code. Input (55 characters):

<div>Hello & welcome! © 2026</div>

Output (34 characters):

<div>Hello & welcome! © 2026</div>

Four entities decoded (&lt;, &gt;, &amp;, &copy;); the text shrinks by 21 characters because each 4–6-character entity becomes one character.

Example 2 — a title from an API or feed. Input (32 characters): Tom &amp; Jerry &mdash; Season 1 → Output (22 characters): Tom & Jerry — Season 1. The named entities &amp; and &mdash; become & and —.

Example 3 — mixed named, decimal and hex. Input (49 characters): It&#8217;s &quot;quoted&quot; &amp; &#x2014; dash → Output (22 characters): It’s "quoted" & — dash. Here &#8217; is the decimal form of the right single quote, &#x2014; is the hexadecimal form of the em dash, and &quot;/&amp; are named forms — all three spellings mean "the character with this code point."

Example 4 — double-encoded text decodes one level. Input (8 characters): &amp;lt; → Output (4 characters): &lt; — not <. Decoding is a single pass: &amp; becomes &, and the resulting &lt; is left as text. If your source was encoded twice, run the output through the decoder a second time.

The method in plain words

An HTML entity is a text stand-in for a character, written three ways: named (&copy; for ©), decimal (&#169; for ©), and hexadecimal (&#xA9; for ©). Every entity starts with & and ends with ;. Decoding replaces each recognised reference with the character it names. The five that matter most are the ones the companion encoder produces: &amp; → &, &lt; → <, &gt; → >, &quot; → ", and &#39; → '.

What the live page does not document, flagged as reader tests rather than claimed: (1) how large its named-entity table is — test &mdash;, &hellip; and a rare name like &frac12;; (2) whether legacy names without a semicolon decode — test &copy 2026; (3) what happens to an unknown entity — test &notanentity; and see whether it passes through unchanged; (4) whether invalid numeric references (for example &#xD800;, a surrogate) are left alone or replaced. The page's generic how-to text mentions choosing a direction, pressing Convert and errors naming an exact offset, but that wording is templated across Hellagape converter pages; the fetched live text shows an instant as-you-type box with no such controls, so this guide does not claim them.

Tips and common mistakes

  • Decode once, then check. If the output still contains &amp; or &lt;, the source was double-encoded — decode the output again (Example 4).
  • Decoding is not sanitising. Turning &lt;script&gt; back into <script> makes text active again if you paste it into a page. Decode for reading and data recovery, not as a security step.
  • Watch the ampersand order. A bare & that is not part of an entity (as in fish & chips) should pass through unchanged; if your text has raw & mixed with entities, check the output around each &.
  • Use the right tool for the context. HTML entities are for HTML text and attribute values. URLs need percent-encoding (see the URL Decoder), and Base64 is a different format entirely (see the Base64 Decoder).
  • Nothing leaves your device. The tool "processes everything locally with JavaScript" and closing the tab clears the data (the page's own wording), so it is safe for private snippets.

Most asked questions

How do I decode &amp; back to &? Paste the text containing &amp; into the decoder's input box; the result shows & in its place instantly, with no button to press.

What is the difference between &#8217;, &#x2019; and &rsquo;? None in meaning: all three are the right single quote ('). The first is decimal, the second hexadecimal, the third named. A decoder should turn all three into the same character.

Why did my text get shorter after decoding? Each entity is 4–6 characters standing for one character (&lt; → <). Entity-heavy input shrinks noticeably — Example 1 above went from 55 to 34 characters.

Why does &amp;lt; decode to &lt; and not <? Because decoding is a single pass: &amp; becomes &, producing the text &lt;, which is not re-scanned. Paste the output in again to decode the second level.

Is my text sent to a server? No. The tool runs in your browser using JavaScript; the page states your input "is never uploaded, logged or shared" and closing the tab clears it.

Do I need an account or is there a limit? No account, no trial, no daily limit — the page states the tool is completely free, supported by advertising.

Can I decode entities on my phone? Yes. The page states the interface is responsive with touch-friendly controls; very large inputs are limited only by your phone browser's memory.

How do I encode characters back into entities? Use the companion HTML Entity Encoder, which escapes &, <, >, " and ' — for example <p> becomes &lt;p&gt; for safe display in a page.

Try it now

HTML Entity Decoder

Turn HTML entities like &amp; and &#8217; back into normal characters.

Open the free tool