Tools.GamesLoop Logo
TOOLS.GAMESLOOP160+ Free Online Tools

HTML Decoder

Convert HTML entities back into normal characters.

HTML Decoder

Developer tool running locally in browser

Advertisement
Ad Space (auto) — Configurable via NEXT_PUBLIC_ADSENSE_CLIENT

What does HTML Decoder do?

Turn &, <, ’ and other entities back into the characters they represent. Handles named entities, decimal and hexadecimal numeric references, and repeats the pass for double-encoded text.

How to Use HTML Decoder

  1. 1
    Paste the encoded textFrom a database, feed or API response.
  2. 2
    Read the decoded outputEntities become real characters.
  3. 3
    Copy itOr strip the remaining tags for plain text.

Key Features

  • Named entities such as &   and ©
  • Numeric references in decimal and hexadecimal
  • Repeat mode for double-encoded text
  • Optional tag stripping to leave plain text only
  • Reports how many entities were decoded

Frequently Asked Questions

Why is my text full of &?

It was encoded twice. The ampersand in & got escaped again on a second pass. Turn on repeat mode to unwind both layers.

What is  ?

A non-breaking space, U+00A0. It looks like a space but prevents a line break there. It is invisible in text but does not match a normal space in a search, so decoding it is often the fix for a mysterious bug.

Is decoding HTML entities safe?

Decoding for display in a plain text box is safe. Decoding and then inserting into a page as HTML re-enables any markup that was escaped, which is exactly the XSS risk the escaping prevented.

Can it decode entities inside markup?

Yes. Entities are decoded wherever they appear and tags are left intact, unless you switch on tag stripping.