Convert JSON to CSV for Excel: Step-by-Step

You have a JSON file from an app, API, or export, but you need to work with its data in Microsoft Excel. The simplest route is often to turn the JSON records into a CSV file first, then import that CSV into Excel. This guide shows how to do it without writing a script—and how to avoid common spreadsheet surprises.

Before you start: JSON and CSV are different

JSON can represent objects, lists, numbers, text, and nested structures. CSV is a table: one header row followed by rows of values. Converting works best when the JSON contains a list of similar objects, with one object representing one spreadsheet row.

For example, a simple list of orders looks like this:

[
  {"order_id": 201, "customer": "Nova Studio", "amount": 125.50, "status": "Paid"},
  {"order_id": 202, "customer": "Acme Agency", "amount": 89.00, "status": "Pending"}
]

A CSV version with a comma delimiter looks like this:

order_id,customer,amount,status
201,Nova Studio,125.5,Paid
202,Acme Agency,89,Pending

The order_id, customer, amount, and status fields become the column headings. Each order becomes one row. Numbers may lose display-only trailing zeros during conversion; you can apply a two-decimal number format in Excel if needed.

How to convert JSON to CSV online

  1. Open ToleHub’s free JSON to CSV converter.
  2. Paste valid JSON into the input box, or upload a supported .json file.
  3. Choose Comma as the separator for a standard CSV. Use Semicolon or Tab if your workflow requires a different delimiter.
  4. If your records include nested objects, decide whether to enable flattening to make dotted columns such as customer.city.
  5. Select Convert to CSV. Check the output and data preview for the expected headings and values.
  6. Choose Download .csv, or copy the CSV text if you need to paste it elsewhere.

The current ToleHub converter accepts JSON files up to 2 MB and limits input to 10,000 records and 300 columns. Its on-page preview shows up to eight rows and eight columns, so verify the downloaded file if you have a larger dataset.

How to open your CSV in Microsoft Excel

You can double-click a CSV file, but Excel may guess data types and delimiters. Importing it through Excel’s Data tab gives you more control.

  1. Open a blank workbook in Microsoft Excel.
  2. Go to Data → From Text/CSV. Depending on your Excel version, this may appear under Get Data → From File.
  3. Choose the downloaded CSV file.
  4. In the import preview, confirm that the delimiter matches your file (usually Comma) and select UTF-8 if Excel does not detect your text correctly.
  5. Check that the preview shows separate columns, not a single long text column. Then select Load, or Transform Data if you need to adjust column types first.

If you have IDs such as 00123, long account-like identifiers, or date-like strings, treat those columns as text during import to prevent Excel from changing their values. After importing, save the workbook as .xlsx if you want to keep Excel formatting and features.

What happens to nested JSON?

Consider a record containing "customer": {"city": "Austin", "country": "US"}. A flat CSV table doesn’t have nested objects, so you need to choose how to represent them. With flattening enabled, ToleHub can create columns such as customer.city and customer.country. Without it, nested content may be represented in a single cell instead of separate columns.

Arrays inside a record are kept as JSON-formatted text in a cell rather than automatically turning into new spreadsheet rows. If you want one row per array item, restructure the JSON before converting.

Common problems and how to fix them

Everything appears in one Excel column

Usually the CSV delimiter doesn’t match the one Excel expects. Reimport through Data → From Text/CSV and choose the correct delimiter. Avoid changing commas to semicolons blindly, especially if the original values themselves contain punctuation.

A column is missing or some cells are blank

Records may have different field names. The converter can create columns from fields found across the records; a missing value in one record becomes a blank cell. Check the original JSON before assuming data was lost.

The converter reports invalid JSON

JSON requires double quotes around property names and string values, properly matched brackets, and no trailing comma after the last item. A fragment copied from JavaScript may not be valid JSON as written.

Excel changes long numbers, dates, or leading zeros

Import those columns as Text before Excel auto-detects their types. Excel’s numeric precision is limited, so very long identifier numbers should usually remain strings.

Text looks like an Excel formula

Spreadsheet software can interpret some values beginning with characters such as =, +, -, or @ as formulas. Keep ToleHub’s formula-protection option enabled when handling untrusted data, and review unfamiliar CSV exports before opening them.

Can I convert JSON to CSV without installing software?

Yes. You can use the online JSON to CSV converter directly in your browser. For confidential business exports, review your organization’s rules and how any tool handles uploads before processing sensitive material.

Frequently asked questions

Will CSV keep the same data structure as JSON?

Not completely. A CSV is a flat table, so complex nested structures and arrays need to be flattened or represented as text. CSV also doesn’t preserve JSON’s original data types.

Can I use a semicolon separator instead of a comma?

Yes. ToleHub offers comma, semicolon, and tab separators. Match the separator when you import the file into Excel.

Can I save the converted data as an Excel workbook?

Yes. Download the CSV, import it into Excel, then choose Save As and select Excel Workbook (.xlsx). The converter itself downloads CSV, not XLSX.

Try the converter

Ready to import your data? Convert JSON to CSV online, then open the file in Excel using the steps above. If your source is XML rather than JSON, first try the XML to JSON converter. You can also browse the ToleHub tools directory.

Choosing between file formats? Our CSV vs JSON guide explains the differences before you export a spreadsheet.