HTML Entities Encoder & Decoder
What are HTML Entities?
HTML entities represent special characters in HTML using codes such as < for < or & 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
- Named entities (<, >, &)
- Decimal numeric entities (<)
- Hexadecimal numeric entities (<)