JSON to CSV Converter Online

Turn any JSON array or object into a spreadsheet-ready CSV, with nested objects flattened into columns and your choice of delimiter.

How to Convert JSON to CSV

Paste your JSON, choose which array becomes the rows, and the CSV appears with headers, ready for Excel or Google Sheets.

Step 1

Add Your JSON

Paste a document or drop a .json file; arrays of objects are detected automatically.

Step 2

Shape the Columns

Pick the row source, flatten nested objects, and decide how arrays and empty values behave.

Step 3

Copy or Download

Copy the CSV or download it as a file that opens in any spreadsheet application.

Convert JSON Arrays to CSV Without Losing Nested Data

JSON and CSV describe the same data in shapes that do not fit each other. A JSON payload nests: objects inside objects, arrays inside objects, values that only exist on some records. A spreadsheet is flat: one header row, one value per column. Hand-flattening a nested payload for a spreadsheet is fiddly work, and doing it by copy-paste invites the kind of small mistakes that quietly corrupt a dataset.

This converter does the flattening properly. It finds the array of objects that should become the rows, which is usually the root array but can be a nested path when the payload wraps its data in an envelope. Nested objects expand into dot-notation columns, so customer.city becomes its own column instead of an unreadable blob. The converter also recognises when the real table sits at a nested path, so an envelope such as data wrapping items produces rows from the inner array instead of failing on the wrapper. Arrays get three options: join the values into one cell, expand them into indexed columns, or skip them entirely. The delimiter can be a comma, a semicolon or a tab, and missing or null values can stay blank or appear as the literal text null.

The everyday cases are covered. An API export becomes a sheet an analyst can open. A webhook payload becomes a row you can filter and sort. A database dump becomes a table you can pivot. Numbers keep their original formatting rather than being reformatted, and a value that contains the delimiter is quoted correctly so the CSV still parses in every tool. When the document is a single object rather than an array, it becomes one row with one value per key, which is the honest answer rather than an error message. A header row is included by default so every column is named.

Conversion runs in your browser. Data exports frequently contain customer records, order histories and internal identifiers, and none of it is uploaded here. There is no account to create, no queue to wait in and no conversion limit beyond what your device can hold in memory.

The output follows the CSV standard that every spreadsheet and database import tool reads. Copy it straight to the clipboard or download it as a .csv file, and the only thing left to decide is which column to sort by first.

Automatic Row Detection

Arrays of objects become rows and keys become columns, with the source path shown.

Nested Flattening

Nested objects expand into dot-notation columns, or stay as JSON in a single cell.

Array Handling

Join array values into one cell, expand them to indexed columns, or skip them.

Delimiter Choice

Comma, semicolon or tab output to match your spreadsheet's regional settings.

Empty Value Control

Missing and null values can stay blank or appear as the literal text null.

Spreadsheet Ready

The result opens in Excel, Google Sheets and Numbers without any cleanup.

FAQ

Frequently Asked Questions

Paste your JSON or drop a .json file onto the page. The converter finds the array of objects, turns each object into a row and each key into a named column.

Nested objects flatten into dot-notation columns, so customer.city becomes its own column. They can also stay as raw JSON in a single cell if you prefer to keep the original shape.

The root array by default. When the document wraps its data in an envelope, you can pick a nested array as the row source instead of the whole document, which is the case more often than not.

It becomes one row, with one column per key. The tool notes that no array was detected rather than failing, which keeps single records usable instead of returning an error message.

You choose: join the values into one cell with a separator, expand them into indexed columns, or skip the field entirely from the output. All three options are one click away.

Comma, semicolon and tab. European spreadsheet locales usually expect semicolons, while US Excel and Google Sheets expect commas, so the choice depends on where the file will be opened in the end.

Yes. Empty values can be written as blank cells or as the literal text null, whichever your downstream tool or import process expects to read when the file is opened later.

No. The whole conversion runs in your browser, so exports containing customer records, order histories and internal identifiers never leave your device, not even for a moment, at any point in the process.

Yes. There is no signup, no watermark and no row limit beyond what your browser can handle locally on your own hardware, and every option is available immediately from the first visit.