Skip to main content
>_devtools

Parse Stringified JSON

Decode JSON that was stringified or double-encoded into a string, however many times, and pretty-print it.

What this does

Paste JSON that was encoded as a string one or more times to decode it and pretty-print the underlying value. This is useful for logs and APIs that double-encode JSON.

Example

Input:
"{\"user\":{\"id\":7}}"

Decoded JSON:
{
  "user": {
    "id": 7
  }
}

Limits and behavior

  • Each decoded layer must contain valid JSON.
  • The output is limited to a bounded number of decoding levels.