AI Tools Free

JSON to CSV Converter

Convert a JSON array of objects to CSV online for free. Combine keys into columns, review the result, then copy or download the CSV in your browser. No sign-up required.

Free to useNo sign-upRuns in your browser
Enter your details

Paste object records, then select Convert to CSV.

Escaping changes cells beginning with =, +, -, @, tab, or carriage return. It is not a guarantee against every spreadsheet importer.

Your result
Enter your details

Result will appear here

How JSON to CSV conversion works

Turn JSON object records into a table while keeping control over the exported CSV cell text.

Each object becomes one CSV row. The converter collects keys across the records in their first encountered order, then quotes values where CSV requires it.

Missing and null values produce empty cells. Nested objects and arrays stay together as compact JSON text inside a cell.

Numeric tokens retain their digits without rounding during conversion. The limit is 100,000 input characters, 5,000 object records, and 100 columns. Check your spreadsheet import settings before relying on its display of identifiers or dates.

JSON records on the left connect to a CSV grid on the right, illustrating how object fields become table columns.
Each object becomes a row. Fields found across the records become CSV columns.

How to convert JSON to CSV online

Paste a JSON array of objects, review the CSV columns, and choose the export treatment for your spreadsheet workflow.

Paste a JSON array of objects

Paste a nonempty JSON array of objects into the JSON array field. In the pictured example, Ada has a city field and Lin has a team field. Each object represents one output row. A single object or an array of scalar values is not supported.

JSON input
JSON to CSV Converter input panel containing two object records with different keys and the spreadsheet formula prefix setting enabled.
Paste an array of objects. Records can contain different fields.

Convert records and review CSV columns

Select Convert to CSV and review the headers. This example produces name, city, note, and team columns, collected in the order their keys are first encountered. Check several records: a missing field and a null value both produce an empty cell.

Combined columns
Actual converter result with four combined columns: name, city, note and team; missing values are empty and the formula-like value has an apostrophe prefix.
The columns include name, city, note, and team. Missing fields produce empty cells.

Choose CSV export options

Choose Prefix with an apostrophe or Keep exact cell text for formula-like cells. Select Convert to CSV again after changing that setting. Review the output, then use Copy result or Download converted.csv. Check long numbers and nested values in the receiving application, whose import settings may change how cells are interpreted.

Export result
Actual generated CSV, copy and Download converted.csv controls, and the note confirming that formula-like cells were prefixed with an apostrophe.
The apostrophe prefix appears in the CSV. Copy or download the result to export it.

Convert JSON records for spreadsheets and CSV workflows

Create CSV rows from JSON records with different keys or nested values, then check how your spreadsheet imports the cells.

Prepare JSON records for spreadsheet import

Convert an object array into CSV when a spreadsheet is the next review environment. Inspect the importer treatment of dates, identifiers, and formulas separately. The conversion creates cells but does not set the destination column types or spreadsheet display formats.

Structured JSON records connect to one CSV table, with combined fields and some empty cells for spreadsheet review.
Prepare a table from your records, then check column types in your spreadsheet importer.

Review CSV columns when JSON keys differ

Use a sample where objects have different fields to inspect the union of headers. Empty output cells can represent a missing key or a null value, so retain the JSON source if that distinction affects your interpretation of the table.

Alex and Sam become two CSV rows. Sam's team cell is empty because the second JSON record has no team field.
A field can be present in one record and missing in another. The missing value produces an empty cell.

Keep nested JSON in a CSV cell

Convert records containing an object or array in a field when a single CSV cell is acceptable for that nested content. The nested value becomes compact JSON text. Use another transformation if the destination requires separate columns for its inner keys.

A one-record JSON array becomes name and meta columns. The nested team object stays inside one meta cell as JSON text.
Nested objects stay together as compact JSON text. Inner keys do not become separate columns.

How nested JSON and missing values appear in CSV

See how JSON objects and arrays, empty fields, and numeric text are represented in the CSV output.

Nested arrays and objects are serialized inside a cell rather than flattened into dotted column names. Null and missing values both become empty cells, which removes that distinction from the table.

Numeric tokens retain their textual digits in the output. A spreadsheet or other consumer can still parse them into a different numeric representation, so test long identifiers at the destination.

An object inside a JSON array becomes a CSV row: id is 00123, tags remain an array in one cell, and a null note becomes empty.
The CSV keeps the ID text and serialized array. Check import settings to control how the spreadsheet reads them.

Check JSON input and spreadsheet CSV import settings

Check the JSON array structure and CSV export settings before opening the result in a spreadsheet.

Use valid JSON containing a nonempty array of objects. The converter accepts up to 100,000 input characters, 5,000 records, and 100 resulting columns. JavaScript object literals with unquoted keys or trailing commas are not valid JSON.

Formula escaping prefixes selected leading characters and changes the cell text. Review that setting alongside the importer behavior rather than treating it as a guarantee for every spreadsheet environment.

A checklist for JSON array shape, column names, and the formula prefix setting, above a JSON-to-CSV conversion arrow.
With prefix enabled=SUM(1,2)→'=SUM(1,2)
The prefix changes exported cell text. Review it with your spreadsheet importer.

Convert your JSON array to CSV

Paste your JSON object records, review the columns, and copy or download the CSV.

Use JSON to CSV Converter

JSON to CSV converter: common questions

Answers about JSON input, CSV output, and spreadsheet import settings.

What JSON input does this converter accept?

Paste a nonempty JSON array of objects. A single object, an empty array, or an array of scalar values is not supported. The input limit is 100,000 characters, with up to 5,000 records and 100 resulting columns.

Must every record have the same keys?

No. The CSV headers include keys found across all records, in the order they are first encountered. A missing key or a null value produces an empty cell.

Are nested objects and arrays flattened?

No. Nested objects and arrays become compact JSON text inside one CSV cell. They do not become separate columns for each inner key.

Will a spreadsheet preserve long numbers and identifiers?

The converter preserves numeric token digits in its CSV output. A spreadsheet may still interpret long numbers, leading zeros, or dates differently. Check the destination import settings and use text columns for identifiers where appropriate.

What does the formula escape option change?

The default option adds an apostrophe to cells beginning with =, +, -, @, tab, or carriage return. Keep exact cell text leaves them unchanged. Review the result with your spreadsheet importer; the prefix is not a guarantee against every importer.

Can I copy or download the converted CSV?

Yes. After selecting Convert to CSV, use Copy result or Download converted.csv in the result panel. Conversion runs in your browser and does not require an account.