HTML Entity Encoder / Decoder
Escape and unescape HTML special characters. Free, no sign-up, your text stays on your device.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to use the HTML entity encoder
- Paste your text or HTML code.
- Click Encode to turn < > & and quotes into safe entities, or Decode to turn entities back into characters.
- Copy the result.
Encoding is needed when you want to show HTML code on a web page, put text into an attribute, or paste content into a CMS that would otherwise break it. Decoding converts named (©), decimal (©) and hex (©) entities back to normal text.