Tool · Text & data
Format, validate and convert JSON
Pretty-print or minify JSON, find the exact position of an error, and convert to and from CSV. Whatever you paste stays on this page.
- Your data goes to
- Works offline
- Yes, once it has loaded
- Account
- None, and it is free
- Handles
- JSON and CSV, pasted or dropped as a file
How to format, validate and convert JSON
-
01Paste or drop your JSON
It is checked as you paste, and an error is reported at its exact line and column.
-
02Format, minify or convert
Indent with two spaces, four or tabs, sort the keys, or switch to JSON to CSV and back.
-
03Copy or download the result
Or send the output back to the input and keep going.
Questions about JSON Studio
How do I find the error in my JSON?
Paste it in. If it does not parse, the exact line and column of the first error are shown.
Can it convert JSON to CSV?
Yes. Switch the mode to JSON → CSV for a table you can open in a spreadsheet, or CSV → JSON for the other way round.
Is it safe to paste API responses or config files?
Yes. The browser blocks this page from making any network request, so tokens, keys and customer data in what you paste stay on your device.
Can it sort object keys?
Yes. Tick Sort object keys and every object is written with its keys in alphabetical order, which makes two files easier to compare.