HTML Entity Encoder / Decoder

Escape text so it displays safely inside HTML, or turn entities like & back into readable characters.

Runs in your browser — nothing is uploaded
Mode

How to use HTML Entity Encoder / Decoder

  1. Choose Encode or Decode.
  2. Paste your text or HTML.
  3. Copy the result.

Questions

Which characters are encoded?

Always & < > " and '. Tick “Encode all non-ASCII” to also convert characters like é or € to numeric entities, for systems that only handle ASCII.