The useful answer

Use a non-empty array of flat objects. The tool creates a column for every key it encounters, leaves missing values blank and rejects nested objects or arrays.

Before you start

JSON can represent structures that a simple rectangular table cannot. A list of flat records maps naturally to rows, while nested addresses or arrays of tags need a separate flattening rule. Turning those structures into an unexplained string can create a file that looks usable but hides the original relationships.

Our sample deliberately gives one record a Team field that another record does not have. Format Lab uses the union of the keys, so that field becomes a column with a blank in the missing row. Null and missing values both become empty cells in this workflow; preserve the JSON if that distinction matters.

Your practice file

flat-contacts.json · Original Deskcraft example · Reusable for practice

Download source ↓

The walkthrough

Inspect the JSON shape

Load flat-contacts.json. The outermost value must be an array, and each member must be an object. The sample has two records with string IDs, names and a team value on only one record.

Choose JSON to CSV

Select the conversion mode. The CSV input delimiter control is not used for this direction; the output is comma-separated. Leave the UTF-8 BOM option off unless the receiving workflow specifically needs it.

Review the combined columns

Run Convert text. The header should include ID, Name and Team in their first-seen order. The second row should have a blank Team cell rather than shifting its name into the wrong column.

Check the lossy parts of the mapping

Look for null, missing properties or empty strings in your own input. They may all become empty CSV cells here. If those states have different meanings, define an explicit representation before converting.

Import with appropriate column types

Download the CSV and use a text-aware import for IDs in the destination spreadsheet. JSON string types do not travel inside a CSV as a guaranteed type declaration. Check leading zeros after import.

Before & after, in practice

What we checkedStarting comparisonAfter the change
Output130 bytes57 bytes
File extensionjsoncsv

Recorded in Chrome 153.0.8010.54. These are measurements of this practice file, not guaranteed results for every file or browser.

Format Lab: Starting comparison for Convert a flat JSON list into a usable CSV
Starting comparison. Actual Format Lab operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Format Lab: After the change for Convert a flat JSON list into a usable CSV
After the change. Actual Format Lab operation captured with the supplied practice file. Select the image to inspect the settings at full size.
Inspect the demonstrated result

Download the actual output recorded for this walkthrough.

Download result ↓

When it goes wrong

Nested data is rejected

Decide how each nested property should become columns or separate tables. This tool refuses to guess a flattening scheme.

Blank cells have several possible meanings

CSV does not preserve the difference between missing, null and empty string in this conversion. Keep the source JSON or add explicit status columns.

The file begins with an object instead of an array

Extract the actual record array from the source system. Renaming the extension does not change its structure.

The final check

Expect a header and two data rows. ID 001 must stay as the text 001 in the downloaded file. The absent Team property becomes an empty cell. Verify that this loss of distinction is acceptable before replacing the original JSON.

Keep one clean original. The tools create a new copy. They do not overwrite your source. For important work, verify the downloaded result in the application that will actually use it.

Further reading & method

These links explain the underlying formats or browser behavior. The steps, examples, screenshots and measured results above come from the Deskcraft tools. Screenshots do not depict Excel, Photoshop or another commercial application.

See how these guides are made. Found an error? Send a correction with the guide title and the step you tried.