JSON Unstringify
Decode a JSON string literal — the kind you find double-escaped in logs and database columns — back into real JSON.
Input
JSON string literal- characters
- 0
- lines
- 0
- size
- 0 B
Options
About this tool
When JSON is stored inside another string, it arrives double-escaped: every quote is prefixed with a backslash and the whole thing is wrapped in quotes. This tool reverses that, decoding the literal and returning the JSON it contained.
The result is parsed and re-indented, so you immediately see whether the embedded content was itself valid JSON. It is the exact inverse of the Stringify tool.
How to use this tool
Paste the escaped JSON string literal, including its surrounding quotes.
Choose an indentation style for the decoded output.
Press Unstringify to decode and format the embedded JSON.
Copy or download the recovered document.
Key features
- Decodes standard JSON string escapes
- Re-indents the recovered JSON for readability
- Clear error when the input is not a JSON string
- Reversible with JSON Stringify
- Everything stays in the browser
Example
Input — String
"{\"id\":42,\"name\":\"Ada\"}"Output — JSON
{
"id": 42,
"name": "Ada"
}Good to know
- The input must be a JSON string literal. If it decodes to a non-string value, the tool reports it.
- If the embedded content is not valid JSON, decoding still returns the text but formatting will flag the problem.
Frequently asked questions
Why is my JSON full of backslashes?
It has been embedded inside another string, which escapes every inner quote. Unstringifying removes one layer of escaping.
What if the input is double-encoded twice?
Run the tool again on the result to peel off each additional layer of escaping.
Is anything uploaded?
No. Decoding happens entirely on your device.
Further reading
JSON escape characters — Eight escape sequences plus \uXXXX. Everything else after a backslash is a syntax error.
Your data stays on your device
Your data is processed locally in your browser and is not uploaded to our server. This page keeps working after you go offline, because there is nothing to send.
Related tools
- JSON StringifyJSON ToolsWrap a JSON document in an escaped string literal ready to embed in code.JSONString
- JSON UnescapeJSON ToolsTurn an escaped JSON string fragment back into plain, readable text.TextText
- JSON FormatterJSON ToolsPretty-print messy JSON with your choice of indentation and optional key sorting.JSONJSON
- JSON ParserJSON ToolsParse JSON, confirm it is valid, and see it as clean indented output.JSONJSON
- JSON ViewerJSON ToolsBrowse JSON as a collapsible tree, search keys and values, and copy JSONPath.JSONTree
- JSON RepairJSON ToolsFix common JSON mistakes — quotes, commas, comments — and get valid output.JSONJSON