Skip to content
LineOtter

JSON to CSV converter

Turn an API response or exported JSON into a spreadsheet. Each object becomes a row and each key becomes a column.

Runs in your browser. Nothing is uploaded.

Loading tool…

How to use

  1. Paste a JSON array of objects.
  2. Choose the output delimiter.
  3. Copy or download the CSV.

Common uses

  • Open an API response in Excel or Google Sheets to filter and sort it.
  • Hand data from a developer tool to a colleague who works in spreadsheets.
  • Export a list of records stored as JSON for an email tool or CRM import.

Example

Input
[{"id":1,"city":"Lyon"},{"id":2,"note":"a, b"}]
Result
id,city,note 1,Lyon, 2,,"a, b"

Good to know

  • The input must be an array of objects, such as [{"id": 1}, {"id": 2}].
  • Columns: every key found, in the order first seen. Missing keys and null become empty cells.
  • Flat values only: text, numbers or true/false. A nested object or list stops with an error naming where it is.
  • Long numbers: whole numbers above 9,007,199,254,740,991 get rounded. Put long IDs in quotes in the JSON.
  • Opening in Excel: choose semicolon as the delimiter if your Excel puts everything in one column.
  • Text stays in your browser tab and is not saved.

Questions

Why do my numbers lose leading zeros in Excel?

The CSV keeps them, but Excel converts on open. Import with Data → From Text/CSV and set that column to Text.

How are true, false and numbers written?

As text, exactly as JavaScript prints them: true, false, 42 or 3.14. Missing keys and null become empty cells.

Which delimiter opens best in Excel?

Comma in most English-language settings, semicolon in many European ones. If Excel puts everything in one column, convert again with the other delimiter.

My JSON has nested objects. What can I do?

Flatten them first, for example by moving address.city to a top-level city key, then convert. Nested values cannot fit in one CSV cell without losing their structure.

In which order are the columns?

In the order each key first appears across the items.