JSON to CSV

JSON to CSV converts a JSON array of objects into a downloadable CSV file, useful for turning API responses or structured data into table format.

Invalid JSON, must be an array of objects, e.g. [{"a":1}].

How it works

  1. 1Paste the JSON array into the input field, each item must be an object.
  2. 2The CSV output is generated and previewed instantly.
  3. 3Use the 'Download CSV' button to save the result as a .csv file.
  4. 4An error message is shown for invalid JSON or input that isn't an array of objects.

Frequently asked questions

How are nested objects handled?+

A nested object or array is shown as JSON text within the CSV cell (e.g. '{"a":1}'); since CSV is a flat format, no automatic flattening is performed.

Why is this a separate tool from CSV ↔ JSON?+

They overlap functionally, but this tool is a focused, one-directional (JSON → CSV) tool built around direct file download; CSV ↔ JSON is a copy-paste workspace supporting both directions.

Does the key order in the objects matter?+

No, the column order is determined by the first-seen order of keys across all objects.

What happens if I enter an empty array?+

The tool shows an invalid-input warning; an array with at least one object is required.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/data/json-to-csv/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="JSON to CSV · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Data and Tables Guide →

Command Palette

Search for a command to run…