Free Online JSON to CSV Converter
Convert JSON arrays to CSV or CSV to JSON instantly β free online converter with download support. Handles quoted fields, 100% client-side.
100% Client-Side Β· Your data never leaves your browserHow to Use JSON to CSV Converter
Choose a direction with the toggle button: JSON to CSV or CSV to JSON.
For JSON to CSV: paste a JSON array of objects. Each object key becomes a column header. Click Convert to get a comma-separated output you can open in Excel or Google Sheets.
For CSV to JSON: paste CSV with a header row. The tool parses it into a JSON array of objects, correctly handling quoted fields.
Use Load sample to see a working example. After converting, use the Download button to save the file directly.
Frequently Asked Questions
What JSON structure does the converter expect?
The converter expects a JSON array of objects, where each object represents a row. All top-level keys across all objects become column headers. Missing keys in a row result in an empty cell. Nested objects are not flattened β they are serialized as a string.
Does the CSV converter handle quoted fields with commas?
Yes. The CSV parser correctly handles RFC 4180 quoting: fields containing commas, double quotes, or newlines must be wrapped in double quotes. Double quotes inside a quoted field are escaped by doubling them ("").
Can I convert CSV back to JSON?
Yes β click the direction toggle to switch to CSV to JSON mode. The first row is treated as column headers. Each subsequent row becomes a JSON object with those keys. All values are treated as strings; type inference is not applied.
How do I handle special characters in CSV?
Fields containing commas, double quotes, or newlines are automatically wrapped in double quotes during JSON-to-CSV conversion. When parsing CSV-to-JSON, quoted fields are correctly unescaped.
Is there a size limit?
There is no hard size limit, but very large datasets (hundreds of thousands of rows) may be slow to process in the browser. For production ETL work, server-side tools or command-line utilities like csvkit or jq are more appropriate.