Convert between plain text and HTML entities with security analysis
HTML entities are special character sequences that represent reserved or special characters in HTML. They start with an ampersand (&) and end with a semicolon (;).
Critical: Always encode user input before displaying in HTML to prevent XSS attacks. Characters like <, >, ", ', and & must be encoded.
Warning: Be careful when decoding entities from untrusted sources, as malicious actors may use entity encoding to obfuscate XSS payloads.