Escape text into HTML-safe entities (< & …) or decode entities back to characters. Prevents broken markup and XSS.
Text • HTML entities
Built on internationally recognised SI and standards-body conversion factors for dependable results.
Results update live as you type, with a clear visual breakdown across every unit at once.
Everything runs in your browser — no account, no uploads, nothing leaves your device.
HTML encoding converts characters that have special meaning in markup — &, <, >, quotes — into safe HTML entities such as & and <. This lets you display code or symbols literally on a web page and is a basic defense against cross-site-scripting (XSS) when outputting user-supplied content.
Web developers and content editors use it to paste code samples, fix broken markup, and sanitize text. This tool escapes text into entities and decodes entities back to characters, instantly in your browser.