HTML Entity Encoder and Decoder
Convert <, >, &, quotes, and accented characters to HTML entities (<, á) and back again.
Processed on your device. Nothing you type is sent anywhere.
How to use: HTML Entity Encoder and Decoder
- Choose Encode to escape text or Decode to convert it back to normal.
- Choose whether to convert only reserved characters or accented characters too.
- Copy the result.
About this tool
Escaping reserved characters (&, <, >, and quotes) lets you display HTML code as text on a web page—and helps defend against script injection (XSS) when a system displays user-entered content.
With UTF-8, accented characters don’t need to be converted to entities. Accent modes are available for legacy systems and emails that use older encodings.
Frequently asked questions
Do I need to convert accented characters to entities?
No, not if your page uses UTF-8, the current standard. Convert only &, <, >, and quotes. Accent entities are only needed for older systems.
What’s the difference between á and á?
Both represent "á". The first is a named entity; the second is the character’s numeric Unicode code.
Is it really free? Is there a daily limit?
It's free with no daily limits. Processing happens on your device, so there's no per-use cost and no need to limit you.
Does it work on phones?
Yes. The site works in any modern browser on Android, iPhone, Windows, Mac, and Linux—no installation needed.





