HTML Entities Encoder & Decoder

What are HTML Entities?

HTML entities represent special characters in HTML using codes such as &lt; for < or &amp; for &. They prevent browsers from interpreting characters like <div> as real HTML.

When to use HTML escaping

Use HTML escaping when displaying user input, preventing XSS vulnerabilities, or embedding special characters inside HTML documents.

Supported entity types

Related tools

URL Encoder | Base64 Encoder | JSON Validator