Skip to main content
{/}codefunc

JSON to CSV

Convert JSON arrays to CSV spreadsheets.

About this tool

Convert JSON arrays to CSV spreadsheets. Useful when reviewing API responses, cleaning config before commit, or sharing readable snippets in docs and PRs.

Paste a JSON array of objects into Input (each object becomes a row). Click Convert to produce CSV with a header row from object keys. Example — Export order lines as CSV: try `[{"sku":"A-100","qty":3,"price":9.5},{"sku":"B-200","qty":1,"price":24}]` and expect something like `sku,qty,price A-100,3,9.5 B-200,1,24`.

Nested objects and arrays are flattened poorly — flatten or stringify them before converting. See also: CSV to JSON, and JSON Formatter. Runs in your browser — nothing you paste gets uploaded.

How to use

  1. Paste a JSON array of objects into Input (each object becomes a row).
  2. Click Convert to produce CSV with a header row from object keys.
  3. Copy into a spreadsheet or data pipeline.
  4. Align keys across objects so columns stay consistent.

Example

Export order lines as CSV

Input

[{"sku":"A-100","qty":3,"price":9.5},{"sku":"B-200","qty":1,"price":24}]

Output

sku,qty,price
A-100,3,9.5
B-200,1,24

Limitations

  • Nested objects and arrays are flattened poorly — flatten or stringify them before converting.
  • Input must be an array of objects; a bare object or array of primitives will error.
  • Delimiter and quoting follow Papa Parse defaults; exotic dialects may need a dedicated ETL tool.

Related guides

1

Related tools

2

Frequently asked questions

What does the JSON to CSV do?

Convert JSON arrays to CSV spreadsheets. Runs in your browser — no install, no account.

How do I use the JSON to CSV?

Paste a JSON array of objects into Input (each object becomes a row). Click Convert to produce CSV with a header row from object keys. Copy into a spreadsheet or data pipeline. Align keys across objects so columns stay consistent.

Is the JSON to CSV free?

Yes. No signup, no usage limits, no paywall.

Does the JSON to CSV upload my data?

No. Processing happens locally in JavaScript. Your input is not uploaded, stored, or logged.

What are the limitations of the JSON to CSV?

Nested objects and arrays are flattened poorly — flatten or stringify them before converting. Input must be an array of objects; a bare object or array of primitives will error. Delimiter and quoting follow Papa Parse defaults; exotic dialects may need a dedicated ETL tool.

Search tools

Find a developer tool