Skip to content
PocketCaliper
Language
Open menu

Runs locally in your browser

JSON to CSV

Convert a JSON object or array of objects into CSV for spreadsheets. Nested keys flatten with dots, all inside your browser.

Paste records from an API and download a comma-separated sheet. Nested objects become dotted headers like user.email.

Flattening and escaping run in this tab. Spreadsheet data is not uploaded to convert.

How to use

  1. Paste an object or an array of objects.
  2. Convert to CSV.
  3. Copy the table or download a .csv file.

How it works

Arrays of objects become rows. A single object becomes one row. Nested objects flatten. Nested arrays serialize as JSON in the cell.

Fields with commas, quotes, or newlines are wrapped in quotes per CSV rules. Headers are the union of all flattened keys.

Examples

  • User export

    [{id, profile: {email}}] becomes columns id and profile.email for a spreadsheet filter.

  • Single record

    One order object still produces a header row plus a single data row.

FAQ

Can I convert an array of numbers?

No. Each row must be an object. Wrap primitives in objects first.

How are nested arrays handled?

They land in a cell as a JSON string so the grid stays rectangular.

Is the delimiter a semicolon?

No. This exporter uses commas. Open the file with a comma separator in your sheet app.

Does conversion happen on a server?

No. CSV is built in this browser tab.

Related tools