Guide · Developer Tools / Code & DevOps
About JSON String Escape ⇄ Unescape
Escape raw multi-line prompts, HTML snippets, or stack traces into safe double-quoted JSON string literals—or unescape JSON strings back to readable text.
When to use this tool
Saves tedious manual `\n` and `\"` escaping when pasting multiline SQL, HTML, or prompts into JSON config files or Postman bodies.
How to use JSON String Escape ⇄ Unescape
- Paste raw multiline text or an escaped JSON string into Input.
- Pick Escape or Unescape mode.
- Copy the converted string.
Supported inputs, options, and outputs
- Inputs: String text and Escape/Unescape mode.
- Output: Valid escaped JSON string literal or raw unescaped text.
Accuracy notes and limitations
- Unescape mode expects a valid JSON-escaped string (with or without outer surrounding quotes).
Privacy and browser processing
Code snippets, secrets, tokens, keys, and network headers run strictly in browser memory (including Web Crypto SubtleCrypto)—nothing is transmitted to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.