JSON to CSV

Convert JSON to CSV

Paste a JSON array, an API response or JSON Lines. Nested fields are flattened into columns, and the table is ready to download as CSV or paste into a spreadsheet.

Result

Results appear here as you paste.

Runs in your browser. Nothing you paste is uploaded.

How to use it

  1. 1

    Paste your JSON: an array of objects, an API response, or one JSON object per line (JSON Lines).

  2. 2

    Check the preview. Nested objects become columns such as seller.name; lists of plain values are joined with semicolons.

  3. 3

    Download the CSV, or copy the table and paste it into Excel or Google Sheets.

Frequently asked questions

Short answers to what people usually ask before installing.

How are nested objects handled?

Each nested field gets its own column named by its path, for example address.city. Turn off "Flatten nested objects" to keep each nested object as JSON text in one column.

What happens to arrays?

A list of plain values, like tags, is written as "red; blue" in one cell. A list of objects, like reviews, is kept as JSON text in its cell, because spreading it across columns would give each row a different number of columns.

My JSON is an object, not an array.

If the object has a field holding a list of records, such as data or items, that list becomes the rows, even when it is nested a few levels down (data.items). The tool tells you which field it used. Otherwise the object becomes a single row.

Does it support JSON Lines (NDJSON)?

Yes. If the input isn't a single JSON document but every line is one, each line becomes a row.

Are long IDs kept exactly?

Yes. Integers longer than JavaScript can store exactly, like 19-digit post or user IDs, are copied digit for digit instead of being rounded.

Is my data uploaded?

No. Parsing and conversion run in your browser.

30 seconds to start

Install free. Your first table in minutes.

Free Chrome & Edge extension. Sign in and start.

You start with 400 free credits, enough to try your first table. Top up only when you need more.