JSON & Data

JSON to CSV Converter

Convert a JSON array of objects into a CSV table with automatic headers and correct field quoting.

What is this tool?

This converter finds the union of object keys in a JSON array and uses them as CSV headers. Missing properties become empty cells; nested values are preserved as JSON text.

How to use it

  1. Paste a non-empty JSON array of objects.
  2. Select Convert to CSV.
  3. Review automatically detected columns.
  4. Copy the CSV or download it as a file.

Example

[{"name":"Ayu","city":"Jakarta"}] becomes a header row followed by Ayu,Jakarta.

FAQ

How are commas inside values handled?

Fields containing commas, quotes or line breaks are wrapped in quotes, and embedded quotes are doubled.

Can objects have different keys?

Yes. All discovered keys become headers in first-seen order.

Are nested objects flattened?

No. Nested arrays and objects are serialized into a single CSV field.

Related Tools