JSON to CSV
Convert a JSON array of objects into a CSV file.
Convert a JSON array of objects into a CSV file.
How to use JSON to CSV
- 1
Paste a JSON array of objects into the input box.
- 2
Let the tool scan every object to collect the full set of keys, which become the CSV header row.
- 3
Click Convert to produce CSV, with one row per object and missing fields left blank.
- 4
Check how nested objects are flattened, typically into dotted column names like address.city.
- 5
Copy the CSV or download a .csv file to open in Excel, Google Sheets, or Numbers.
Real examples of JSON to CSV in action
[
{ "name": "Ada", "age": 36 },
{ "name": "Grace", "age": 45 }
]name,age Ada,36 Grace,45
[
{ "name": "Acme, Inc.", "address": { "city": "Berlin" } }
]name,address.city "Acme, Inc.",Berlin
Who is JSON to CSV for?
Developers exporting API responses into spreadsheets for analysis
Analysts who need JSON data in Excel or Google Sheets to filter and pivot
Operations staff building CSV import files for CRM or accounting tools
Anyone handing JSON-sourced data to a non-technical colleague
Why use JSON to CSV?
- Builds the header row from the union of all keys, so objects with different fields still line up under the right columns.
- Flattens nested objects into dotted column names (for example user.name), keeping deep data in a flat table.
- Escapes values that contain commas, quotes, or line breaks by quoting them, so the CSV stays valid in Excel.
- Leaves missing fields blank instead of breaking the row, which keeps columns aligned across uneven records.
- Runs fully in your browser, so API responses and exported records are converted without uploading them anywhere.
Common use cases
- Turn an API response into a CSV you can open and filter in Excel or Google Sheets.
- Hand a non-technical colleague a spreadsheet built from JSON data.
- Create a CSV import file for a CRM, email tool, or accounting package.
- Snapshot JSON config or log data into a tabular format for review.
How JSON to CSV compares to alternatives
Honest comparison to other popular options — pick the right tool for the job.
| Tool | Main limitation |
|---|---|
| Excel Power Query | Can import JSON but the setup is fiddly and not built for a quick one-off paste |
| jq on the command line | Precise but you must hand-write the filter and CSV escaping rules yourself |
| ConvertJSON.com | Works but is ad-laden and less transparent about how it flattens nesting |
| JSON to CSV | Free, runs in your browser, no sign-up, no watermarks, no file-size limits beyond your device memory. |
Limitations & things to know
- Arrays nested inside records cannot become real columns; they are stored as a string in one cell
- Deeply or irregularly nested JSON flattens into many sparse columns that may need cleanup
About JSON to CSV
A JSON to CSV converter flattens a JSON array of objects into comma-separated rows that open directly in Excel, Google Sheets, or any spreadsheet. This free tool reads your array, scans every object to gather the complete set of keys, and uses that union as the CSV header so records with slightly different fields still line up under the correct columns. Each object then becomes one row. The most useful behavior is how it handles structure that does not naturally fit a flat table. Nested objects are flattened into dotted column names, so {"address": {"city": "Berlin"}} produces a column called address.city. Arrays inside a record are generally kept as a JSON string inside a single cell, because a spreadsheet column has no clean way to store a list. Equally important is correct escaping. CSV uses commas to separate columns, so any value that itself contains a comma, a double quote, or a line break is wrapped in double quotes, and embedded quotes are doubled. Without that escaping, a value like "Acme, Inc." would split into two columns and shift every later field, which is the classic reason a CSV looks corrupted in Excel. Missing fields are written as empty cells rather than skipped, keeping every row the same width. This conversion is everyday work whenever JSON needs to reach a human or a spreadsheet-only tool: exporting an API response for analysis, handing a colleague a filterable sheet, or building an import file for a CRM or accounting system. Everything is processed locally in your browser, so the JSON you paste, including private API data, is never uploaded or stored.
Frequently asked questions
Your files never leave your device
Every tool on Xevon Tools runs 100% in your browser. No uploads, no servers, no tracking. Free forever.
Embed JSON to CSV on your site
Add this tool to your own website, blog, or internal tool page with one line of code. Free to use, no attribution required (but appreciated).
<iframe src="https://www.xevontools.com/embed/json-to-csv" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px;" title="JSON to CSV — Xevon Tools"></iframe>
