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

  1. Paste your text or HTML code.
  2. Click Encode to turn < > & and quotes into safe entities, or Decode to turn entities back into characters.
  3. 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 (&copy;), decimal (&#169;) and hex (&#xA9;) entities back to normal text.