Data & Tables
JSON to CSV Converter
Convert JSON to CSV online. Flatten JSON objects and arrays into CSV rows locally in your browser without uploading data.
Tool
Convert JSON to CSV online. Flatten JSON objects and arrays into CSV rows locally in your browser without uploading data.
This tool runs in your browser. Your input is processed locally and is not uploaded.
About this Tool
Use this JSON to CSV Converter to turn arrays of objects, a single object, or moderately nested JSON into a CSV table. The converter can choose record paths, flatten nested objects with dot-style keys, preserve empty values, and explain where arrays cannot be represented cleanly as one row per record. It is best for object lists and structured exports that need spreadsheet-style output.
Examples
- [ { "orderId": "A-1001", "customer": { "name": "Ada", "country": "DE" }, "items": [{ "sku": "N-01", "qty": 2 }], "total": 39.9 }, { "orderId": "A-1002", "customer": { "name": "Ben", "country": "US" }, "items": [{ "sku": "P-04", "qty": 5 }], "total": 24.5 } ]
Frequently Asked Questions
Is my JSON data uploaded to a server?
No. The tool parses, transforms, previews, and exports data locally in your browser without uploading your input.
How are nested JSON values handled?
Objects can be flattened with configurable path notation. Arrays work best when they contain row-like objects; deeply mixed arrays may need manual review before conversion.
How are data types detected?
Values can be inspected as strings first, then optionally detected as numbers, booleans, dates, or empty values. You can keep text mode when exact formatting matters.
What happens to arrays inside a JSON object?
Small arrays can be serialized or expanded depending on options, but complex nested arrays may need a selected record path or manual flattening first.
Are CSV headers generated automatically?
Yes. Headers are collected from object keys after flattening, with stable ordering and clear handling for missing values.