JSON to CSV Converter

FREE DATA CONVERTER · NO API · NO SIGN-UP

Convert JSON arrays and objects into clean CSV files in your browser. Paste JSON or upload a file, flatten nested fields, preview your rows, and copy or download the result.

01 / INPUT

Input JSON

Enter a JSON array or object. Fields from all records become columns.

Up to 2 MB of JSON · 10,000 records · 300 CSV columns

Data stays on your device while converting. Arrays remain JSON strings. Nested object keys use dotted column names when flattening is enabled.

02 / OUTPUT

CSV output

Your CSV preview and download options appear here.

Rows0
Columns0
CSV size—

Data preview

Preparing sample CSV preview…

Preview shows up to 8 rows and 8 columns.

How to convert JSON to CSV

Paste your JSON or upload a .json file, select your delimiter, and click Convert to CSV. The table preview updates with the first eight records. Copy the CSV or download a UTF-8 CSV file.

What happens to nested objects?

With flattening enabled, an object such as {"location":{"city":"London"}} becomes the column location.city. Arrays remain JSON strings to avoid losing data.

Is my JSON uploaded to ToleHub?

No. JSON parsing, conversion, preview and download take place in your browser. No paid service or conversion API is used.

How does formula protection work?

Text values beginning with formula characters are prefixed with an apostrophe when the protection option is enabled (the default). It reduces spreadsheet formula injection risk but you should still review untrusted CSV data.

How JSON becomes a CSV file

JSON holds objects and arrays; CSV uses rows and columns. This converter takes record fields and makes them CSV headings. Each record becomes a row. Turn on flattening to make nested properties into columns such as customer.city. Arrays remain JSON-formatted strings in cells.

Example: two orders

Suppose your JSON contains two orders: [{"order":101,"product":"Notebook","qty":2},{"order":102,"product":"Pen","qty":4}]. The resulting CSV has headings order,product,qty followed by rows 101,Notebook,2 and 102,Pen,4.

Mistakes to check

  • Invalid syntax: Missing commas, quotes or brackets cause conversion errors.
  • Nested fields: Turn on flattening if you want dotted column names.
  • Arrays: These become text in a cell, not extra rows.
  • Untrusted text: Keep spreadsheet formula protection enabled and inspect the exported file.

JSON to CSV FAQ

Can I upload a JSON file?

Yes. The tool supports .json files up to 2 MB, 10,000 records and 300 columns.

Does my JSON go to a server?

Conversion runs locally in the browser rather than through a remote conversion API.

Can I change the separator?

Yes. Choose a comma, semicolon or tab.

Why are some cells blank?

If a field is missing from a record, the corresponding cell is blank.

Does it convert CSV back to JSON?

No. This tool converts JSON to CSV only.