Decode HTML Entities - HTML Entity Decoder

Decode HTML entities back to readable text online for free with this HTML entity decoder. The tool converts entity codes — named (&) and numeric (&) — back into their original characters so you can recover plain text from encoded HTML, exports, or database dumps. Paste your encoded text and get the decoded version in seconds.

Entities like < or < exist so reserved characters display safely on a page; decoding reverses that, turning the codes back into the real characters. This is useful when a CMS, API, or scraped page has stored text in encoded form and you want the plain version. To go the other way, use the HTML Entities Encoder.

Why Decode HTML Entities?

An HTML entity decoder recovers the original characters hidden inside encoded text — essential when a CMS, RSS feed, or API has double-escaped a string and you need the plain value back. Decoding turns &amp; into &, &lt; into <, and the hundreds of numeric entities like &#8217; into their proper punctuation, so the text reads correctly instead of showing raw codes.

This unescape HTML online tool also handles edge cases that manual Find-and-Replace misses: hexadecimal entities (&#x27;), legacy entity names (&nbsp;, &copy;), and mixed encoded/plain text in the same input. Because decoding runs entirely in your browser, you can safely unescape scraped content, database exports, or form submissions without uploading anything to a third-party service.

Live Example

Named and numeric entities alike are converted back to their original characters:

Input (encoded)

&lt;a href=&quot;x&quot;&gt;Tom &amp; Jerry &copy; 2026&lt;/a&gt;

Output (decoded)

<a href="x">Tom & Jerry © 2026</a>

How to Use HTML Entities Decoder

  1. Paste Your Text: Enter or paste the HTML entities you want to decode into the input area.
  2. Decode Automatically: The tool instantly converts entity names and numbers back to readable characters.
  3. Review the Output: See your original text restored in the decoded output panel.
  4. Copy or Download: Copy the decoded output to your clipboard or download it as a file.

Key Features

  • ✅ Decode HTML entities by entity number (e.g., &#60;)
  • ✅ Decode HTML entities by entity name (e.g., &lt;)
  • ✅ Convert encoded HTML back to readable text
  • ✅ Leave plain text and non-entities unchanged
  • ✅ Copy decoded output to clipboard
  • ✅ Download decoded output as a text file

Common Use Cases

  • Debugging: Read encoded HTML content and verify how special characters are represented.
  • Content Recovery: Restore readable text from web pages, exports, or databases that store entities.
  • Data Migration: Convert entity-encoded fields into plain text before moving data between systems.
  • Learning: Understand how browsers interpret entity names and numbers in HTML.

Benefits of Using Our Tool

  • ✅ Free to use with no registration required
  • ✅ Instant, real-time decoding
  • ✅ Supports both entity names and numbers
  • ✅ Preserves plain text that is not an entity
  • ✅ Private - all processing happens in your browser

About Decoding HTML Entities

An HTML entity is an escape sequence — a named reference like &copy;, a decimal one like &#169;, or a hex one like &#xA9; — that the browser renders as a single character. Decoding scans the text for these sequences and replaces each one with the character it stands for, leaving plain text untouched. The result is the original, human-readable content without the escaping layer.

You typically meet encoded text in three places: scraped or exported HTML where reserved characters were escaped; database fields or API responses that store content safely; and email or CMS content that double-escaped ampersands. A decoder restores the readable form for editing or display. It recognises all three entity styles — named, decimal numeric, and hex numeric — and converts them uniformly.

A careful decoder only replaces true entities and leaves unrelated text (such as a literal & that is already a plain ampersand, or text that merely looks like an entity) alone, so normal prose is never corrupted. After restoring the text, you can compress or reformat any surrounding markup with the HTML Minifier or HTML Beautifier.

Common Errors and How to Fix Them

  • Partial decode (some codes remain): Malformed entities (missing trailing semicolon) are skipped. Fix the input so every entity ends in ;.
  • Output shows tags instead of text: Decoding restores real characters, so &lt; becomes a live <. If you then paste it into HTML, it may render as a tag — re-encode if you need to display it.
  • Wrong character from a numeric code: Confirm the code point is valid. &#169; is © ; a typo gives a different glyph.
  • Named entity not decoded: Obscure names may be unsupported. Numeric entities cover every Unicode character reliably.

Frequently Asked Questions

1What are HTML entities?

HTML entities are special codes used to represent characters that have special meaning in HTML, such as <, >, &, ", and '.

2Why decode HTML entities?

Decoding HTML entities is useful when you need to read encoded HTML content, debug web pages, or convert encoded text back to its original form.

3Does this tool support both entity names and numbers?

Yes, our decoder supports both entity names (like <) and entity numbers (like &#60;).

4What happens to characters that are not entities?

Plain text and characters that are not HTML entities are left unchanged in the decoded output.

5Is my text uploaded to a server?

No. Decoding runs entirely in your browser, so your text never leaves your device and stays private.

6Can I download the decoded output?

Yes. You can copy the decoded text to your clipboard or download it as a file for use in your projects.