๐ฃ HTML Entities Encoder/Decoder
Encode special chars to HTML entities + decode back. Quick reference for 37 common entities.
๐ Common Entities Reference
๐ When to Use HTML Entities
- ๐ก๏ธ XSS prevention: Escape user input before rendering as HTML
- ๐ Special chars: Display reserved chars (<, >, &) as text
- ๐ Unicode: Display chars not in current charset
- ๐ Email templates: Ensure rendering across email clients
- ๐ก In modern HTML5 (UTF-8), most special chars work directly. Use entities only for
< > & "