JSON ↔ CSV converter
Paste a JSON array or CSV text and convert between formats with one click. Headers are auto-detected from JSON keys.
About this tool
Convert JSON arrays to CSV or CSV back to JSON — paste your data, pick direction, copy or download the result. Instant and browser-based.
Paste a JSON array or CSV text and convert between formats with one click. Headers are auto-detected from JSON keys.
- 1
Paste a JSON array of objects to convert it to CSV, or paste CSV rows to convert to JSON.
- 2
The tool detects the direction automatically based on your input.
- 3
Column headers are derived from the JSON object keys.
- 4
Click Copy or download the result as a file.
Export JSON API responses to CSV for analysis in Excel or Google Sheets.
Import CSV data from spreadsheets into your app as JSON arrays.
Quickly validate the shape of a JSON dataset by viewing it as a table.
JSON array to CSV
[{"name":"Alice","age":30},{"name":"Bob","age":25}]name,age
Alice,30
Bob,25CSV to JSON
name,age
Alice,30
Bob,25[{"name":"Alice","age":"30"},{"name":"Bob","age":"25"}]These answers explain common json ↔ csv tasks, expected input formats, and edge cases so both visitors and search engines can understand what this tool does.
What JSON structure does the JSON→CSV converter accept?
It expects an array of objects at the top level, e.g. [{"name":"Alice","age":30},{"name":"Bob","age":25}]. Nested objects are stringified into the cell value.
Does the CSV→JSON converter handle quoted fields?
Yes. Fields wrapped in double quotes (including those containing commas or newlines) are parsed correctly.
Are my files uploaded anywhere?
No. All conversion happens in your browser using JavaScript. Nothing is sent to a server.
Does the JSON to CSV converter handle nested objects?
Nested objects and arrays are serialised as JSON strings within the CSV cell rather than being flattened into separate columns. If you need flat columns, flatten your JSON structure before converting.
Can I open the CSV output in Excel or Google Sheets?
Yes. Copy the CSV output and paste it into a new Google Sheet, or save it as a .csv file and open it in Excel. Both applications detect comma-separated values automatically.