JSON to CSV

Flatten JSON records into a delimited table with column selection.

Tool options
Comma-separated names; leave empty to include every available column.

Enter text to get started.

How to use JSON to CSV

  1. Paste or type your input. You can also load the example below.
  2. Adjust the available options. Results update after you finish typing; for very large inputs, select Run.
  3. Review the result, then copy it or download it to your device.

How this tool works

Columns are the union of fields in first-seen order. Null and missing values become empty cells. Scalar arrays use a value column. CSV quoting protects embedded delimiters, quotes, and line breaks.

Input and output stay in the current page. Refreshing or closing the page clears them. For very large inputs, use Run to start processing; a task that takes too long is stopped so you can change the input.

Frequently asked questions

How are nested objects and arrays represented in CSV?

Flatten nested objects creates dot-separated column names. Turn it off to keep nested objects as JSON text. Arrays can stay as JSON, be joined with semicolons, or expand into indexed columns.

What happens to missing fields, nulls, and quoted values?

Missing fields and null values produce empty cells. Columns are collected in first-seen order unless you specify them. CSV quoting protects delimiters, quotes, and line breaks inside cell values.