Decode HTML Entities
Convert named, decimal and hex entities back to normal characters, including , ©, € and thousands of others.
Decode HTML entities like & and ' back to plain text, or encode special characters. Fast, free and no signup.
Add text with HTML entities such as & or ', or upload a file.
Decode is the default. Switch to Encode to escape special characters.
The converted text appears at once. Copy it or download it.
Looking for a free HTML decoder? Paste text that is full of codes like &, <, " or ' and get clean, readable text in an instant. This HTML entity decoder understands every named entity in the HTML standard as well as decimal and hexadecimal numeric entities, and it can repeat the process to fix double-encoded text. Need to go the other way? Switch to Encode mode to turn special characters into safe HTML entities. There is nothing to install, no account to create and no API involved: the conversion is done by your browser's own HTML parser, so your text stays private. It is a handy tool for web developers, content editors, SEO specialists, data analysts and anyone who has ever copied text from a web page, feed or database and found it full of strange ampersand codes.
People find this tool by searching for html decoder, html entity decoder, html unescape, decode html entities, decode & or html special characters decoder. The problem is almost always the same: text that should read normally is full of codes such as &, " or ’. This free HTML decode tool turns those codes back into the characters you expect, repeats the process for double-encoded text and can also encode in the other direction. It runs in your browser on Windows, Mac, Linux, Android and iPhone.
Convert named, decimal and hex entities back to normal characters, including , ©, € and thousands of others.
Turn text like &quot; into a plain quote with the repeat option, which decodes layer by layer until nothing changes.
Escape ampersands, angle brackets and quotes, or encode every non-ASCII character as a named or numeric entity.
An HTML decoder is a tool that converts HTML entities back into the characters they represent. This process is also called HTML decoding, HTML unescaping or decoding HTML special characters. It is the reverse of HTML encoding, where characters are replaced with entity codes so that they can be shown safely inside a web page.
An HTML entity is a piece of text that begins with an ampersand (&) and ends with a semicolon. It can use a name, such as ©, or a number, such as © (decimal) or © (hexadecimal). All three display the same copyright sign. Entities exist for two main reasons. First, some characters have a special meaning in HTML. The less-than sign starts a tag and the ampersand starts an entity, so to show them as text you must write < and &. Second, entities let you write characters that are not on your keyboard or that may not survive different text encodings.
Here is a short piece of encoded text and the result after decoding it.
<p>Tom &amp; Jerry's "Show" © 2026</p>
<p>Tom & Jerry's "Show" © 2026</p>
In this example, &amp; is a double-encoded ampersand. A single decode gives & and turning on Decode repeatedly gives a plain ampersand.
These are the entities you will meet most often, with their named and numeric forms.
| Character | Named entity | Numeric entity | Meaning |
|---|---|---|---|
| & | & |
& |
Ampersand |
| < | < |
< |
Less than |
| > | > |
> |
Greater than |
| " | " |
" |
Double quote |
| ' | ' |
' |
Apostrophe (single quote) |
| (space) | |
  |
Non-breaking space |
| © | © |
© |
Copyright sign |
| ® | ® |
® |
Registered trademark |
| ™ | ™ |
™ |
Trademark |
| € | € |
€ |
Euro sign |
| £ | £ |
£ |
Pound sign |
| — | — |
— |
Em dash |
| – | – |
– |
En dash |
| … | … |
… |
Horizontal ellipsis |
There are several kinds of encoding that look similar but are not the same. This tool decodes HTML entities only. If your text contains something else, you need a different tool.
| Encoding | Looks like | Use |
|---|---|---|
| HTML entities | & < ' © |
This HTML decoder |
| URL (percent) encoding | %20 %3F %26 |
A URL decoder |
| JavaScript / JSON escapes | \u00e9 \n \" |
A JSON or JavaScript unescape tool |
| Base64 | SGVsbG8= |
A Base64 decoder |
Double-encoded text happens when content is escaped more than once. The text &quot;Hello&quot; was encoded twice: the quote became " and then the ampersand in that entity became &. If you decode it once you get "Hello", which still contains entities. With Decode repeatedly turned on, the tool decodes again and again, up to five times, until the text no longer changes.
Use this option only when you are sure the text is double-encoded. If a page is meant to show entity names literally, for example in a tutorial about HTML, repeated decoding would remove the codes you want to keep.
Encoding makes sure that text is displayed as text and not interpreted as code. If a visitor submits the text <script> in a comment form and your page prints it without encoding, the browser may treat it as a real tag. Escaping output is one of the main defenses against cross-site scripting (XSS) and also prevents broken layouts caused by stray angle brackets and ampersands in titles and descriptions. This tool is useful for preparing snippets and examples, but in an application you should always escape output on the server with your framework's built-in helpers, not by hand.
If the result is not what you expected, find your case in the table below.
| Problem | Likely cause | How to fix it |
|---|---|---|
Text still shows & after decoding |
The text was encoded twice or more | Turn on Decode repeatedly |
| Decoded text now shows real angle brackets | Decoding correctly turns < into < |
Treat the result as plain text. Do not insert it into a page without escaping it again. |
Encoding changes an existing & into &amp; |
The text was already encoded | Turn on Keep existing entities |
| Accented letters or symbols are not encoded | Encode non-ASCII characters is off | Turn on Encode non-ASCII characters |
You get © but wanted © |
Named entities are off | Turn on Use named entities |
| You want hexadecimal codes | The numeric format is set to decimal | Choose Hexadecimal as the numeric entity format |
| Quotes are left as they are | Encode quotes is off | Turn on Encode quotes to convert both " and ' |
& or ' in search results.Our HTML decoder works in your web browser, so you can decode entities on Android, iPhone, Windows, Mac and Linux without a plugin or a script. Paste the text, keep Decode selected and copy the result. If you search for an HTML unescape tool for a spreadsheet export or a copied web page, the steps are the same in every modern browser.
Your text is converted inside your browser. It is not uploaded, saved or stored on a server, and it is gone when you close or refresh the page. One safety note about the result: decoding turns text such as <script> into real angle brackets. That is correct, but you should never put decoded text from an unknown source straight into a web page. Escape it again first, or use the Encode mode.
Decoding entities is often one step in a bigger clean-up job. These related free tools help with the rest:
This HTML decoder and encoder is free to use as often as you like, with no signup and no watermark. It uses your browser's own HTML parser, so it supports the complete list of HTML5 entities without any third-party service, and your text is never sent to our server.
Find answers to common questions about decoding HTML entities, fixing double-encoded text and encoding special characters.
An HTML decoder, also called an HTML entity decoder or HTML unescape tool, converts HTML entities back into the normal characters they stand for. For example, it turns & into &, < into <, " into a double quote and © into the copyright sign. It is the opposite of HTML encoding.
Paste your text into the input box and make sure Decode is selected. The decoded text appears instantly in the result box, together with the number of entities that were converted. Then copy the result or download it as a text file. Both named entities such as and numeric entities such as ' or ' are supported.
HTML entities are codes that start with an ampersand and end with a semicolon. They let you write characters that have a special meaning in HTML, such as < and &, and characters that are hard to type, such as the euro sign. They often appear in text because a database, API, RSS feed, CMS export or template escaped the content for safe display in a web page, and the text was copied or saved without being converted back.
Double-encoded text has been encoded twice, so you see sequences like &amp; or &quot; instead of & or a quote. Decoding once only removes one layer. Turn on Decode repeatedly and the tool keeps decoding until nothing changes, with a safety limit of five rounds. Only use it when you know the text is double-encoded, because it can also change text that really should show entity names literally.
They handle different encodings. HTML decoding converts entities such as & and '. URL decoding converts percent codes such as %20 and %3F that appear in web addresses. Escape sequences such as \u00e9 belong to JavaScript and JSON. This tool decodes HTML entities only, so use a URL decoder for percent-encoded text.
Yes. Switch to Encode mode to convert special characters into entities. By default it encodes the five characters that matter most in HTML: ampersand, less than, greater than and both quote marks. You can also encode non-ASCII characters, choose between named and numeric entities, pick decimal or hexadecimal numbers and leave existing entities untouched to avoid double-encoding.
Yes. It is free, needs no signup and has no usage limit. Everything runs in your browser using the built-in HTML parser, with no API and no upload, so your text never reaches our server. Decoding only produces plain text and never runs scripts or loads anything from the code you paste, so it is safe to use with untrusted content.
Decode HTML entities here, then use the HTML encoder, the URL encoder, the Base64 tool or the HTML formatter in seconds. Explore free developer tools to format, convert and debug your text in one place.
Explore All Developer Tools →