XlsConverter

JSON to CSV with nested objects flattened

Upload the JSON file, choose how nested objects and arrays are flattened, then convert. Each object becomes a CSV row and each key path becomes a column header.

JSON

Encrypted, auto-deleted

Demo converts up to 100 rows, once.
Developer working at dual monitors with code editors at night

API responses and app exports come as JSON, but finance and operations teams work in spreadsheets. XlsConverter flattens nested JSON into a clean table, collects every key across all records and writes a CSV that opens correctly in Excel.

If you want a formatted workbook rather than plain text, use JSON to Excel. To go back, see CSV to JSON.

How to convert JSON to CSV in three steps

  1. 1Upload the .json file or paste the URL of a JSON endpoint.
  2. 2Pick the array to convert and set how nested data is flattened.
  3. 3Convert and download the .csv file.

Records with different keys and how columns are built

JSON records rarely share the exact same keys. One order has a discount field, another has a coupon, a third has neither. A converter that reads only the first record silently drops columns. XlsConverter scans every record, builds the union of all key paths and leaves cells empty where a record has no value.

Arrays inside records are the hardest part. An order with three line items can become one row with the items joined, three columns item.0, item.1 and item.2, or three rows that repeat the order fields. The last option is best for pivot tables, the first for readability.

Excel on Windows assumes a legacy encoding for CSV unless the file starts with a byte order mark, which is why names like Müller turn into garbled text. Choose UTF-8 with BOM for Excel users. If the data should land in a database instead, CSV to SQL continues from here, and XML to CSV handles the other common API format.

JSON to CSV questions

How do I convert nested JSON to CSV?

Nested objects are flattened into dotted column names, and arrays can be joined, expanded into columns or split into rows.

Why are some columns missing from my JSON to CSV export?

Many tools read only the first record. XlsConverter collects keys from every record so no column is lost.

How do I open the CSV in Excel without broken characters?

Choose UTF-8 with BOM as the encoding, which tells Excel how to read accented and non Latin characters.

Can I convert a JSON API response directly?

Yes. Provide the HTTPS URL as a source and set the record path to the array inside the response.

Can I try JSON to CSV with my own data?

Yes, the one-time demo converts up to 100 records. Full files need a paid plan from 24 USD per month billed yearly.

Related converters

Convert full files and batches

Pro starts at $24 per month billed yearly. Cancel any time.

See plans