HTML Decoder
Decode HTML entities back to their original characters.
What is HTML Decoder?
The HTML Decoder tool converts HTML entities back into their original, human-readable characters. When HTML is encoded, special characters like <, >, &, and " are replaced with entity references such as <, >, &, and " to prevent browsers from misinterpreting them as markup. This tool reverses that process, giving you back clean, readable text in seconds.
For developers, this is an everyday necessity. Whether you're parsing API responses, inspecting database content, debugging template output, or working with scraped web data, HTML-encoded strings frequently appear where you least expect them. Instead of manually looking up entity codes or writing a one-off script, the HTML Decoder handles both named entities (©, ) and numeric references (©, ©) instantly and accurately.
How to Use
Using the tool is straightforward: paste your HTML-encoded string into the input field and the decoded output appears immediately. Input can range from a single entity like & to entire blocks of HTML-encoded content containing dozens of mixed entity types. The tool handles both decimal numeric references (<) and hexadecimal numeric references (<) alongside all standard named HTML entities defined in the HTML5 specification.
The output is plain, unescaped text with all entities resolved to their Unicode equivalents. For example, input like <p>Hello & welcome — enjoy!</p> will produce <p>Hello & welcome — enjoy!</p>. This makes it easy to visually inspect content, copy it into documents, or use it in further processing steps.
One edge case to be aware of: if your input contains entities that are doubly encoded (e.g., &lt; representing a literal <), the tool will only decode one layer at a time. Run the output through the decoder a second time if you need to unwrap multiple encoding layers. Also note that decoding does not sanitize or validate HTML structure — it purely resolves entity references.