Unstringify JSON
Convert a JSON string back into JavaScript data. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
0 chars · 0 lines
Output
Convert a JSON string back into JavaScript data.
Type or paste above to see the result here.
What you paste never leaves this tab
Unstringify JSON is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, an API response with live access tokens in it is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.
- No upload
- No length limit
- Works offline once loaded
- Nothing stored or logged
How to use Unstringify JSON
- 1. Paste the JSON string literal. Paste the quoted, escaped string you received, the kind that starts and ends with a double quote and has backslash-escaped characters inside it. The tool treats it as a JSON string value to unwrap.
- 2. See the unwrapped data. The tool parses the outer string, then reverses every escape sequence inside it, revealing the JSON object or array that was hiding inside the string as normal, readable JSON.
- 3. Copy the recovered JSON. Copy the unwrapped JSON and paste it wherever you need the actual structured data, such as an editor, a request body or a fixture file, instead of the escaped string form.
When to use Unstringify JSON
Unstringify JSON reverses what JSON.stringify does, turning a quoted, escaped JSON string back into the object or array it represents. It is for any time JSON arrived nested inside another string layer and you need the real structure underneath, not just the escaped text.
- Reading a log message field. A log entry has a message field that itself contains a stringified JSON payload with escaped quotes everywhere. Unstringifying it turns that field back into readable, nested JSON you can inspect.
- Unwrapping a double-encoded API response. An endpoint accidentally serialized its response twice, so the body you received is a JSON string rather than a JSON object. Unstringifying it once recovers the actual data.
- Pulling config out of a database column. A text column in your database stores JSON as an escaped string instead of a native JSON type. Pasting the column value here converts it back to structured JSON you can edit.
- Debugging a test fixture. A unit test failure shows an escaped JSON string in the assertion output and you need to read it as real JSON to understand what actually differed.
Examples
Unstringify a JSON string literal
Input
"{\"name\": \"Ada\", \"age\": 36}"Output
{
"name": "Ada",
"age": 36
}About the Unstringify JSON tool
Unstringify JSON does its work locally, right in the browser. Convert a JSON string back into JavaScript data. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the JSON Tools collection on EditSafely, a set of 90 small, focused JSON utilities that share the same instant, private workspace.
You can shape the output with the Prettify the result when it is JSON setting, and the result refreshes the moment you change it. A worked example further down the page shows exactly what the tool produces for a real input.
Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Does Unstringify JSON cost anything?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
How much text can I process at once?
There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.