HTML Decode

Decode HTML entities back to their original characters. This tool converts HTML entities like &lt;, &gt;, &amp; back to <, >, &, making it easy to read encoded HTML content.

When to use this tool

You receive HTML-encoded strings from an API and need the raw text.

You are cleaning up logs or scraped content with HTML entities.

Examples

Decode entities

Input

&lt;span&gt;5 &amp; 7&lt;/span&gt;

Output

<span>5 & 7</span>

The output contains HTML tags again.

Developer use cases

Decode form submissions stored with HTML entities.

Clean up HTML-rendered content for plain text exports.

Common mistakes to avoid

Decoding content that still includes HTML tags (use carefully before rendering).

Mixing HTML decoding with URL decoding in a single step.

Format and behavior notes

Supports both named entities (&amp;) and numeric entities (&#38;).

Decode only if you trust the source or will escape again before rendering.

Frequently Asked Questions

How do I decode HTML entities?

Simply paste the HTML-encoded text into the input field, and the decoded text will appear automatically.

What HTML entities are supported?

The tool supports all standard HTML entities including named entities (like &amp;) and numeric entities (like &#38;).

Can I decode numeric entities?

Yes, the tool supports both named HTML entities and numeric entities (decimal and hexadecimal).