How to use
Paste your JSON, pick an action, then copy the result.
- Paste JSON into the input box.
- Choose an action (Pretty, Minify, Validate, JSON→CSV, JSON→Query, Escape/Unescape).
- Optionally enable “Lenient parse” to remove comments and trailing commas.
- Click Convert, then Copy Output.
FAQ
Is this JSON converter private?
Yes. Everything runs in your browser and the tool does not send your input anywhere.
What’s the difference between Pretty and Minify?
Pretty adds indentation and line breaks for readability; Minify removes unnecessary whitespace to make JSON smaller.
What does “Lenient parse” do?
It tries to strip comments and trailing commas before parsing. If your input is already valid JSON, you can leave it off.
Can this convert any JSON to CSV?
It supports arrays of objects (one object per row). Nested objects/arrays are JSON-stringified inside cells.
How do Escape and Unescape work?
Escape outputs a JSON string literal (with backslashes) for embedding in code; Unescape reverses that and parses the embedded JSON.
Why am I getting a JSON parse error?
Common causes are trailing commas, comments, or using single quotes. Try enabling Lenient parse (and single-quote fix if applicable).
Does this preserve key order?
JSON objects are unordered by spec, but most engines keep insertion order; formatting uses the parsed object’s iteration order.