Skip to main content
Convert2JSON Tools

JSON Unstringify

Decode a JSON string literal — the kind you find double-escaped in logs and database columns — back into real JSON.

Your data stays on your device

Input — JSON string literal

characters
0
lines
0
size
0 B

Output — JSON

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

  1. Paste the escaped JSON string literal, including its surrounding quotes.
  2. Choose an indentation style for the decoded output.
  3. Press Unstringify to decode and format the embedded JSON.
  4. 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

An escaped literal becomes JSON

InputString

"{\"id\":42,\"name\":\"Ada\"}"

OutputJSON

{
  "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.

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.

Share this toolXLinkedInHacker News