CSV guide
How to Convert Nested JSON to CSV
CSV is a flat table, while JSON can contain objects and arrays at any depth. A useful conversion therefore needs an explicit record array and a policy for nested values.
Convert nested JSONStep by step
- Identify the array that represents rows, such as results.items.
- Enter that dot-separated array path in the converter.
- Enable dot-notation flattening for nested objects such as customer.name.
- Keep nested arrays as JSON when preserving structure matters, then review the generated columns.
Check the result
- Compare the number of exported rows with the length of the selected JSON array.
- Check records where optional nested properties are missing; their cells should be empty without shifting adjacent values.
- Reparse one preserved object or array cell as JSON to confirm that quoting and escaping survived the CSV export.
Common pitfalls
- Flattening can create many sparse columns when object shapes vary widely.
- Joining array values is lossy when items contain commas or nested objects.
- An empty array contains no column evidence, so it produces an empty table.
Try the example on this page
Choose Try sample to load this guide’s synthetic data. Adjust the settings, inspect the result and export it here. You can also choose your own file for local processing.
Rows0
Columns0
EncodingAuto
DelimiterAuto
Issue groups0
Open a data file to start
The parser runs off the main thread. Once loaded, you can search, sort, validate, repair and export without an account.
Original samples: nested-records.json
Privacy boundary
Files selected in the workbench are processed locally. A public URL is requested directly by the browser and must permit cross-origin access. No server proxy is used by the MVP.