ToolsZone
Developer

HTML Decoder

Decode HTML entities back to readable text.

Decoding Mode
Options
Input Encoded HTML
Decoded Output

How to use HTML Decoder

  1. 1

    Paste Text

    Paste your text containing HTML entities (like & or ©) into the input box.

  2. 2

    Select Mode

    Choose whether to decode all entities, only named entities, or only numeric/hex entities.

  3. 3

    Toggle Preserve Structure

    If you want to keep < and > encoded so they don't break your HTML tags, toggle 'Preserve HTML Structure'.

  4. 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 &lt; and &copy;) 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 &amp; for ampersand). Numeric entities use decimal or hex codes (like &#38; or &#x26; 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.