SMALL TOOLS. BIG POSSIBILITIES.111 free tools
FREE · NO SIGN-UP · LOCAL PROCESSING

JSON to CSV

Take your structured data from code to spreadsheet.

Loading tool controls…
A PRACTICAL STARTING POINT

Get a useful result from JSON to CSV.

Convert a JSON array of objects into CSV columns without sending the data to a server. Nested object keys become dotted column names, while the header includes keys found across all rows.

When this tool helps

  • Prepare a small API export for review in a spreadsheet.
  • Compare records that have different optional fields.
  • Inspect nested object values in a flat column layout.

Start with an array of objects

The top-level value must be an array such as [{"name":"Alex","count":3}]. A single object, an array of strings or invalid JSON is rejected. Missing fields become empty cells; nested arrays remain JSON text inside a cell.

Check spreadsheet imports before sharing

The converter quotes cells containing commas, quotes or line breaks. It also prefixes values that look like spreadsheet formulas with an apostrophe to reduce formula-execution risk. Review the imported result because spreadsheet applications and import settings can interpret dates, large identifiers and leading zeros differently.

Example input

[{"name":"Alex","address":{"city":"Lahore"}},{"name":"Sam","address":{"city":"Karachi"}}]

Expected output

name,address.city
Alex,Lahore
Sam,Karachi

The address.city header comes from a nested object. The download uses comma separators and CRLF line endings. Real inputs can include quoted values and additional columns.

Questions about this task

Does the converter flatten nested JSON?

Nested objects are flattened into dotted keys, such as address.city. Arrays are serialized as JSON text in a cell. Check that these columns suit your downstream import.

Will a large numeric identifier keep every digit?

Not necessarily. JavaScript parsing can round integers above its safe precision range. Keep identifiers as strings when your data contract allows it and retain the source for comparison.

How to use JSON to CSV

Paste an array of JSON objects, then convert. Nested object keys use dot notation and nested arrays remain JSON strings.

Good to know

Requires an array of objects. Spreadsheet formula-like cells are prefixed with an apostrophe to reduce formula injection risks.

A few helpful answers

Is this tool free?

Yes. All features on this page are free and require no account.

Where is my data processed?

In your browser. Tool input and selected images are not sent to our servers. Clear the page or close the tab to discard your input.

What should I check before using the result?

Requires an array of objects. Spreadsheet formula-like cells are prefixed with an apostrophe to reduce formula injection risks.

WhatsApp