Choose a direction
Escape makes markup safe to display as text. Unescape restores named or decimal entities to their original characters.
Try different keywords
No results found
Convert between source markup and HTML entities in real time, with essential options in one toolbar and a click-to-insert entity reference below.
Escape makes markup safe to display as text. Unescape restores named or decimal entities to their original characters.
Paste text or import an HTML, XML, SVG, or TXT file. Live conversion is enabled by default.
Copy the result or download it as a text file. Processing never leaves the current browser.
Browsers read angle brackets as tags and ampersands as entities. To show a markup tag literally in an article, documentation page, or code sample, it must be encoded or the browser may interpret it as page structure.
Escaping is also part of safely displaying user-generated content, but rules differ by context. This tool focuses on entities used in HTML text and common attributes; it is not a substitute for complete validation and XSS protection.
Search and click any row to insert its character into the input above. The SEO reference table doubles as an input shortcut.
No matching entities
No. HTML escaping replaces markup-significant characters with entities. URL encoding replaces reserved URL characters with percent-encoded bytes.
Inside an HTML attribute, the quote matching the attribute delimiter must be escaped. Essential mode handles both kinds of quotes so the result is safer to paste across common contexts.
A named entity is generally easier to read, while a numeric entity directly references a Unicode code point. Browsers render the same character; numeric entities cover characters without a common name.
No. Output encoding must match its precise HTML, attribute, URL, or JavaScript context and should be combined with trusted templates and a content security policy.
No. The page does not call a server or use local storage for input or history.