How does JSON become CSV?
CSV is a plain table: rows of values separated by commas, with the column names on the first line. JSON is a tree. To convert, each object in an array becomes a row, and the keys become the column headers.
The tool takes the union of all keys as columns, so objects that miss a key just leave a blank cell. Nested objects can flatten to dotted names such as user.name. For the sample with two users, you get 2 rows and 5 columns: id, user.name, user.city, tags and active.
How to use the JSON to CSV Converter
- Paste a JSON array of objects.
- Pick a delimiter: comma, semicolon, tab or pipe.
- Choose whether to flatten nested objects.
- Copy or download the CSV.