Check JSON Shape before Converting to CSV
Understand why flat object arrays become tables while nested values need review.
Reviewed 2026-11-15 · ToolMarket
A table-friendly JSON shape
An array such as [{"name":"A","age":20},{"name":"B","age":21}] maps cleanly to CSV columns and rows. Expected output has name,age headers and two data rows: A,20 and B,21. Use JSON Formatter to catch syntax errors first.
Nested objects and arrays do not automatically expand into meaningful columns. Inspect how they appear in the result.
Validate the export
Compare the output column names and row count with the original. Keys found only in some objects may create blank cells.
When opening the CSV in a spreadsheet, check text encoding and identifiers with leading zeros.
Nested objects and arrays
CSV is a flat grid, so a nested object such as {"address":{"city":"X"}} has no natural column. Converters either flatten it into a column like address.city or write the nested value as text. Decide which you need before converting.
Arrays inside records, for example a list of tags, are harder still. Joining them into one cell with a separator is often the most practical choice for a spreadsheet.
Keep the types you need
CSV stores everything as text. Numbers, true/false values, and null all become plain strings, and the spreadsheet will guess their type again when opened. Check identifiers and dates after import, just as you would with any CSV.