json → csv

JSON to CSV Converter

Paste an array of JSON objects, get spreadsheet-ready CSV. Nested objects are flattened with dotted keys. 100% in-browser.

Need realistic test data instead? →

Don't have data yet? Generate a realistic dataset and serve it as a live mock API — then simulate it failing to test your app.

Open the simulator

How to convert JSON to CSV

Paste a JSON array of objects and click Convert to CSV. The converter collects every key across all rows (so rows with missing fields still line up), flattens nested objects into dotted.keys, serializes arrays as JSON, and quotes/escapes values per RFC 4180. Then copy or download the result.

What JSON shape works best?

An array of flat or nested objects, for example [{"id":1,...},{"id":2,...}]. A single object is also accepted and becomes one row.

How are nested objects handled?

They're flattened with dotted keys — {"user":{"name":"Ada"}} becomes a column user.name. Arrays are written as compact JSON strings.

Is my data private?

Yes. Conversion happens entirely in your browser; nothing is uploaded.