Convert JSON to CSV and CSV to JSON

Use this free JSON to CSV converter to turn a JSON array of objects into a clean CSV table, or switch direction to parse CSV back into structured JSON with one click. It is a fast, two-way JSON CSV converter that handles commas, quotes and line breaks correctly using RFC 4180 rules. Paste your data, preview the converted output, then copy it or download a .csv or .json file. Everything runs 100% in your browser, so your data stays private and is never uploaded to any server.

🔒 100% private — files never leave your device

Loading…

How to use

  1. Choose a conversion direction: JSON to CSV or CSV to JSON.
  2. Paste your JSON array of objects, or your CSV text, into the input box.
  3. See the converted result appear instantly in the output box below.
  4. Copy the output to your clipboard or download it as a .csv or .json file.

Frequently asked questions

How do I convert JSON to CSV?

Select the JSON to CSV direction and paste a JSON array of flat objects, like [{"name":"Ada","age":36}]. The converter builds a header row from the union of all object keys and outputs a CSV table you can copy or download instantly.

Can it convert CSV back to JSON?

Yes. Switch to the CSV to JSON direction and paste your CSV text. The first row is treated as the header, and each following row becomes a JSON object keyed by those column names, output as a formatted JSON array.

How are commas and quotes inside values handled?

The converter follows RFC 4180: any field containing a comma, quote or line break is wrapped in double quotes, and inner quotes are doubled. This means your data round-trips safely between CSV and JSON.

What JSON shape does it expect?

A JSON array of flat objects works best. A single object is also accepted and treated as one row. Nested objects and arrays are stringified into their cell, so keep values flat for the cleanest CSV.

Is my data uploaded to a server?

No. The entire conversion runs 100% in your browser using local JavaScript. Your JSON and CSV never leave your device and nothing is uploaded, so it is safe for private or sensitive data.

Is there a size limit on the data I can convert?

There is no fixed KB or MB limit. Because the conversion happens locally in your browser, the practical limit depends on your device's memory. Typical spreadsheets and API payloads convert instantly.

About this tool

Convert a JSON array of objects to CSV or parse CSV back into JSON, both directions, right in your browser. Private and instant — your data never leaves your device.

Related tools