jsontoolskit.org
JSON and JSON Schema utilities, in the browser
Say hi →

JSON to CSV

array of objects → CSV · flatten nested · pick delimiter

Convert a JSON array of objects to CSV. For nested objects pick a flatten strategy (dot, bracket, or drop nested). Configurable delimiter (comma / semicolon / tab) and RFC 4180 quoting. The reverse direction lives at CSV → JSON. Runs in your browser.

Paste a JSON array.

How to convert JSON to CSV

  1. Paste your JSON array.
  2. The column picker shows every detected key — toggle which to include and reorder them.
  3. For nested objects, pick a Flatten strategy: Dot-notation (user.address.city), Bracket (user[address][city]), or Drop nested.
  4. Pick Delimiter (comma / semicolon / tab) and Quote style.
  5. Output appears below. Download as .csv.

Common targets

FAQ

What happens with arrays inside objects?

They're serialized as a JSON string inside the cell. If you need each array element as its own row, see NDJSON for line-mode conversion, or pre-flatten with json-flatten.

Does the CSV escape correctly?

Yes — RFC 4180. Fields containing the delimiter, double quotes, or newlines are wrapped in "..." with embedded quotes doubled. Other CSV consumers may not handle multi-line cells correctly though.

Will it work offline?

Yes — pure JavaScript in the browser.