HTML Entity Escape & Unescape
Turn special characters into HTML entities or decode &name; and &#…; sequences using the browser’s built-in parser. Nothing is uploaded.
Frequently asked questions
No. Entity conversion runs entirely client-side. Nothing is sent to LocalTools servers for processing.
It encodes/decodes entities; combine with your framework’s sanitizer for untrusted HTML policies.
Related guides
- HTML entities: what to escape and whyHow HTML character references work, which characters must be escaped in text and attributes, and why entity encoding is not the same as URL encoding or full XSS protection.
- URL encoding vs form encodingHow percent-encoding works in URLs, when encodeURI differs from encodeURIComponent, and why application/x-www-form-urlencoded treats spaces as plus signs.