A list of records
Paste a small example into the tool and change one part at a time.
Becomes a CSV with an id,name header and one row per object.
Convertissez des tableaux JSON en CSV et inversement, avec ligne d'en-tête.
Dernière mise à jour
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
A JSON to CSV converter turns structured JSON data - typically an array of objects, like an API response - into a flat comma-separated table you can open in Excel, Google Sheets, or a database import. It also works in reverse, parsing a CSV file (with a header row) back into a JSON array of objects.
Converting JSON → CSV, the tool collects every key across all objects to build the header row, then writes one row per object. Values that contain commas, quotes, or line breaks are wrapped in quotes per the CSV standard, so the output opens cleanly in any spreadsheet. Converting CSV → JSON, the first row is treated as the column names and each following row becomes an object; numbers and booleans are recognized automatically.
Everything runs locally in your browser - your data is never uploaded.
Choose JSON → CSV to flatten JSON into a table, or CSV → JSON for the reverse.
For JSON → CSV, paste an array of objects. For CSV → JSON, paste CSV whose first row is the header.
Columns are auto-detected from the object keys (JSON → CSV) or the header row (CSV → JSON).
Copy the result with one click, or hit swap to convert it straight back the other way.
Paste a small example into the tool and change one part at a time.
Becomes a CSV with an id,name header and one row per object.
Copy the original value, run the tool, then compare the result.
The comma inside the value is preserved by wrapping the cell in quotes: "hello, world".