HTML Decoder
Decode HTML entities back to plain text instantly in your browser.
This tool reverses that encoding by parsing every named and numeric HTML entity in your input and replacing it with the corresponding character. It handles the standard named entities for ampersand, angle brackets, and quotation marks, as well as numeric entities like & and hexadecimal entities like &. The decoding is performed by creating a temporary DOM element in your browser and leveraging the browser's native HTML parser, which guarantees accurate handling of the full HTML entity specification.
Common use cases include cleaning up scraped web content, restoring readable text from encoded database exports, preparing content for migration between platforms, and debugging API responses that return HTML-encoded strings. Developers frequently encounter double-encoded entities where & appears instead of a simple ampersand, and this tool can be applied iteratively to resolve each layer of encoding.
All processing runs locally in your browser with no server round-trips, so your data stays private. Paste your encoded text, see the decoded result instantly, and copy it wherever you need clean, readable content.
Decoder
Results
How to Use
- Paste HTML-encoded text containing entities like & or < into the input field.
- The tool instantly decodes all HTML entities back to their original characters.
- Copy the decoded plain text from the output field.
- For double-encoded text, paste the output back into the input to decode the next layer.
FAQ
What types of HTML entities can this tool decode?
It decodes all named entities (like &, <, >, "), numeric decimal entities (like &), and hexadecimal entities (like &). The browser's native parser handles the full HTML entity specification.
Can it handle double-encoded entities?
Each pass decodes one layer of encoding. If your text is double-encoded (e.g., &amp;amp; instead of &), run the tool twice to fully decode it.
Is my text sent to a server?
No. All decoding happens locally in your browser using a temporary DOM element. Your data never leaves your device.
Why do I see HTML entities in my scraped data?
Web pages encode special characters as entities so browsers display them correctly. When you extract the raw HTML source, you get the entity codes rather than the rendered characters. This decoder converts them back.
Is this the same as URL decoding?
No. HTML decoding converts HTML entities (like &lt;) to characters. URL decoding converts percent-encoded sequences (like %3C) to characters. Use the URL Decoder tool for percent-encoded strings.
Commonly Used With
Pair this tool with others in Text Utilities
Learn More
Guides that feature this tool