JSON to CSV

Convert a JSON array of objects into CSV rows.

This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.

Input
JSON array
Output
CSV
Category
Document Tools
Status
Available now
Price
Free — no subscription, no account

How to use JSON to CSV

  1. Paste a JSON array of objects, an array of arrays, or a single object.
  2. Pick a delimiter and choose whether to write a header row.
  3. Check the row and column counts before downloading.
  4. Download the CSV, or copy it from the output box.

Frequently asked questions

How are nested objects handled?

They are written as JSON inside the cell. Flattening would invent column names such as address.city that you did not choose, and would change shape whenever one record had an extra field.

What if records have different keys?

The header is the union of every key, in first-seen order. A record missing a key gets an empty cell.

Why CRLF line endings?

RFC 4180 specifies CRLF, and Excel expects it. Every spreadsheet application accepts it.

Does it work with a single object?

Yes. A lone object is treated as a one-row table.

Related tools