Escape JSON strings for embedding in other JSON or unescape escaped JSON strings. Auto-detection and special character handling.
- Escape quotes, backslashes, newlines for safe JSON embedding
- Unescape already-escaped JSON strings to plain text
- Handles Unicode and control characters correctly
- Bidirectional; paste either form and convert
- Useful for configs, env vars, or nested JSON
When you need a JSON string inside another JSON value or in a config file, escaping by hand is error-prone. This does it correctly every time.
Try JSON Escape/Unescape at Spoold →
Spoold is a free developer toolbox that detects what you paste and opens the right tool.
- No sign-up – Use every tool without an account.
- Runs in your browser – Your data stays on your device; we don’t store or log your input.
- Paste and go – Paste JSON, HTML, JWT, curl, Base64, or any text on the homepage and Spoold suggests the right tool.
- One place for many tools – JSON formatter, JWT decoder, Base64, UUID generator, regex tester, curl-to-code, and more.