HTML Entity Encoder & Decoder

Encode special characters as HTML entities — or decode them back.

  • No upload
  • Browser-based
  • Free
  • No signup
  • Text

Runs in your browser. Your text never leaves your device.

What to try next

Frequently asked questions

Which characters get encoded?
By default: &, <, >, \", and '. You can also encode all non-ASCII characters (Unicode) as numeric entities like &#233;
Is my text sent anywhere?
No. Everything runs in your browser — nothing is sent to a server.
Does decode handle named entities?
Yes — decoding uses the browser's built-in HTML parser, so all standard named entities (&amp;, &nbsp;, &copy;, &euro;, …) are supported.