FreeJSON → CSV

JSON to CSV Converter

Turn a JSON array or API response into a CSV table, with nested objects flattened into columns.

Runs in your browser. Files never leave your device.

CSV, TSV, Excel (.xlsx), JSON or XML · several at once · or drop them here

Converted on your device — files are never uploaded.

Quick answer

To convert JSON to CSV, add the .json file, check the table preview (the largest list of objects becomes the rows), keep Flatten nested objects on for columns like address.city, pick a separator and press Convert. Every key found in any object gets its own column. It runs in your browser.

Step-by-Step Guide

How to convert JSON to CSV

1

Add your JSON

Choose one or more .json or JSON Lines files.

2

Check the table

The preview shows the rows found: an array of objects, or the largest list inside the file, like its data or items.

3

Choose flattening and separator

Flatten nested objects into dotted columns, and pick comma, semicolon or pipe.

4

Convert and download

Save the CSV, or a ZIP of several.

Any JSON shape into a flat table

JSON from an API or export is rarely a flat list. Records sit inside a wrapper like {"data": [...]}, objects have nested parts like an address, and not every record has the same fields. The converter finds the largest list of objects in the file and makes each one a row, and every key that appears in any of them becomes a column, so records missing a field simply leave that cell empty.

Nested objects are flattened into dot-path columns such as address.city and address.zip. Lists inside a record, like a list of tags, are kept as JSON text in one cell so nothing is lost. Turn flattening off to keep each top-level field in one column with nested values as JSON text.

A JSON object whose values are all lists of objects, such as the converter's own all-sheets export, gives one table each: one CSV per table in a ZIP. JSON Lines files with one object per line work too.

Last updated

Why Use Ripify JSON to CSV

Finds the records

Arrays at the top level or inside data, items, results and similar.

Flattens nesting

Nested objects become address.city columns.

Differing keys

Every key seen becomes a column; gaps stay empty.

JSON Lines

One object per line works too.

Your separator

Comma, semicolon or pipe, with an optional UTF-8 BOM.

No upload

Converted on your device.

Frequently Asked Questions

JSON to CSV FAQ

How are nested objects handled?▼
With Flatten nested objects on, {"address": {"city": "Paris"}} becomes a column named address.city. Lists inside a record are kept as JSON text in one cell.
What if my objects have different keys?▼
Every key found in any object gets a column, in the order first seen. Objects without that key leave the cell empty.
My records are inside a "data" field. Will that work?▼
Yes. The converter uses the largest list of objects it finds within the first few levels, so wrappers like data, items or results are handled. The preview shows which rows were found.
Can I convert the CSV back to JSON later?▼
Yes. CSV to JSON with Rebuild nested data turned on turns dotted columns back into nested objects and parses the JSON text in cells.

More Free Tools from Ripify