HTML Special Characters Escape
Safely encodes &, <, >, ", and ' to &, <, >, ", and '.
Escape HTML special characters to prevent XSS injection, or decode HTML entities back into clean readable text.
Escape and unescape HTML special characters online. Converts &, <, >, ", and ' to standard HTML entities and decodes entities back.
Safely encodes &, <, >, ", and ' to &, <, >, ", and '.
Decodes both named HTML entities (like ©, ™) and numeric entities (©).
Quickly prepare user-supplied content for safe insertion into HTML strings.
Switch between Encode (escape) and Decode (unescape) modes with a single click.
Characters like < and > indicate HTML tags to web browsers. If user input contains these characters without escaping, it can break page layout or cause Cross-Site Scripting (XSS) vulnerabilities.
The five core special characters are & (ampersand), < (less than), > (greater than), " (double quote), and ' (single quote).
Yes! It handles all standard HTML character entity references such as ©, ®, €, and ♥.
Yes, all entity transformations are processed locally in your browser.