JSON to CSV Converter

Convert a JSON array into a clean CSV file — in your browser, with a full preview before you download. Nested objects are flattened with dot notation and no value is silently dropped.

1. Add your JSON

Drop a .json file here
or browse — the file is read locally, never uploaded.

2. Options

How to convert JSON to CSV

How nested JSON is handled

Nested objects are flattened using dot notation, so {"user":{"name":"Ana"}} becomes a column named user.name. Arrays found inside an object are written as compact JSON text in their cell, so the data is preserved rather than discarded. When objects in the array have different fields, the CSV uses the union of all fields and leaves missing values empty. A JSON array of arrays becomes column_1, column_2, …, and an array of plain values becomes a single value column.

Limits

Processing runs in your browser, so very large files are limited by your device's memory. Files up to roughly 20–30 MB of JSON convert comfortably on a typical laptop; if a conversion fails, split the file and convert the parts. Nothing is uploaded, so there is no server limit.

Frequently asked questions

Is my JSON uploaded to a server?
No. The conversion runs entirely in your browser using JavaScript. Your data never leaves your device.
What JSON structures can I convert?
Arrays of objects (the most common), a single object, arrays of arrays, and arrays of plain values. Mixed arrays are reported with a clear error instead of being converted incorrectly.
What happens to fields that are missing in some objects?
The column still appears, and the cell is left empty for the objects that do not have that field. No data is silently discarded.
Can I open the CSV in Excel?
Yes. The file uses standard RFC 4180 quoting and CRLF line endings. If your Excel locale expects semicolons, choose the semicolon delimiter before converting.
Why did I get an "Invalid JSON" error?
The message includes the parser's reason and, where available, the line and column of the problem — usually a trailing comma, single quotes, or an unclosed bracket.