JSON Unescaper
Convert escaped code string literals (with backslashes and inline newlines) back into standard, formatted JSON.
100% Client-Side (No data leaves your device)
Escaped String Input
0 chars
1
Parsed Pretty JSON Output
1
Unescaped parsed JSON will appear here...
User Guide: JSON Unescaping
What is JSON Unescaping?
Unescaping takes a stringified code block where quotes and structural layout are escaped using backslashes (e.g. \" and \n) and decodes it back to raw text. The tool then automatically parses that raw string as a JSON object, pretty-printing and highlighting it for clean review.
Typical Use Cases
- API Log Debugging: Database entry rows and monitoring log outputs (like Datadog or CloudWatch) frequently store payloads as escaped string values.
- Nested JSON payloads: Decodes secondary objects that were stringified before transmission inside a parent JSON body.
How to Decode Escaped JSON
- Paste string: Insert your escaped logs or string literal block.
- Run decoder: Click Unescape JSON. The tool automatically removes prefix/suffix quote wrappers, strips backslashes, parses, and pretty-prints the output.
- Format & Export: Copy the formatted structure or export it as a
.jsonfile.
Before & After Example
Escaped Input:
"{\n \"role\": \"Moderator\"\n}"
Unescaped Output:
{
"role": "Moderator"
}
