Paste JSON or open a .json file and get a table. Nested objects are flattened into columns such as address.city. Records with different keys are lined up under the union of all keys. Arrays of arrays and JSON Lines work as well.
JSON to CSV tool
Your file stays in this browser tab. It is not uploaded by SheetShift.
JSON file
Drag a file here, or
How to use the JSON to CSV
Paste JSON into the box or choose a .json file.
Keep flattening on to turn nested objects into columns. Turn it off to keep nested values as JSON text in one cell.
Choose how arrays are handled, then press Convert.
Download the CSV. It opens in Excel and Google Sheets.
Example: input and output
This example was produced by the same code the tool runs with default settings. You can download the sample file(s): users.json.
CSV Viewer Open a CSV file or paste CSV text and browse it as a table.
CSV Cleaner Clean a CSV in your browser: trim spaces, collapse repeated whitespace, fix non-breaking spaces and curly quotes, change case and drop blank rows.