JSON to CSV converter
Convert JSON to CSV for your spreadsheet
To convert JSON to CSV, drag the .json file, hold Shift and drop it on the CSV bubble: a spreadsheet-friendly .csv is written next to it. The data is converted locally, so an export of user accounts, orders or analytics never goes to a third party.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.
How to convert JSON to CSV
- 1
Drag the file
Drag orders-export.json from Finder, File Explorer or your desktop.
- 2
Hold Shift
Keep dragging and hold Shift. The Uncle pops up next to your cursor with the formats that fit your file.
- 3
Drop it on CSV
Drop the file on the CSV bubble. orders-export.csv appears next to the original.
Got a lot of them? Select several files and drag them together. Prefer clicking? Open the Feed Window from the menu-bar or tray icon and drop the files there.
Why turn JSON into CSV?
APIs, apps and developer tools hand out data as JSON. That is great for programs and miserable to read by eye. As CSV, the same records open as rows in Excel, Numbers, Google Sheets or LibreOffice, where you can sort, filter and make a chart.
It is also how non-developers get a look at data: a product manager checking an export, an accountant reconciling orders, a researcher reviewing survey responses.
| JSON | CSV | |
|---|---|---|
| Structure | Objects inside arrays inside objects, as deep as needed | One flat table |
| Popularised by | Douglas Crockford in the early 2000s | Spreadsheets and databases, long before any standard |
| Field names | Repeated in every record | Written once, in the header row |
| Opens in a spreadsheet | Not directly in most | Yes, everywhere |
Good to know
- CSV is flat. JSON with nested objects or lists inside records does not map cleanly onto rows and columns, so check how nested parts came out.
- JSON works best here when it is a list of similar records, such as an array of orders that share the same fields.
- CSV has no types: true, false, null and numbers all become plain text in cells.
- Records with different fields leave gaps. A field that appears in only some records gives a column that is empty for the rest.
On your computer
Windows
Excel can import JSON through Power Query (Data, Get Data, From File, From JSON), which takes a few steps. A CSV opens with a double-click.
Linux
jq can produce CSV with its @csv filter, if you are comfortable writing a jq expression. For a quick look at an export, dropping the file is simpler.
Everything happens on your computer: the file is never uploaded. See the first-launch guide for macOS and Windows.
JSON to CSV: questions
What happens to nested objects when JSON becomes CSV?
A CSV cell holds one value, so nested objects and arrays have no natural place in a flat table. Open the CSV and check those columns before relying on them.
What kind of JSON converts best to CSV?
An array of flat objects that share the same keys, like a list of orders or users. Each object becomes a row and each key a column.
Why does Excel show my long IDs as 1.23E+15?
Excel treats long digit strings as numbers when it opens a CSV and shortens them to scientific notation. Import the column as text in Excel to keep the full ID.
Can I turn the JSON into an Excel file instead?
Yes, JSON can also be dropped on XLSX if you want a real workbook rather than a CSV.
Related conversions
Stop uploading. Start dragging.
30 conversions, 100% on your computer. Mac, Windows and Linux.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.