JSON to CSV Converter

Convert between JSON arrays and CSV format. All processing happens in your browser.

Input JSON Array
Output CSV

JSON → CSV

Convert JSON arrays of objects to CSV format. Automatically extracts all unique keys as column headers.

CSV → JSON

Parse CSV with headers into a JSON array of objects. Handles quoted fields and commas within values.

Download & Copy

One-click download as .csv or .json file. Copy to clipboard for quick use in your workflow.

How to Use the JSON to CSV Converter

  1. 1.Choose your conversion direction: JSON → CSV or CSV → JSON using the tabs.
  2. 2.Paste your data into the input panel on the left.
  3. 3.Click Convert to transform the data. The result appears in the output panel.
  4. 4.Click Copy to copy the result, or Download to save as a file.

Frequently Asked Questions

What JSON format does this tool accept?

The tool accepts a JSON array of objects, e.g. [{"name": "Alice", "age": 30}, ...]. Each object becomes a row, and all unique keys across objects become CSV column headers.

How does it handle nested objects in JSON?

Nested objects and arrays are serialized as JSON strings in the CSV output. For example, {"address": {"city": "NYC"}} becomes the string {"city":"NYC"} in the CSV cell.

Can it handle CSV fields with commas or quotes?

Yes. The tool follows RFC 4180 CSV conventions: fields containing commas, double quotes, or newlines are wrapped in double quotes, and internal double quotes are escaped by doubling them.

Is my data sent to a server?

No. All conversion happens locally in your browser using JavaScript. Your data never leaves your device.