JSON ⇄ CSV Converter
A free tool to convert between JSON arrays and CSV in both directions. Choose the delimiter, control headers, and flatten nested objects. All processing happens in your browser, so your data is never sent to any server.
How to Use
Pick a tab and enter data
Choose the "JSON → CSV" or "CSV → JSON" tab, then type or paste your source data. You can also try the sample button.
Set options
Choose the delimiter (comma/tab/semicolon), toggle the header row, and enable nested-object flattening as needed.
Convert & copy
Press "Convert" to see the result, then copy it or download it as a file.
About the JSON ⇄ CSV Converter
An online tool to convert between JSON arrays and CSV (comma-separated values) in both directions. Turn JSON fetched from an API into a table format (CSV) you can open in Excel or Google Sheets, or convert CSV into JSON that is easy to use in code. It supports choosing the delimiter, controlling the header row, and flattening nested objects using dot notation. The biggest advantage is that your data is never sent to a server. Everything runs entirely in your browser, so even confidential data such as customer lists or business records can be converted safely, with unlimited use and no sign-up.
Features
- Two-Way ConversionJSON → CSV and CSV → JSON with a single click. Just switch tabs.
- Flexible OptionsFine-tune the delimiter (comma/tab/semicolon), header handling, and JSON pretty-printing.
- Nested FlatteningFlatten nested objects into "key.subkey" dot-notation columns for CSV output.
- Browser-Only ProcessingData is never uploaded; everything runs on your device. Safe even for confidential data.
Use Cases
- Convert API JSON into CSV to open in Excel or Google Sheets
- Turn a customer or inventory CSV into JSON for use in code
- Reformat database export results
- Prepare data before importing into no-code or BI tools
- Convert the format of test or mock data
Related Tools & Guides
To eyeball your data as a table before or after conversion, use the CSV Viewer; to convert JSON for config files, try the JSON ↔ YAML converter; and for formatting or syntax-checking JSON, use the JSON Formatter. To learn how CSV works from the ground up, read the CSV basics guide, and to understand comma- vs tab-separated (TSV) files, see the CSV vs TSV guide.
FAQ
Is my data uploaded to a server?
Can it convert nested JSON to CSV?
Can I change the delimiter?
Can it handle commas or line breaks inside CSV data?
Can it convert a CSV without a header row?
Can I rebuild a flattened CSV back into nested JSON?
How are JSON arrays converted to CSV?
Feedback
Missing a feature, or getting a result that looks wrong? Let us know — we improve our tools based on your feedback.