How to Convert JSON to CSV Online (Free, Instant)
JSON and CSV are the two most common data formats in modern software. APIs speak JSON; spreadsheets and databases speak CSV. The Quill Tools Data Converter bridges the gap — converting between the two formats instantly, with intelligent handling of nested structures.
Why Convert JSON to CSV?
- Spreadsheet analysis — Import API data into Excel or Google Sheets for pivot tables and charts.
- Database imports — Most databases accept CSV for bulk data import.
- Business reporting — Non-technical stakeholders prefer tabular data over nested JSON.
- Data migration — Moving data between systems that expect different formats.
How to Convert JSON to CSV
- Open the Data Converter.
- Paste your JSON array into the input area. The JSON should be an array of objects:
[{"name":"Alice","age":30},...] - Select CSV as the target format.
- Click Convert. The CSV appears immediately.
- Download as
.csvor copy and paste into Excel.
Handling Nested JSON
CSV is flat — it can't represent nested objects. Quill Tools automatically flattens nested structures using dot notation:
// Input JSON
[{"name":"Alice","address":{"city":"London","zip":"SW1A"}}]
// CSV Output
name,address.city,address.zip
Alice,London,SW1AThis preserves all data in a readable format that can be imported into spreadsheets without losing information.
Converting CSV Back to JSON
The converter is bi-directional. Paste CSV data to get structured JSON. The converter automatically detects data types — numbers remain numbers, booleans are preserved, and everything else becomes a string.
Common Issues and Solutions
- JSON is not an array — The converter expects an array of objects. If you have a single object, wrap it:
[{...}] - Mixed schemas — Objects with different keys produce columns for all encountered keys, with empty cells where a key is absent.
- Arrays within objects — These are serialised as JSON strings within the CSV cell.
- Commas in values — The converter automatically wraps values containing commas in double quotes.
Frequently Asked Questions
How does the JSON to CSV converter handle nested data?
Nested objects are automatically flattened using dot notation (e.g., address.city) for clean CSV output.
Can I also convert CSV back to JSON?
Yes. The converter is bi-directional — paste CSV data to get structured JSON output with automatic type detection.
Convert JSON to CSV for free at Quill Tools Data Converter.
You May Also Like
Share this article