Encoding & Text Conversion

HTML Entity Decoder

Restore HTML named entities, decimal entities, and hexadecimal entities to Unicode text.

Press Ctrl / ⌘ + Enter to run
Read-only result

Decode named and numeric HTML Entities and safely display the results as textContent.

Inputs are only processed in your browser and are not uploaded to the server.

What this tool does

The HTML Entity Decoder uses the browser's entity resolution rules to complete the conversion, but the final result is always displayed via textContent. Even if the decoded result looks like a tag or script, it will not be inserted as executable HTML.

  • Supports common named entities and decimal and hexadecimal numeric entities.
  • Unrecognized entities are retained or prompted with explicit rules rather than guesswork modifications.
  • The page does not execute, preview, or request anything in the decoded results.

How to use it

  1. Paste the text containing HTML Entities.
  2. Click "Decode Entity".
  3. Check the recovered plain Unicode text.
  4. The results are copied for safe subsequent processing.

Common uses

  • Read entity-encoded text in a log or interface.
  • Restore angle brackets and quotation marks as they appear in documents.
  • Verify the results of the Entity Encoder round trip.

Privacy and security

Entity decoding is done in a lazy browser parsing environment, and the results are only written to the text control; no HTML or scripts in the input are executed.

HTML Entity Decoder Features

Decode named and numeric HTML Entities and safely display the results as textContent. Useful for everyday development and debugging; results can be reviewed, copied, or downloaded immediately.

FAQ

Are numeric character references supported?

Supports decimal and hexadecimal numeric entities, as well as named entities recognized by browsers.

Will the decoded tag be executed?

No. The result is displayed as normal text via textContent, without writing executable innerHTML.

What happens to unknown entities?

The tool will not guess unrecognized names into other characters and will retain or give understandable hints.

Will the content be uploaded?

No, entity resolution and security display are all completed on the current page.

Back to Developer Tools