https://devtools.solutions/tools/encoding/html-decode.html

HTML Decode

Convert HTML entity references like &, <, and > back to their original characters. Runs in your browser.

Frequently Asked Questions

What can I decode here?

You can HTML-decode text, converting HTML entities like <, >, and & back to their original characters.

Can this help with web development?

Yes. It is useful for reading HTML-escaped content from APIs or database values.

Is decoded data uploaded anywhere?

No. All decoding happens in-browser.

Example input/output

Input: <script>alert("XSS")</script>

Output: <script>alert("XSS")</script>

How it works

This tool uses a temporary DOM element's innerHTML property to decode HTML entities back to their original characters. JavaScript creates a text node and reads the decoded text. All processing runs in your browser.

Common use cases

Related tools