JSON to CSV Converter
Convert JSON arrays to CSV format instantly. Free, private, runs in your browser.
JSON to CSV and CSV to JSON — What This Tool Does
This dual converter handles both directions of data conversion between JSON and CSV. The JSON → CSV tab takes a JSON array of objects and produces a spreadsheet-ready CSV file. The CSV → JSON tab takes any delimiter-separated data and produces a JSON array you can use in APIs, databases or JavaScript applications. Both conversions run entirely in your browser — no data is uploaded.
How to Convert JSON to CSV
Paste your JSON array into the JSON Input box. Each object in the array becomes one CSV row. The keys of the first object are used as column headers. Choose a delimiter, then click Convert to CSV. The result is ready to copy or download as a .csv file you can open directly in Excel, Google Sheets or LibreOffice Calc.
CSV Delimiters
| Delimiter | Symbol | Best Used When |
|---|---|---|
| Comma | , | Default for most spreadsheet software worldwide |
| Semicolon | ; | European locales where commas serve as decimal separators |
| Tab (TSV) | \t | Values contain commas (addresses, notes, sentences) |
Common Use Cases
- API data to spreadsheet — convert a REST API JSON response to CSV for analysis in Excel or Google Sheets.
- Database export — transform a JSON database dump into a CSV importable by most SQL clients and BI tools.
- Spreadsheet to API — convert CSV data exported from a spreadsheet into JSON to send as an API request body.
- Data migration — move data between systems that accept different formats without writing any code.
- Reporting — produce CSV files from structured JSON logs for sharing with non-technical stakeholders.
Handling Nested JSON in CSV Exports
CSV is a flat, two-dimensional format — it cannot represent nested objects or arrays directly. When your JSON contains nested objects (e.g. {"user": {"name": "Alice", "age": 30}}), the converter flattens one level using dot notation so the CSV header becomes user.name and user.age. Arrays inside objects are serialised as a JSON string in the CSV cell. If your data is deeply nested, consider restructuring the JSON to a flat array of objects before converting, or use the JSON Formatter to inspect and reshape the structure first.