JSONora · Free online tool
JSON Escape / Unescape
Escape text into a JSON string literal for code, logs and payloads — or unescape a JSON string back into readable text. All in your browser.
Input JSON
Output
Your JSON is converted locally in your browser. Nothing is uploaded.
Advertisement
When do you escape JSON?
- Embedding JSON in code — paste a payload into a JavaScript or Python string.
- Logging — keep newlines and quotes on one line.
- Debugging APIs — turn an escaped
\"…\"blob back into readable JSON, then format it.
How it works
Escape wraps your text with JSON.stringify semantics: quotes, backslashes, newlines and control characters become \", \\, \n and \t. Unescape reverses a quoted JSON string literal back to raw text.
Advertisement