Spincrus

Tools › JSON to CSV Converter

JSON to CSV Converter

Convert JSON arrays to CSV online. Nested objects are flattened with dot notation, quotes are escaped correctly, works with large files.

Runs in your browser. Nothing is uploaded.

Use it from code

The same function is available as an API endpoint. Free tier: 50 calls per day without a key. Pro lifts the limit.

curl -X POST https://spincrus.uz/api/v1/tools/json-to-csv \
  -H "content-type: application/json" \
  -H "x-api-key: YOUR_KEY" \
  -d '{"json":"[{\"id\":1,\"user\":{\"name\":\"Ada\"}},{\"id\":2,\"user\":{\"name\":\"Linus\"}}]"}'

FAQ

How are nested objects handled?

They are flattened: {"user":{"name":"Ada"}} becomes a column named user.name.

Can I open the result in Excel?

Yes. Save the output as .csv and open it in Excel, Google Sheets or Numbers.

What about arrays inside objects?

Inner arrays are kept as JSON strings in a single cell so no data is lost.

Related tools