Dad’s Data formats tools

JSON to CSV Converter

Convert a JSON array of objects to CSV — 100% local. Choose how to flatten nested data.

JSON Input

Paste a JSON array on the left to get started.

Input Requirements

This converter expects a JSON array of objects at the root. Each object becomes one CSV row. Column headers are collected from all keys found across all objects — so if only some objects have a field, that column still appears in the CSV header (with an empty value for rows that lack the key).

Input
[{"id":1,"name":"alice","active":true},{"id":2,"name":"bob","active":false},{"id":3,"name":"carol"}]
Output
id,name,active
1,alice,true
2,bob,false
3,carol,

CSV Encoding Rules

Value typeCSV outputWhy
Plain stringaliceNo quotes needed
String with comma"alice, bob"Wrapped in double quotes
String with newline"line1\nline2"Wrapped in double quotes
String with double quote"say ""hello"""Quotes doubled inside quotes
Booleantrue or falseLowercase string
Number42 or 3.14No quotes
null(empty)Empty cell
Nested object[object Object] or stringifiedNot recommended — flatten first
Warning: Nested objects and arrays are not natively expressible in CSV. Flatten your JSON first using the JSON Flattener if you have nested data.

Frequently Asked Questions

Your files stay on your computer. Dad promised.

Data formats tools

Search the Data formats tools