TEXT TOOLS

HTML Decoder

Decode HTML entities to readable text. Converts &, <, >, ", ', numeric and hex entities instantly.

Decoded Text

<html> & "Hello"

16 characters, 1 line

Decodes named entities (&amp;, &lt;, &gt;, &quot;, &apos;, &nbsp;) and numeric entities (decimal &#123; and hex &#x1F;).

What is the HTML Decoder?

HTML Decoder is a tool that reverses HTML encoding, turning character references (like &amp;, &lt;, &quot;) and numeric entities (like &#65;, &#x41;) back into their plain-text equivalents. It handles both named entities defined in the HTML standard and numeric (decimal and hexadecimal) codes that represent Unicode characters.

How it works

Paste your encoded HTML into the decoder. It scans for entity patterns—ampersand followed by a name or number, then a semicolon—and replaces each with its real character. For example, &amp; becomes &, &#60; becomes <, and &#x1F600; becomes the emoji 😀. The tool does not execute or render HTML; it simply translates the encoded symbols.

Examples

InputResultNotes
Welcome to &lt;MyWebsite&gt; &amp; enjoy!Welcome to <MyWebsite> & enjoy!Common scenario: HTML-encoded angle brackets and ampersands need to be readable.
Price is &pound;99.99 &mdash; limited time.Price is £99.99 — limited time.Named entities for currency and punctuation symbols decode to their Unicode counterparts.
Email: user&#64;example&#46;com &#40;private&#41;Email: user@example.com (private)Numeric decimal entities &#64; for @ and &#46; for . are common in spam-prevention encoding.

How to use the HTML Decoder

  1. Copy or paste your HTML-encoded text into the input box.
  2. Click 'Decode' (or auto-decode if enabled).
  3. Review the output—all entities should now show as readable characters.
  4. Copy the decoded text to use in emails, documents, or code.
  5. If some entities didn't decode, check for typos (e.g. &amp without the semicolon).
  6. Use the 'Copy to Clipboard' button to quickly capture the result.

Benefits

  • Read spam-encoded email addresses without guessing what characters they hide.
  • Debug HTML source code that uses entities instead of literal characters.
  • Decode web form data or API responses that arrive HTML-escaped.
  • Understand forum posts, comments, or old email where entities are visible.
  • Convert character codes to symbols for accessibility and document clarity.

Tips & common mistakes

Common mistakes

  • Forgetting the semicolon at the end of an entity (e.g. &amp instead of &amp;)—the decoder may not recognize it.
  • Mixing decimal and hexadecimal notation without the correct prefix (&#60; vs &#x3C;).
  • Assuming the decoder will render HTML tags—it decodes text only, does not execute scripts or styles.

Tips

  • If you copy text from a web page and see odd symbols, it likely contains encoded entities; paste it here to fix it.
  • Numeric entities are often used to obfuscate email addresses or hide special characters in plain-text files.
  • Test your decoded output by pasting it back into a form or email—if it looks right, you've decoded correctly.

Frequently asked questions

What's the difference between &amp; and &#38;?

Both decode to the ampersand & character. &amp; is a named entity (human-readable), and &#38; is its numeric decimal equivalent. The decoder handles both.

Can this decoder handle hexadecimal entities like &#x1F600;?

Yes. The x prefix signals hexadecimal (base-16) notation. &#x1F600; decodes to 😀. Decimal entities use no prefix (&#128512; also decodes to 😀).

What if my text has no entities—will the decoder break it?

No. Plain text passes through unchanged. The decoder only touches recognized entity patterns, so normal words and punctuation remain as-is.

Why do spammers use encoded email addresses?

Encoding hides email addresses from simple text-scraping bots that collect addresses for spam lists, though smarter scrapers can decode them.

Can I decode HTML tags themselves (like &lt;div&gt;)?

Yes. Angle brackets and quotes are often encoded in HTML source to prevent them being interpreted as actual tags. The decoder converts them back to < and >.

Is there a maximum length for text I can decode?

Most online decoders handle thousands of characters. If you hit limits, split your text into smaller chunks and decode each separately.

Related tools

FreeTooz Editorial Team · Last reviewed July 2026

Reviewed for accuracy. Results are estimates for general information and are not professional (medical, financial or legal) advice.