←
Data

JSON to CSV

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Convert JSON arrays to CSV

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Opens
JSONJSONLNDJSON
Saves as
CSVTSV
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Batch processing
One file at a time
Offline use
Works without a connection once this page has loaded
Built with
Papa Parse
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About JSON to CSV

JSON to CSV turns a JSON array of objects into a CSV table with one row per object and one column per property. Nested objects are flattened into dotted column names such as address.city, and the columns from all records are merged, so objects with missing or extra fields still line up. A preview table shows the first 20 rows so you can check the result before you download it.

If the JSON is an API response like {"data": [...]}, the first array of objects inside it is used automatically, and JSON Lines input with one object per line also works. Arrays inside records can be joined into one cell, kept as JSON text or spread into numbered columns. Choose a comma, semicolon, tab or pipe delimiter and add a UTF-8 BOM so Excel shows accented letters correctly. Everything runs locally in your browser.

JSON to CSV runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use JSON to CSV

  1. Paste JSON into the Input box, or drop a .json or .jsonl file onto the page.
  2. Pick the Delimiter and decide whether to flatten nested objects and how to write arrays.
  3. Check the Preview table and the row and column counts.
  4. Click Copy or Download; turn on Add BOM for Excel before downloading if the file will be opened in Excel.

Frequently asked questions

How are nested objects converted?

With Flatten nested objects on, every nested property becomes its own column named by its path, for example {"address":{"city":"Paris"}} becomes a column address.city. With it off, the nested object is written into a single cell as JSON text.

What happens to arrays?

Join values puts simple arrays like ["a","b"] into one cell as a; b. Keep as JSON writes the array as JSON text, which is reversible. Separate columns creates columns such as tags.0 and tags.1, which suits short arrays of fixed length.

Why do accents look wrong when I open the CSV in Excel?

Excel on Windows assumes a legacy code page for CSV files unless the file starts with a byte order mark. Turn on Add BOM for Excel and download again, and characters such as é, ü, ž or Chinese text will display correctly.

Which delimiter should I use?

Use a comma for most tools and for English-language Excel. Excel in countries that use a decimal comma, such as Germany or France, expects semicolons. Tab-separated output (.tsv) avoids quoting problems when values often contain commas.

How are commas, quotes and line breaks inside values handled?

Values that contain the delimiter, double quotes or line breaks are wrapped in double quotes, and inner quotes are doubled, following RFC 4180. Spreadsheet programs read such fields back as a single cell.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it