Developer tools

HTML Entity Decoder

HTML Entity Decoder

Decode HTML entities like &, é and ’ back to plain characters.

About this tool

About HTML Entity Decoder

Clean up text that is full of &, ", ' and ’ so it reads normally again. This is what you need when an RSS feed, a scraped page, a CMS export or an API response arrives with its characters still escaped, or escaped twice so that you see &. Paste the text and every named, decimal (’) and hexadecimal (’) character reference is converted to the real character. All HTML5 named entities are recognised, from the everyday   and — to rarer ones like ★. Invalid numeric references become U+FFFD, the same replacement character a browser shows, and any names that aren't real entities are listed so you can spot typos rather than losing text. Markup itself is left untouched, so this decodes entities without stripping or running any HTML. Click Swap to escape the result again. Decoding happens locally in your browser.

Built and maintained by Abhi JainUpdated

How to Decode HTML Entities

  1. 1

    Paste the text

    Paste text containing entities into the Encoded HTML pane, or click Sample.

  2. 2

    Copy the result

    The decoded text appears on the right. Copy or download it, or click Swap to re-encode.

HTML Entity Decoder: questions and answers

What does & mean?

The text was escaped twice: & became &, and then that & was escaped again. Decode it, then paste the result back in and decode again to get back to a single &.

What is  ?

A non-breaking space (U+00A0). It looks like a space but stops a line break and isn't collapsed by HTML. The Whitespace Visualizer can show and replace them.

What is ’?

The right single quotation mark (’), often produced by word processors in place of an apostrophe. ’ is the named form of the same character.

Will decoding run any HTML or scripts?

No. Only character references are replaced; tags are left as plain text and nothing is rendered or executed.

More HTML Entity Encoder presets