HTML decode

Turn HTML entities back into normal characters. Named entities, decimal codes and hex codes are all recognized, so exported product descriptions and feeds become readable again.

Free and private. Everything runs in your browser, nothing is uploaded.

How it works

  1. Paste your textType or paste into the input box, or open a text file. Sample shows an example.
  2. Check the resultThe result appears on the right as you type. Errors are shown with the line and column.
  3. Copy or swapCopy the result, download it as a file, or press Swap to reverse the direction and check it.

Clean up exported text

Product feeds, CMS exports and scraped pages are often full of &, " and ü. Decoding them gives you clean text you can paste into a spreadsheet or another system.

Tags in the input are left as they are and are never run, so it is safe to paste any HTML.

Decoding also helps when text was escaped twice by mistake, which shows up as & in place of a single &. Run the result through the decoder again until it reads normally.

Named, decimal and hex codes give the same result

é, é and é are three ways to write é, and all of them decode to the same letter. Decoding uses the same rules as a browser, so even old style entities written without the closing semicolon, such as &copy in legacy pages, are read the way a browser would show them. Text without any & is returned unchanged.

One result often surprises people:   becomes a non breaking space, not a normal one. It looks the same, but a spreadsheet formula, a search or a comparison may treat it as a different character. If decoded product names do not match in Excel or in a database, a hidden non breaking space is a likely cause, and replacing it with a normal space fixes it.

About HTML

HTML entities are codes like < or Ş that stand for a character. They are needed for characters that have a special meaning in HTML and for characters a page cannot store directly.

Frequently asked questions

Which entities are supported?

All entities defined in the HTML standard, more than two thousand named ones, plus every decimal and hex numeric code.

Does decoding remove HTML tags?

No. Only entities are converted; tags such as <p> or <br> stay in the text exactly as they were.

Why do two decoded texts that look the same not match?

One of them probably contains a non breaking space from &nbsp; where the other has a normal space. Replace it with a normal space before comparing.

Is my text uploaded anywhere?

No. Encoding and decoding happen in your browser. Tokens, keys and other private text never leave your device.

Is Base64 encryption?

No. Base64 only changes how data is written. Anyone can decode it, so never use it to protect passwords or secrets.

What is URL safe Base64?

It replaces + and / with - and _ and drops the = padding, so the result can be used in addresses and file names. It is used in JWT tokens, for example. The decoder accepts both forms.

Why does decoding show a file instead of text?

If the decoded data is not readable text, the tool checks what kind of file it is. Images are previewed, and any file can be downloaded with the Download button.

Does it work offline?

Yes. After you open the page once, it keeps working without an internet connection.