Quickly escape or unescape strings for HTML, JSON, XML, JavaScript, and more. Sanitize data for web use or restore encoded strings to their original format with 100% browser-side privacy.
{} Launch Escape Tool โ โก Multi-Language โข ๐ 100% Private โข ๐ Instant ProcessingSafely escape special characters like <, >, and & for HTML display, or unescape them back to raw markup.
Processing is done entirely in your browser. Your strings never touch a server, ensuring secrets and code remain private.
One-stop shop for JSON, XML, JavaScript string literals, CSV, and URL percentage-encoding.
Handle massive strings instantly. Clean up log files, API responses, or source code with zero latency.
Paste the raw text or the encoded string into the input area.
Choose the target language (HTML, JSON, etc.) and toggle between Escape or Unescape.
Instantly copy the resulting string to your clipboard for use in your code or documentation.
Convert raw text into safe HTML entities to prevent XSS and ensure proper browser rendering.
Escape quote marks and special characters in JSON or CSV data before sending it to a database or API.
Quickly unescape log entries or console outputs that are cluttered with escape sequences to make them readable.
We value developer privacy. Our Escape/Unescape tool runs purely in your browser's RAM; no strings are logged or saved.
Escaping is the process of converting special characters into a format that won't be misinterpreted by a computer language (like converting " to \" in JSON).
Unescaping restores the human-readable version of a string, which is essential for debugging logs or reading API responses that use escape sequences.
We support HTML, XML, JSON, JavaScript, Java, URL, and CSV formatting rules.