JustRandom

JSON to CSV Converter

Convert a JSON array of objects into CSV with delimiter options.

Convert JSON to CSV

Paste a JSON array of objects and export a CSV file with your chosen delimiter.

Use a JSON array where each item is an object.

CSV output

CSV output will appear here.

How to convert JSON to CSV

  1. Paste a JSON array of objects.
  2. Choose comma, semicolon, tab, or pipe as the delimiter.
  3. Run Convert to generate CSV output and a table preview.
  4. Copy the CSV or download it as a `.csv` file.

Example JSON to CSV conversion

[
  { "name": "Roby", "age": 29 },
  { "name": "Budi", "age": 31 }
]
name,age
Roby,29
Budi,31

Conversion notes

The converter validates JSON before producing CSV. It requires the root value to be an array, and every array item must be an object.

Conversion happens locally in the browser. Your JSON, field names, and CSV output are not sent to a backend or stored between sessions.

Frequently asked questions

What JSON shape can I convert?

Use a JSON array of objects. Each object becomes a CSV row, and the combined object keys become the CSV headers.

How are nested values handled?

Nested objects and arrays are kept as JSON strings inside their CSV cells, so information is not silently discarded.

Can I download the CSV?

Yes. After conversion, use Download to save a `.csv` file from the generated output in your browser.

Related tools

Explore another available JustRandom tool that may help with a related task.