JSON to CSV Converter
Paste a JSON array — CSV table appears instantly
CSV table will appear here
Paste a JSON array on the left
Paste a JSON array — CSV table appears instantly
CSV table will appear here
Paste a JSON array on the left
Paste any JSON array of objects and the CSV table appears instantly as you type.
Columns are detected automatically from your JSON keys. Nested objects are flattened using dot notation
(e.g. address.city). When you're done, copy to clipboard or download a .csv file
with one click.
{"address": {"city": "NYC"}} becomes an address.city columnJSON (JavaScript Object Notation) and CSV (Comma-Separated Values) are the two most common data interchange formats. JSON is ideal for hierarchical, nested data. CSV is ideal for flat tabular data that opens directly in spreadsheets like Excel, Google Sheets, or Numbers.
Converting between them is a routine task in data engineering, analytics, and API integration work. Our converter handles the main complexity: detecting the full set of columns from a heterogeneous array (where different rows may have different keys), and flattening nested structures into readable column names.
Input JSON array:
[
{"name": "Alice", "age": 30, "address": {"city": "New York"}},
{"name": "Bob", "age": 25, "address": {"city": "London"}}
]
Output CSV (nested object flattened):
name,age,address.city
Alice,30,New York
Bob,25,London
[{"key": "value"}, ...]. If you paste a single object, it's automatically wrapped in an array and treated as a one-row table. Arrays of primitives (strings, numbers) are also handled — they get a single "value" column.{"user": {"name": "Alice"}} becomes a column named user.name. Arrays nested inside objects are serialized as JSON strings in the cell.