Convert String to JSON
Unescape a JSON string literal back into readable, valid JSON — the form you need when you've pulled an
escaped payload out of a log line, a .env file, a database column, or an API response
that returns JSON-as-a-string instead of a real JSON body. Paste the escaped string below and get back
properly formatted JSON.
Need the reverse? Convert JSON to String. Want both directions in one place? Use the combined tool.
Example
Input — escaped string:
{\"name\":\"Alice\",\"role\":\"admin\"}
Output — parsed JSON:
{
"name": "Alice",
"role": "admin"
}FAQ
What if my string isn't valid JSON?
The tool shows the exact parse error, including line and column, instead of failing silently. Common causes are missing quotes around keys, trailing commas, or pasting content that's already been escaped twice — try switching to JSON → String mode to check the raw shape first.
Does this work with escaped Unicode (\uXXXX)?
Yes. \uXXXX sequences are decoded back to their actual characters during parsing, and you can choose whether the formatted JSON output re-escapes non-ASCII characters or leaves them as raw UTF-8.
Can I convert a JSON file, not just pasted text?
There's no file upload — everything runs locally in your browser, so open the file in any text editor, copy its contents, and paste them into the input.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser (compiled to WebAssembly) — nothing is sent to a server.