HTML Entity Encoder

Encode and decode HTML entities.

Runs on this device
0 chars

Encoded output

Paste text to encode it

What encoding protects

  • Encoding <, >, & and quotes stops text from being read as markup.
  • It covers HTML text and quoted attribute values only.
  • Text placed in scripts, styles or URLs needs different escaping to prevent XSS.