DuckyTools
Home Developer HTML Entity Decoder

HTML Entity Decoder Developer

Turn HTML entities back into the characters they represent.

HTML Entity Decoder is a free online tool that turn HTML entities back into the characters they represent. It runs entirely in your web browser using plain JavaScript, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.

Price
Free — no account, no quota, no watermark
Category
Developer
Where it runs
In your browser, on your device
Files uploaded
None
Technology
plain JavaScript
Settings
None — it just works
Works offline
Yes, after the first visit

About HTML Entity Decoder

This resolves both named entities such as `&` and ` `, and numeric ones in decimal (`©`) or hexadecimal (`©`) form. HTML5 defines over 2,200 named entities, and the decoder here uses the browser's own parser rather than a lookup table — so it recognizes every one of them and matches exactly what a browser would render.

How to use it

  1. Paste the text you want to run through html entity decoder.
  2. There is nothing to configure — the result updates as you type.

Under the hood

Runs onplain JavaScript — runs the whole thing

Questions

What is   and why does it survive copy-paste?

A non-breaking space, U+00A0. It looks identical to a normal space but prevents a line break and is a different character, so string comparisons and search fail against it. It is the single most common invisible troublemaker in pasted web text.

Does decoding make the text unsafe?

It makes it unsafe to insert into a page as HTML — that is the point of decoding. Decoded text is for reading and processing; re-encode before rendering it.