JSON to CSV Converter

This tool turns a flat JSON array of objects into a CSV table while quoting fields that contain commas, quotes, or line breaks.

Last updated: November 27, 2026  •  Published by: NOFYI Editorial Team  •  Category: Converter Tools

Workspace

What is a JSON to CSV Converter?

A JSON to CSV converter turns JSON data, usually an array of objects, into comma-separated text with a header row. CSV is the format spreadsheets expect, so this conversion is useful when API data or application data needs to be opened in a spreadsheet, shared as a flat table, or imported into another system that reads CSV.

How to Use This Tool

  1. Paste your JSON into the input box. It should be an array of objects, for example [{"name": "Asha"}].
  2. Check that the JSON is valid: every key and string value uses double quotes, and objects are separated by commas.
  3. Click Convert to generate the CSV output.
  4. Review the header row: it lists the field names taken from the objects.
  5. Copy the CSV or open it in your spreadsheet program.

Worked Example

Input JSON (2 objects, 3 fields each):

[{"name": "Asha", "age": 28, "city": "Mumbai"}, {"name": "Ravi", "age": 34, "city": "Delhi"}]

Output CSV:

name,age,city
Asha,28,Mumbai
Ravi,34,Delhi

There are 2 objects, so the CSV has 2 data rows plus 1 header row (3 rows total). The 3 keys become the 3 columns. The numbers 28 and 34 appear without quotes in the CSV because CSV has no data types; when you reopen the CSV in a spreadsheet, it will treat them as numbers.

Limitations

  • CSV is flat. Nested objects and arrays inside the JSON cannot be represented as simple columns and may be flattened, stringified, or dropped depending on the converter.
  • All objects should have the same keys. An object missing a key leaves an empty cell in that row.
  • Values containing commas, quotes, or line breaks must be quoted correctly in the CSV output; check them before importing.
  • Very large JSON arrays may be slow in the browser.
  • Do not paste passwords, personal records, or other confidential data into any public web tool.

Frequently Asked Questions

What JSON shape does this tool expect?

An array of objects with the same keys, for example a list of users where every user has name, age, and city. A single object or a deeply nested structure may not convert cleanly to a flat table.

What happens to nested objects?

CSV has no nesting, so a nested value cannot become a single cell without losing structure. Some converters turn it into a text string; others drop it. Flatten nested data first if you need it in columns.

Why did a value with a comma break my spreadsheet import?

That value must be wrapped in double quotes in the CSV, for example "Paris, France". If it is not quoted, the spreadsheet treats the comma as a column separator and splits the value.

Can I convert CSV back to JSON?

Yes, with a CSV to JSON converter. The header row becomes the keys, and each row becomes one JSON object. Remember that CSV values come back as text unless you convert numbers afterward.

Convert a flat JSON array into CSV

Paste an array of objects. The converter creates a header row from the combined object keys.

Processing mode: browser-only for this tool. The interface does not require a server upload to perform its transformation.