How this tool works Documentation & SEO
Convert characters that have special meaning in HTML (like <, >, &, ") into their safe 'Entity' equivalents (like <, >, &, "). This is critical for web security to prevent Cross-Site Scripting (XSS) attacks and to display code snippets correctly on a webpage without the browser trying to run them.
Escape text for HTML usage. Convert special characters to HTML entities like & and < to prevent XSS. Web developer tool.
Web Developers preventing XSS
Bloggers posting code tutorials
Content Management System users
Security Researchers
Frequently Asked Questions FAQ
Why do I see & instead of &?
That is an HTML Entity. Browsers interpret '&' as the start of a code sequence. Using '&' tells the browser 'just display the ampersand symbol, don't run code'.
Is this different from URL Encoding?
Yes. URL encoding (percent-encoding like %20) is for addresses. HTML escaping (entities like ) is for page content display.