HTML Sanitizer.

Encode characters to HTML entities to prevent XSS (Cross-Site Scripting) attacks.

Unsafe Input
Safe Output 📋 Copy