IT Market
Tools/Code/Data/HTML Entity Decoder Online — Unescape HTML
HTML Entities

Кодирование и декодирование HTML-сущностей

Tool guide

HTML Entity Decoder Online — Unescape HTML

Text that has travelled through a CMS, a database dump or somebody else's API tends to arrive full of ", П and  . It is unreadable in that state and useless in a document. Paste the fragment here and the browser's own parser turns every escape back into the character it stood for: quotes become quotes, numeric codes become letters, a non-breaking space becomes a space. Nothing is sent anywhere while it works. See also: escape special characters into entities, strip the tags and keep plain text, turn finished markup into Markdown.

How to use it

  1. Paste the fragment containing sequences such as &, " or П into the «Text» field.
  2. Press «Decode» — the same page also carries the opposite «Encode» button, so pick carefully.
  3. Read the decoded text in the «Result» field and confirm that non-Latin letters came back correctly.
  4. Press «Copy» to put the clean text on the clipboard.
  5. If some escapes survived, run the result through once more: data is often escaped twice over.

FAQ

Why are entities like " still there after decoding?

The text was escaped twice: the quote first became ", then the ampersand itself became &. One pass only strips the outer layer. Run the output through the decode button a second time and the string becomes readable. Fields that pass through both a template engine and an API often end up in this state.

How do I get rid of   in text copied from a website?

Decoding turns   into a real non-breaking space. It looks identical to a normal space but wraps differently and will not be found by a plain space search. Copy the result out, then use a find-and-replace on the character U+00A0 in your editor if those spaces are getting in the way.

Are numeric references and emoji supported?

Yes. The browser does the parsing, so decimal references such as П, hexadecimal ones like П and every named entity from the HTML5 spec all resolve. Emoji written as a surrogate pair of numeric references are reassembled into a single character.

Can I decode a whole HTML page at once?

Short fragments and single fields are instant. A very long document pasted in one go makes the tab sluggish, because the entire text sits in a single textarea. Split large files into chunks of a few thousand lines, which also makes the output easier to check by eye.

How is this different from a URL decoder?

This one removes HTML escaping — the named and numeric entities that start with an ampersand. Percent sequences such as %D0%9F come from URLs and are a different encoding entirely. If a string carries both, undo the percent encoding first and the HTML entities second.

Where does the pasted text go?

It stays in the textarea of the open tab. The page script does the decoding, no request carrying your data is made in this flow, and no input history is kept. Reloading clears both fields, so copy the result before you refresh.

Examples

News headline out of a database dump
Before: <p>Acme "Vector" & partners</p>
After: Acme "Vector" & partners
Letters hidden in numeric references
Before: Hello
After: Hello