HTML Entity Encoder / Decoder
Encode or decode HTML entities — < > & and numeric references like 😀.
How to Use
- Paste raw text on the left to get HTML-safe output.
- Or paste HTML-escaped text on the right to decode.
Raw text
Encoded
Common entities
<
< (less than)
>
> (greater than)
&
&
"
"
❤
❤ (hex numeric)
❤
❤ (decimal numeric)
Frequently Asked Questions
Which entities get escaped?
Basic: < > & " '. Extended mode escapes every non-ASCII character to numeric entities.
Last updated: