Free Developer Tool

HTML Decoder: Decode HTML Entities Online

Paste encoded text, click once and get clean, readable characters back. Turns &lt; into <, &amp; into & and &#169; into ©. Free, fast and no signup.

Decode named entities Decode numeric entities Handles HTML strings Copy in one click Sample text One-click clear No signup

Decode HTML Text Back to Plain Characters

Copied text from a CMS, an API response or a database export and got a mess of &quot; and &#8217; instead of quotes and apostrophes? That's HTML encoding. This online HTML decoder reads every entity, swaps it for the real character and gives you text you can actually read, edit or paste somewhere else.

Read more

Decode HTML Entities in One Pass

Named entities like &nbsp;, &copy; and &mdash; and numeric ones like &#39; or &#x2F; all get converted at once. You don't need to look anything up in an entity table. Paste, click Decode HTML and the job is done. One HTML entities decode pass handles the whole block.

Clean Up Encoded API and Database Output

JSON responses, WordPress exports and CRM fields often store text with entities baked in. Decode the HTML string here before you drop it into a spreadsheet, a report or an email, so readers see "Tom's Café" and not "Tom&#39;s Caf&eacute;".

Named and Numeric Entities, Both Covered

Some systems write &amp;, others write &#38; or &#x26;. They all mean the same ampersand. This HTML entity decoder understands decimal, hex and named forms, so mixed input still comes out clean.

HTML Decode vs HTML URL Decode

People often mix these up. HTML decoding handles entities like &lt;. URL decoding handles percent codes like %20 and %3C. If your text looks like %3Cdiv%3E, you need our URL Decode tool instead. Got both? Decode the URL first, then run the HTML decode here.

Pair It With Our HTML Encoder

Need to go the other way? The HTML Encode tool turns <, > and & into safe entities. Together they work as a simple HTML decoder encoder pair, handy when you're testing how a template escapes user input.

Decode HTML Online on Any Device

Nothing to install and no account to make. The tool runs in your browser on desktop, tablet or phone, so you can decode HTML online wherever the messy text shows up. Bookmark this HTML decoder online and you've got an HTML decode online shortcut ready whenever messy text turns up.

How to Decode HTML

1

Paste your encoded text

Drop the text with entities into the input box. Click Sample if you want to see how it works first.
2

Pick your options

Keep both named and numeric decoding on for most text. Turn on Keep line breaks if the layout matters.
3

Click Decode HTML

The decoder replaces every entity with the character it stands for, in a fraction of a second.
4

Copy the result

Click Copy and paste the clean text wherever you need it. Hit Clear to start again.

HTML Decoder FAQs

Quick answers about decoding HTML entities and strings.

What does HTML decode mean?

HTML decoding turns character entities back into the characters they represent. For example, &lt;p&gt; becomes <p> and &amp; becomes &. Browsers do this automatically when they render a page, and this tool does the same thing for raw text.

How do I decode HTML entities?

Paste the text into the box above and click Decode HTML. Every named entity (like &quot;) and numeric entity (like &#34;) is converted in one go. It's the quickest way to decode HTML entities without writing code.

How do I do a JavaScript HTML decode?

In the browser, a common approach is new DOMParser().parseFromString(text, 'text/html').documentElement.textContent. It's safe because the parsed document isn't inserted into your page. On Node.js, libraries like 'he' or 'entities' handle it. For one-off text, the online tool is faster.

What's the difference between HTML decode and URL decode?

HTML decoding converts entities like &gt;. URL decoding converts percent-encoded sequences like %2F. If you're trying to decode HTML URL strings that contain both, run URL decode first, then HTML decode.

Is the HTML decoder safe to use?

Yes. Decoding happens in your browser and the output is shown as plain text, so nothing gets executed. Just be careful if you paste the decoded result into a live web page, because real tags like <script> will become active there.

Can I decode a whole HTML page?

You can. Paste the full source and click Decode HTML. Keep in mind that if the source was never encoded, decoding won't change much. It's built for text that has been escaped.

Why do I see &amp;amp; in my text?

That's double encoding. The text was encoded twice, so & became &amp; and then &amp;amp;. Run the decoder twice and it'll come back to a single &.

Is this online HTML decoder free?

Yes. It's a free HTML decoder with no signup, no limits on normal use and no software to install. Some people call it an HTML online decoder, others an entity converter. Either way: paste, click, done.

Text decoded? Tidy the markup too.

Format messy markup with our HTML Beautifier, or escape text for safe use with the HTML Encode tool.

HTML Beautifier

Raheel Jakhura

CEO / Co-Founder

Our goal is to provide online free tools so you don't have to install any software for basic usages. We are trying to add more tools and make these tools free forever.

cookies image
We care about your data and would love to use cookies to improve your experience.