← Tools/HTML Entity Decoder
Free tool

HTML Decode & Encode Online

Turn HTML entities back into text (&lt;p&gt; caf&eacute; becomes <p> café), or escape text so it shows as text inside HTML. As you type, in your browser.

Text with entities
Decoded
Put your HTML online as a live website
Drop an HTML file or ZIP on droply and get a live HTTPS link in seconds — free to try.
Publish HTML free →

How to use the HTML entity decoder

  1. Choose Decode entities or Encode text.
  2. Paste your text; the result updates as you type.
  3. Copy the result, or swap it into the input to go the other way.

What HTML entities are

HTML entities are codes for characters that would otherwise be read as HTML or are hard to type: &lt; is <, &gt; is >, &amp; is &, &quot; is a double quote, and &eacute; or &#233; is é. Decoding turns them back into the characters; encoding escapes & < > " and ' so text shows as text inside a page instead of being read as tags.

Questions

Which entities can it decode?

All of them: named entities like &hellip; and &rarr;, decimal ones like &#233;, and hex ones like &#x1F44B;. Decoding uses your browser's own HTML parser, which knows the full list.

Is it safe to paste HTML from somewhere else?

Yes. The text is decoded as plain text, so no script or image in it runs or loads, and nothing is sent to a server.

What does 'Also encode accents, symbols and emoji' do?

Every character outside basic ASCII becomes a numeric entity, so café 👋 becomes caf&#233; &#128075;. That's only needed for systems that can't handle UTF-8; for normal web pages, leave it off.

Why is my text still full of &amp;lt;?

It was encoded twice. Decode it, then click Swap and decode again.

Related tools
HTML Formatter
Beautify and indent HTML
Base64 Encoder / Decoder
Encode text or files to Base64
HTML Viewer
See HTML rendered live