Convert JSON to CSV

Turn a JSON array into a spreadsheet-ready CSV. Nested keys flattened. Nothing uploaded.

Drop files here or

The two problems JSON to CSV actually has

Converting flat JSON to CSV is trivial, which is why every tool claims to do it. The problems are nesting and raggedness. Real API responses contain objects inside objects, arrays of varying length, and rows that simply lack some keys. Those three cases are where most converters produce columns shifted by one, or crash.

This tool flattens nested objects into dotted column names, joins primitive arrays with a separator, and builds the header from the union of all keys across all rows, so missing values become empty cells rather than shifting the row.

Conversion behaviour

How the awkward cases are resolved.

Conversion behaviourBehaviourNotes
Nested objectsDotted column namesA nested key like user.name becomes a column literally named user.name. Depth is unlimited.
ArraysJoined with a separatorPrimitive arrays join into one cell. Arrays of objects are flattened with an index.
Missing keysEmpty cellThe header is the union of all keys, so an absent key leaves a gap instead of shifting the row right.
QuotingRFC 4180Values containing commas, quotes or newlines are quoted, so Excel does not split them.
EncodingUTF-8 with BOM optionExcel needs the BOM to display non-ASCII characters correctly on Windows.
InputArray of objects requiredA single object or a nested root is not a table. Wrap it in an array first.

Common mistakes

Questions

Is my JSON uploaded?

No. Conversion happens locally in the browser tab.

Does it handle nested objects?

Yes, they are flattened into dotted column names such as `address.city`.

What happens to arrays?

Primitive arrays are joined into one cell. Arrays of objects are flattened with indices.

Why is my first column showing weird characters in Excel?

Excel needs a UTF-8 BOM. Enable the BOM option when downloading.

Can it handle a large JSON file?

Yes, limited by browser memory rather than the tool.

Does it validate JSON first?

Yes, invalid JSON reports the parse error instead of producing a broken CSV.

Can I convert CSV back to JSON?

Yes, there is a CSV to JSON tool on this site.

Are column types preserved?

No. CSV is text only, so everything becomes a string once it is in the file.

Need this without a browser tab?

FileKit Desktop runs every conversion locally as a single offline file — no 10-file limit, batch conversion, and no network connection required. One-time $19, no subscription.

See FileKit Desktop — $19

Other converters