Advertisement

HTML Escape & Unescape

Convert special characters to their corresponding HTML entities (or vice versa).

Advertisement

About HTML Escaping

Escaping HTML means converting special characters like <, >, &, and " into their corresponding HTML entities (e.g., &lt;). This prevents web browsers from interpreting these characters as markup code, making it safe to display code snippets or user-submitted text on your website without triggering XSS (Cross-Site Scripting) attacks.