Convert JSON data into a CSV file that opens in Excel, Google Sheets, and most other spreadsheet programs. Paste your JSON or choose a file, pick your settings, and copy or download the result. The conversion happens in your browser, so your data stays on your device and is not uploaded to our servers.

Converting JSON to CSV is useful when you need to open API data in a spreadsheet, share records with someone who does not use JSON, or import data into a tool that only accepts CSV.

How to convert JSON to CSV

  • Add your JSON: paste it into the box, or click the drop zone to choose a JSON file. Press Try an example to see how it works.
  • Choose a delimiter: Comma is the standard. Use Semicolon or Tab if your spreadsheet expects them.
  • Choose how to handle nested data: Flatten turns nested objects into extra columns, and Keep as text leaves them as JSON in one cell.
  • Choose a header row: include the column names as the first line, or skip them to get data rows only.
  • Convert and save: press Convert to CSV, check the preview, then copy the CSV or download it as a file.

Settings options

SettingChoicesWhat it does
DelimiterComma, Semicolon, TabSets the character that separates columns. Comma is the standard CSV format.
Nested dataFlatten, Keep as textFlatten turns nested objects into columns such as address.city. Keep as text stores nested objects and lists as JSON in one cell.
Header rowInclude, SkipInclude adds the column names as the first line. Skip outputs only the data rows.

How JSON becomes CSV

JSONExampleResult
List of objects[{"name":"Ana"},{"name":"Ben"}]Each object becomes a row and each key becomes a column.
Single object{"name":"Ana","age":30}The object becomes one row.
Wrapper object{"data":[{"id":1},{"id":2}]}If the object holds one list of objects, that list is used.
Nested object{"address":{"city":"Manila"}}With Flatten, it becomes a column named address.city.
List value{"tags":["new","vip"]}The list stays in one cell as JSON text.
Different keys[{"a":1},{"b":2}]Columns are combined, and missing values are left empty.

What this tool does and does not do

The tool reads standard JSON and turns it into a table, using the settings you choose. Columns appear in the order the keys are first found. CSV has no data types, so every value is written as text, and a spreadsheet may reformat some of them, such as long numbers, leading zeros, or dates. Browsers read JSON numbers as floating-point values, so numbers with more than about 15 digits can lose precision. JSON Lines files, which hold one JSON object per line, are not supported. Values are written exactly as they appear, and spreadsheets can treat text that starts with =, +, -, or @ as a formula, so check data from an unknown source before opening it in a spreadsheet. The downloaded file starts with a UTF-8 marker so accented characters usually display correctly in Excel. Your original JSON is not changed.

Tips for better results

  • Start with a list of objects: it gives the cleanest table, with one row per record.
  • Use Flatten for API data: it spreads nested fields into their own columns so you can sort and filter them.
  • Use Keep as text to limit columns: deeply nested data can create many columns, and this keeps each field in one cell.
  • Check the preview: it shows the first lines of the CSV so you can confirm the columns before you download.
  • Import instead of double-clicking: in Excel or Google Sheets, use the import option to set column types and keep leading zeros.
Converting JSON to CSV turns structured data into a simple table that almost any spreadsheet or database tool can open.

Common JSON to CSV problems

  • Invalid JSON: the message under the result explains what went wrong. Check commas, brackets, and quotes. JSON needs double quotes around names and text.
  • Only one row appears: your JSON is a single object. Put your records in a list, or use an object that holds one list of objects.
  • There are too many columns: the objects have many different or nested keys. Choose Keep as text to store nested data in one cell.
  • Accented letters look wrong: import the file into your spreadsheet and choose UTF-8 as the encoding.
  • Numbers or dates changed in the spreadsheet: the spreadsheet reformatted them. Use its import option and set those columns to text.
  • The file was not added: only JSON files up to 5 MB are accepted. Pasting smaller parts of the data also works.

Frequently asked questions

How do I convert JSON to CSV for free?

Paste your JSON or choose a JSON file, pick the delimiter and how to handle nested data, press Convert to CSV, then copy or download the result. No account or software is needed.

Is my JSON uploaded to a server?

No. Your JSON is converted in your browser and remains on your device during conversion.

What JSON structure works best?

A list of objects works best. Each object becomes one row and each key becomes a column. A single object becomes one row. If your JSON is an object that holds one list of objects, that list is used.

How are nested objects and lists handled?

With Flatten selected, nested objects become separate columns with names such as address.city, and lists stay in one cell as JSON text. With Keep as text selected, both nested objects and lists stay in one cell as JSON text.

Can I open the CSV in Excel or Google Sheets?

Yes. The CSV opens in Excel, Google Sheets, and most spreadsheet programs. The download includes a UTF-8 marker so accented characters usually display correctly. If numbers or dates look wrong, use your spreadsheet's import option to set the column types.

Is there a size limit?

Files up to 5 MB can be added. For pasted text, keep it to a similar size, because the work happens on your device.

Does the converter support JSON Lines files?

No. The tool reads standard JSON, such as a list or an object. JSON Lines files, which hold one JSON object per line, are not supported.

Share this article