Learn

JSON to CSV Guide

About this tool

Flatten an array of JSON objects into CSV, using the union of the keys as the header row. It is the usual way to get an API response into a spreadsheet.

Questions

What happens to nested objects?
This tool does not create dotted columns. It writes a nested object or array as JSON text in one CSV cell, with quotes escaped when needed. Decide how to handle that cell in the receiving program.
Why are some cells empty?
Because not every object has every key. The header is the union of all keys, so an object missing one simply leaves that cell blank.