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)

Frequently Asked Questions

Which entities get escaped?

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

Last updated: