HTML Entity Encoder & Decoder Online

Encode and decode HTML entities, including named, decimal, and hexadecimal forms. Quotes and non-ASCII characters are handled. Input is not stored.

Input
Output
Live

How it works

  • A less-than sign encodes to a named entity. Decimal < and hex < both decode back.
  • Decoding runs once, so an already-escaped ampersand entity is not decoded a second time.
  • Results update as you type. Your input is processed over HTTPS and is not stored or logged.
  • Input is limited to 256 KB per request.

Questions?

If you want to ask about HTML Entity Encoder, something is unclear, or you want to suggest an improvement, mail me.