HTML Entity Encoder & Decoder
Encode special characters as named, decimal, or hexadecimal HTML entities and decode them again.
Input
About HTML Entity Encoder & Decoder
Encode text as named or numeric HTML entities, or decode entities back to characters.
Does entity encoding sanitize arbitrary HTML?
No. Escaping is context-dependent. HTML, attributes, JavaScript, and URLs require different protections; do not treat this converter as an HTML sanitizer.