Encode and decode special HTML entities.
The HTML Entity Encoder/Decoder converts special characters to and from their HTML entity equivalents. Characters like <, >, &, and " have special meaning in HTML and must be escaped as <, >, &, and " when they appear as content rather than markup. Failure to encode user-provided content before inserting it into HTML is the most common cause of Cross-Site Scripting (XSS) vulnerabilities. The decoder converts entity-encoded text back to readable form.
Cross-Site Scripting (XSS) occurs when user-provided input containing