Back to tools

Unstringify JSON

Decode a stringified JSON blob and pretty-print the underlying document. Good for webhook payloads, log lines, and double-encoded JSON. Runs in your browser.

0 chars
0 chars

How It Works

  1. 1

    Paste stringified JSON

    Including the outer quotes. The whole `"…"` blob.

  2. 2

    Parses and re-formats

    Outer string is unwrapped, inner JSON is parsed and pretty-printed.

  3. 3

    Copy clean JSON

    Use the formatted result in fixtures, docs, or mocks.

Use Cases

  • Decode webhook payloads

    Many webhook providers send the body as a stringified JSON field. Unwrap it to read.

  • Read DB text columns

    Decode JSON stored in a `text` column instead of a native JSON type.

  • Inspect error tracker events

    Sentry, Bugsnag, and Datadog often store payloads as stringified JSON. Unwrap to inspect.

  • Recover from double-encoding

    Fix accidentally double-encoded JSON in API responses.

Frequently Asked Questions

It takes a JSON-encoded *string*. A quoted blob with all the inner quotes escaped, like `"{\"a\":1}"`. And returns the underlying JSON document, pretty-printed.
Whenever JSON is embedded as a value inside another JSON document. Common in webhook payloads, database `text` columns, log lines that capture API responses, error tracking events, and any system that double-encodes by mistake.
`JSON.parse` once turns the outer string into the inner string. This tool calls it twice. First to remove the outer quoting, then to re-parse and pretty-print the inner JSON. The output is human-readable JSON, not a raw string.
You will see an error: 'Input is not a JSON-encoded string.' Use a regular JSON formatter for that case.
No. Parsing happens entirely in your browser.
Yes. The output is valid, formatted JSON. Copy or download for use in tests, mocks, or documentation.

Done generating test data? Now automate the tests.

Bug0's expert AI agents write end-to-end tests from plain English, auto-heal them when your UI changes, and run them on every deploy. A forward-deployed engineer verifies every result.

From $2,500/mo. Results in 7 days.

Go on vacation. Bug0 never sleeps. - Your AI QA engineer runs 24/7

Go on vacation.
Bug0 never sleeps.

Your AI QA engineer runs 24/7 — on every commit, every deploy, every schedule. Full coverage while you're off the grid.