HTML Entity Encoder / Decoder

Encode special characters as HTML entities (&, <, ©) or decode entities back to text. Instant, private and free.

Result

How to use HTML Entity Encoder / Decoder

  1. Paste text or HTML.
  2. Choose Encode or Decode, and how much to encode.
  3. Copy the result.

Privacy

Runs entirely in your browser. Nothing you enter or open here is uploaded.

Questions

When do I need to encode?

When showing user text inside HTML: at least & < > " ' must be escaped so they aren't read as markup.

Related tools