HTML Entities Encoder / Decoder

Escape special HTML characters or decode entities.

<a href="/">Tom & Jerry</a>

How it works

  1. Paste or type your input.
  2. Choose an option.
  3. Copy the result.

FAQ

Why escape HTML?

To show code as text and prevent it being interpreted by the browser, which helps avoid XSS.

Which characters are escaped?

&, <, >, double quote and single quote.

Can it decode numeric entities?

Yes, decimal entities like &#169; are decoded.