JSON to CSV

Convert JSON data to CSV format for spreadsheets.

Runs on this device
JSON input
Output
CSV output appears here

How JSON maps to columns

  • Each item of a top-level array becomes a row.
  • Flatten object turns nested objects into columns such as user.name.
  • Arrays are written as JSON text, and null becomes an empty cell.

Spreadsheet safety and limits

  • Keep Escape formulas on for untrusted data: it adds an apostrophe to text starting with =, +, - or @ so spreadsheets do not run it.
  • Excel BOM helps Excel show accented characters correctly.
  • Very large files are limited by your device's memory.

How is JSON turned into CSV rows?

JSON to CSV Converter turns each array item from pasted JSON or a .json file into a row, with columns from every key. A single object becomes one row. It runs in your browser.

What happens to arrays, nulls and large numbers?

Arrays become JSON text in one cell, null becomes an empty cell, and numbers keep their exact input digits, so the converter does not round long IDs.

What does Escape Formulas protect against?

On by default, it adds an apostrophe before text starting with =, +, - or @ so spreadsheets do not run it. Plain numbers are unchanged.