HTML Entity Decoder
Decode HTML entities to plain text. Handles named entities and numeric references in decimal and hex, in your browser.
Independently verified for accuracy
Calculator by Toolsloft ↗Decode HTML entities back into the characters they stand for. Paste text with codes like < or é and get the plain characters, so scraped or exported HTML reads normally again. Unknown entities are left untouched so nothing is silently changed.
How this is calculated
Replaces named entities from a defined set (such as amp, lt, gt, quot, nbsp, copy, pound) and numeric character references in both decimal (&#nn;) and hexadecimal (&#xnn;) form. A code that is not recognized, or a number outside the valid Unicode range, is left exactly as written.
How to use
- Paste text that contains HTML entities.
- The decoded text appears in the output box.
- Copy the clean, readable result.
Examples
- Tags:
<div> becomes <div> - Numeric:
café becomes café
FAQ
- Which entities are supported?
- Common named entities such as amp, lt, gt, quot, apos, nbsp, copy, reg, trade, euro, pound, and cent, plus any numeric reference in decimal or hexadecimal form.
- What happens to entities it does not know?
- They are left exactly as they appear, so the tool never guesses or changes text it does not recognize.
- Does it decode numeric references?
- Yes. Both decimal codes like é and hexadecimal codes like é are decoded to their character.