Encode tool

HTML Entity Encode / Decode

Encode HTML entities or decode escaped HTML text back to readable characters.

Use the tool

Common use cases

  • Encode values for URLs and HTML.
  • Decode copied tokens and payload snippets.
  • Inspect data without switching tools.

Example input

<div class="note">Tom & Jerry</div>

Related tools

FAQ

When should I encode HTML entities?

Encode text before displaying it as literal text inside HTML.

What does decoding do?

It turns sequences like ampersand-lt and ampersand-amp back into readable characters.

Is this a sanitizer?

No. It is an encoder and decoder, not a full security sanitizer.