JSON Unstringify
Unstringify JSON online: turn an escaped JSON string back into readable, formatted JSON, and find out how many times it was encoded.
About this result
What It Does
This tool reverses a stringify: it takes a JSON document that has been encoded as a string — all those backslashed quotes — and gives you the document back, formatted. It accepts the string with or without its surrounding quotes. If the payload was stringified more than once, which happens whenever a system logs a value that was already a string, the notes say how many layers deep it is so you can keep unwrapping.
When to Use It
- A CloudWatch, Datadog or Kibana log line shows a request body as one long escaped string.
- A message queue delivers the payload as a string field and you need to inspect it.
- A database column stores JSON as an escaped string and you want to read a row.
- A teammate pasted an escaped payload into chat and you need the real structure.
Worked Examples
{\"id\":7,\"tags\":[\"a\",\"b\"]}
A string body without surrounding quotes — accepted as is, and formatted as an object with an id and a tags array.
"\"{\\\"id\\\":7}\""
Stringified twice. One layer comes off and the notes warn there is another — press Use as input to remove it.
"Hello\nWorld"
Valid escaped text but not JSON inside, so you get the plain text back with a real line break.
Features
How to Use
1. Paste your input into the top box. 2. Adjust the options if the page has any — the result updates as you type. 3. Read the notes under the result, then copy it.
Common Mistakes
- Editing the result by hand and breaking the escaping. If you need to change the content, change the input and run it again — a single stray backslash makes the whole value invalid.
- Assuming the browser preserved Windows line endings. A pasted CRLF becomes LF in any text box, so a byte-exact comparison with the original file can still differ.
- Trusting that two documents are equal because they look equal. Key order, whitespace and number formatting differ between serializers; compare parsed values, not text.
Frequently Asked Questions
Related Tools
Everything runs in your browser. Your JSON is never uploaded, logged or stored.