Loading...
Loading...
Encode text to HTML entities or decode HTML entities back to plain text. Supports named, decimal, and hex entities. Free online tool.
Plain TextDrop file here
HTML-Encoded Output
HTML entities represent special characters in HTML. For example, < displays as '<'. They're essential for safely embedding user-generated content in web pages and preventing XSS attacks.
Encoding &, <, >, and " as HTML entities is a key part of XSS prevention but not the complete solution. Always use proper security headers and Content Security Policy alongside encoding.