Skip to content
toolsdocks

Convert JSON to CSV

Turn an array of JSON objects into a CSV table for Excel or Google Sheets. This page opens the converter with CSV output and nested values flattened into columns.

Runs on your device

More options in the full CSV, Excel and JSON converter.

Loading tool…

How to convert JSON to CSV

  1. Choose a .json or .jsonl file, or several.
  2. Keep Output format on CSV; choose a delimiter and the BOM option if needed.
  3. Select Convert.
  4. Download the CSV, or all files as a ZIP.

Worked example

The JSON [{"name":"Ann","address":{"city":"Oslo"}}] becomes a CSV with the header name,address.city and the row Ann,Oslo.

Formats and limits

InputJSON, JSON Lines
OutputCSV
LimitsUp to 100 MB.
EngineSheetJS Community Edition + Papa Parse; dot-path flattening for nested JSON

Limitations

  • Each JSON object becomes one row; deeply varied objects give many sparse columns.
  • Invalid JSON stops the conversion with the line number of the error.
  • Up to 100 MB per file.

Questions

How are nested objects converted?

Each nested value gets a column named by its path, so an address object with a city becomes an address.city column. Arrays become numbered columns such as tags.0.

How do I keep accents correct when Excel opens the CSV?

Tick Add UTF-8 BOM before converting; the byte-order mark tells Excel the file is UTF-8.

Can I turn the CSV back into nested JSON?

Yes. The CSV to JSON page rebuilds nested objects from the dot-path column names.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the CSV, Excel and JSON converter ready for this task. See the privacy policy for how toolsdocks handles data.