HTML Entities Encoder / Decoder
Escape special HTML characters or decode entities.
<a href="/">Tom & Jerry</a>
How it works
- Paste or type your input.
- Choose an option.
- 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 © are decoded.