Convert JSON to CSV and Back — Free & Instant
Convert JSON arrays to CSV spreadsheets or CSV files to JSON, right in your browser. Handles nested objects and arrays automatically.
About the JSON to CSV Converter
This free tool converts JSON arrays into CSV spreadsheets and CSV files back into JSON, entirely in your browser. It automatically flattens nested objects and arrays into readable columns, so you can move data between APIs, databases, and spreadsheets without writing a script.
Features:
- Convert JSON arrays of objects to clean CSV files
- Convert CSV back to pretty-printed JSON
- Automatically flattens nested objects and arrays into dot-notation columns
- Auto-detects delimiters (comma, semicolon, tab) with manual override
How to Convert JSON and CSV
- Choose a direction: JSON to CSV or CSV to JSON
- Paste your data into the input box
- Click Convert to generate the output instantly
- Copy the result or download it as a file
Frequently Asked Questions
What does this tool do?
It converts a JSON array of objects into a CSV spreadsheet, and can also convert CSV data back into JSON — all directly in your browser.
Is there a file size limit?
Input is capped at 2MB of text, which comfortably covers most JSON and CSV files used in day-to-day work.
Is my data uploaded anywhere?
No. All conversion happens locally in your browser using JavaScript — your data is never sent to a server.
How are nested objects and arrays handled?
Nested objects are flattened using dot notation (for example, address.city becomes its own column), and arrays use bracket indices like tags[0] and tags[1]. Deeply nested structures may produce many columns, so review the output for very complex JSON.
Can I convert CSV files that use semicolons instead of commas?
Yes. The delimiter is auto-detected by default, and you can manually choose comma, semicolon, or tab if auto-detection doesn't match your file.
Why does Excel mangle my CSV?
Excel sometimes misreads delimiters or special characters based on your system's regional settings and file encoding. If columns look merged, try opening the file with Excel's Text Import Wizard and selecting UTF-8 encoding and the correct delimiter.
Your Data Stays Private
All conversion happens locally in your browser. Your JSON and CSV data is never uploaded or stored on any server.