Escape / Unescape
Escape or unescape strings for JSON, JavaScript, HTML attribute, XML, and SQL contexts.
Escape for use inside a "JSON string"
Output
🔒 Runs entirely in your browser.
You might also like
- Python String Escape / UnescapeEscape arbitrary text to a Python string literal — \x, \u, \U, octal — or decode one back to raw text.
- SQL Escape / UnescapeSafely quote string literals for ANSI, MySQL, or PostgreSQL — and reverse it.
- AES Encrypt / DecryptEncrypt or decrypt text with AES-GCM, deriving a key from a passphrase via PBKDF2 — all in your browser.
- Base64 Encoder / DecoderEncode or decode Base64 strings instantly.