BYTETOOLS

How to Decode HTML Entities to Plain Text Online

To decode HTML entities, paste your encoded text into the ByteTools HTML Entity Decoder and the readable characters appear instantly below — it recognises named entities, decimal (&#nnn;) references and hexadecimal (&#xhh;) references, converting each back to the character it stands for. The whole thing runs in your browser, so nothing you paste is uploaded.

Entity codes creep into text from feeds, database exports, scraped pages and copy-paste. This guide shows how to turn that soup of & and © back into clean, human-readable content.

What an HTML entity actually is

An HTML entity is a way of writing a character that might otherwise be reserved or hard to type. You'll meet three forms in real markup:

  • Named entities — readable aliases like &lt; for <, &amp; for &, and &mdash; for an em dash.
  • Decimal numeric references — the character's code point in base 10, such as &#8212; for an em dash.
  • Hexadecimal numeric references — the same code point in base 16, such as &#x2014;.

All three can point to the same character. The decoder understands every form and resolves them together in a single pass.

Step-by-step decoding

  1. Paste your text. Drop the HTML-encoded string into the input box.
  2. Read the output. The decoded, human-readable version appears automatically below — no button to press.
  3. Scan for all three forms. Named, decimal and hex references are all resolved at once, so mixed input comes out clean.
  4. Copy the result. Use the one-click copy to grab the plain text for wherever you need it.

A quick worked example

Encoded inputDecoded output
Tom &amp; JerryTom & Jerry
&copy; 2026© 2026
Price: 5&#160;&#8364;Price: 5 €
caf&#xe9;café

Notice the decoder handled a named entity, a decimal reference and a hex reference in the same batch. Malformed or unknown named entities are left exactly as written rather than guessed at, so nothing in your text is silently corrupted.

When you actually need to decode

Decoding is the step that turns machine-safe text back into something a person reads. You'll want it whenever the raw source escaped its characters for transport or storage: a database field that saved &amp; to stay valid, a JSON string that arrived with &quot; in it, or markup copied out of a page where every reserved character was encoded. Encoding protects the character while it travels; decoding reveals it again when you're ready to display or edit. Knowing which direction you need saves confusion — if you're preparing text to put into HTML, you want the encoder instead, and if you're pulling text out of HTML to read, the decoder is the right tool.

Why decode in the browser

Decoding happens entirely inside your browser tab. The text you paste never leaves your device, which matters when you're cleaning up strings from a private database or an internal export. It's instant, free, requires no account, and keeps working offline once the page has loaded.

Try the HTML Entity Decoder — free and 100% in your browser.

FAQ

Does the decoder need me to press a button?

No. The decoded text appears automatically as soon as you paste, so you can see the result immediately and copy it.

What happens to characters that aren't entities?

They pass through untouched. Only recognised entity sequences are replaced; every other character in your input stays exactly as it was, so surrounding text is never altered.

Can it handle a mix of named and numeric references?

Yes. A single input can freely mix named entities, decimal references and hex references, and all of them are resolved in one pass.

What if an entity is misspelled?

The decoder leaves an unknown or misspelled named entity as-is instead of guessing, which prevents accidental corruption. Fix the spelling or rewrite it as a numeric reference and it will decode.

Related free tools

Built by ByteVancer

ByteTools is a free product of ByteVancer, a software and web development studio building web apps, SaaS and custom software. If text processing is part of a larger system you're building, explore how ByteVancer can help design and ship it.