Skip to content
hateitall

JSON to CSV

Open API data in a spreadsheet: every object becomes a row and every nested field gets its own column.

Processed locallyIn: JSONOut: CSV, TSV

Loading tool…

How to use json to csv

  1. Paste JSON or open a .json file.

  2. If the rows sit inside an object, pick which array to use, such as $.data.

  3. Choose how nested arrays are written and pick a delimiter.

  4. Check the preview table, then copy or download the CSV.

What this tool does

  • Flattens nested objects into dot path columns (address.city, address.postcode).
  • Finds the arrays inside an object and lets you choose which one becomes the rows.
  • Writes arrays as numbered columns, a joined list or JSON text in one cell.
  • Collects every key across all rows, so records with missing fields still line up.
  • Optional byte order mark so Excel shows accented characters correctly.

How the result is verified

The CSV is read back with the tool's own RFC 4180 parser and compared with the intended table cell for cell. Download is only offered when they match.

Frequently asked questions

How are nested objects handled?

Each nested field becomes its own column named by its path, so {"address": {"city": "Leeds"}} gives a column called address.city.

What if my records have different keys?

Every key from every record becomes a column, in the order first seen. Records without a key get an empty cell there.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Turn CSV rows into a JSON array of objects, with types and nesting

CSV · TSV→ JSONLight on device

One sheet per CSV, automatic delimiter detection, and a fresh clean workbook as output.

CSV · TSV→ XLSXLight on device

Collapsible, searchable tree view that stays fast on large files

JSON→ PathLight on device

Format, validate, tree view, schema, diff and CSV in one tabbed workspace

JSON · CSV→ JSONModerate on device