HTML Decoder
Decode HTML entities back to readable text.
How to use HTML Decoder
- 1
Paste Text
Paste your text containing HTML entities (like & or ©) into the input box.
- 2
Select Mode
Choose whether to decode all entities, only named entities, or only numeric/hex entities.
- 3
Toggle Preserve Structure
If you want to keep < and > encoded so they don't break your HTML tags, toggle 'Preserve HTML Structure'.
- 4
Copy Result
Review the decoded text and the list of decoded entities, then copy to your clipboard.
Related Tools
Frequently Asked Questions
What does HTML decoding do?
It converts HTML entities (like < and ©) back into their original characters (< and ©) so they can be read properly in text editors.
What are named vs numeric entities?
Named entities use readable names (like & for ampersand). Numeric entities use decimal or hex codes (like & or & for ampersand). Our tool decodes all of them.
Why would I preserve HTML structure?
If you are decoding a string that you plan to insert into a web page using innerHTML, you might want to leave < and > encoded so they don't accidentally create new HTML tags and cause layout or security issues.
Does this execute malicious scripts?
No, all decoding is done safely within the browser. We don't execute script tags contained within your input.
Can I encode text back to entities?
Yes, use our HTML Encoder tool to convert text back into safe HTML entities.