Explorar ferramentas

Loading…

Guide

How to use this tool, examples, and related tips.

How to Use the HTML Decoder

Paste your HTML-encoded string into the input field.

The tool replaces all HTML entities — named, decimal, and hexadecimal — with their literal characters.

Copy the decoded output for reading, editing, or further processing.

What Is HTML Decoding?

HTML encoding replaces characters that have special meaning in HTML — like <, >, and & — with entity references so they render as literal text rather than being interpreted as markup. HTML decoding reverses this: it converts entity references back to their original characters. This is the direct inverse of HTML encoding and is necessary when you've extracted text from an HTML document and need to work with the raw string rather than the escaped representation. HTML supports hundreds of named entities beyond the five XML entities — including &nbsp;, &copy;, &eacute;, and many more.

When to Use This Tool

Reading HTML-encoded API responses — Some APIs return text content with HTML entities encoded, particularly content originally sourced from web pages or CMS platforms.

Processing scraped web content — HTML scrapers often return raw entity-encoded text that must be decoded before storage or display.

Decoding CMS output — Many content management systems store or output text with HTML entities that need to be decoded for downstream processing.

Debugging double-encoded content — When content has been HTML-encoded more than once, use this tool to peel back one layer at a time.

Related Tools

  • HTML encoder
  • HTML unescape
  • HTML formatter
  • XML decoder
  • JSON unescape

FAQ

Answers about this tool and how your data is handled.

Which entities does this tool decode?

All standard HTML5 named entities (e.g., &nbsp;, &copy;, &eacute;), decimal numeric references (&#60;), and hexadecimal numeric references (&#x3C;).

Is this the same as XML decoding?

Partially. XML only defines five named entities. HTML defines hundreds. This tool handles the full HTML entity set, making it a superset of XML decoding for named entities.

Does this tool send my data to a server?

No. Decoding runs entirely in your browser. Nothing is uploaded.

What if my input contains both encoded and literal characters?

Only valid entity references are decoded. Literal characters and unrecognized sequences are left as-is.

Can I use this to decode a full HTML document?

This tool is designed for decoding string values. For formatting or parsing a complete HTML document, use the HTML formatter.

Primeiro a mesma categoria, depois outras utilidades.