Convert HTML entities to/from their character equivalents. Required for escaping special characters in HTML.
HTML entities represent characters that would otherwise be interpreted as markup—for example < for < and & for &. Encoding user content prevents broken HTML and reduces XSS risk when combined with proper contextual escaping.
Decoding entities is useful when scrapers or emails deliver escaped text you want to read as plain characters.
Escaping must match context (HTML body, attribute, JS, URL). Use framework auto-escaping and CSP.
DevToolBox tools are designed to process data in your browser whenever possible. Read our Privacy Policy and About page for details on client-side processing and network lookups.