JSON to CSV Converter
Convert a JSON array to CSV, or CSV back to JSON. Flattens nested objects, lets you pick the delimiter, and downloads the file.
JSON (JavaScript Object Notation) and CSV (Comma-Separated Values) are both common data formats. APIs and web apps mostly use JSON. Spreadsheets and data analysis tools read CSV.
This tool converts a JSON array of objects into a CSV table, and a CSV table back into JSON. It flattens nested objects with dot notation, so each nested field gets its own column.
Data export
Export JSON API responses to CSV for sharing and archiving
Spreadsheet import
Open JSON data in Excel or Google Sheets
Reports
Turn a JSON dataset into a CSV you can send to people who use spreadsheets
Data analysis
Load JSON data into pandas or R as CSV
How do I convert JSON to CSV?
Paste a JSON array of objects into the input area and click 'Convert to CSV'. Every key becomes a column header and each object becomes a row. Preview the result, then download it as a .csv file.
Does it handle nested JSON objects?
Yes. The tool flattens nested objects with dot notation, so {"address": {"city": "NYC"}} becomes a column named 'address.city' with the value 'NYC'. Arrays inside objects become JSON strings.
What delimiters are supported?
Four: comma (,), tab, semicolon (;), and pipe (|). Comma is the default and the standard for CSV. Change it in the options panel before you convert.
Can I convert CSV back to JSON?
Yes. Switch to the 'CSV to JSON' tab, paste your CSV, and click 'Convert to JSON'. The tool turns the header row and data rows into an array of JSON objects, and it accepts the same delimiters.
Is there a size limit for conversion?
There is no server-side limit, because conversion runs in your browser. Very large inputs can make the page slow, depending on your device.
Private by default
Conversion runs in your browser. Your data is never sent to a server.
Related tools
JSON Formatter
Format JSON online in your browser. Paste or upload JSON to tidy it with 2 or 4 space indents, find syntax errors, minify it or browse it as a collapsible tree.
JavaScript to JSON
Convert JavaScript object literals to valid JSON
JSON Merge
Merge two JSON objects online with a deep or shallow strategy and choose how arrays combine. Useful for config files and API responses. Free, no signup.