Decode HTML Entities - HTML Entity Decoder

Decode HTML entities back to readable text instantly with our free HTML Entities Decoder. This tool converts entity codes — angle brackets, ampersands, quotes, and symbols — back into their original characters. Perfect for recovering readable content from encoded HTML, exports, or databases. 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.

Live Example

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

Input (encoded)

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

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.