HTML Entity Encoder / Decoder

Encode or decode HTML entities — < > & and numeric references like 😀.

Encoder Text & Encoding Updated Apr 19, 2026
How to Use
  1. Paste raw text on the left to get HTML-safe output.
  2. Or paste HTML-escaped text on the right to decode.
Raw text
Encoded

Common entities

<
< (less than)
&gt;
> (greater than)
&amp;
&
&quot;
"
&#x2764;
❤ (hex numeric)
&#10084;
❤ (decimal numeric)

About the HTML Entity Encoder / Decoder

Meet the HTML Entity Encoder / Decoder: a free, no-fuss tool for text, encoding and string work with nothing to install and no sign-up. Encode or decode HTML entities — < > & and numeric references like 😀.

How it works

Paste your text and it turns into the new form right away. This makes text safe to send or store. But it is not a secret code — anyone can turn it back, so do not use it to hide passwords. Everything happens in your browser, so nothing you type is sent away.

Want the deeper story? The Knowledge Base explains the ideas behind the tools in more detail.

Frequently Asked Questions

Which entities get escaped?

Basic: < > & " '. Extended mode escapes every non-ASCII character to numeric entities.

How do I use the HTML Entity Encoder / Decoder?

Simply type or paste your value and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Learn while you do it

Seeing what you put in and what comes out helps you understand how they fit together.

Get an answer fast

Type what you have and get the answer in seconds — on a phone, tablet, or computer.

Try different numbers

Change one thing and watch the answer change. It is an easy way to compare your choices.

No data leaves your browser

The tool runs locally, so whatever you enter stays with you and only you.

Last updated: