JSON to CSV
Convert JSON and JSON Lines to CSV or Excel: nested objects become columns, arrays stay readable. Handles API responses and large NDJSON files, no upload.
About this tool
Turn JSON into a table you can open in Excel
API exports, webhooks and logs arrive as JSON. Drop the file and its records become rows: nested objects are flattened into columns like customer.address.city, lists are kept as JSON text in one cell, and an API response that wraps its records in a field like "data" is unwrapped for you.
Nested objects flattened
Every field of every nested object gets its own column, named parent.child, at any depth.
Arrays of records found
A document like {"data": [ … ]} is recognised and its records are read as rows.
JSON Lines and big files
Newline-delimited JSON is read record by record, so large log and event exports open too.
Nothing leaves your device
The engine runs in your browser tab. There is no upload, no account and no server copy of your data.
How to use it
- Drop a .json, .jsonl or .ndjson file on the page.
- Check the flattened columns; remove the ones you don't need.
- Export as CSV (any delimiter and encoding) or Excel.
Frequently asked questions
What happens to arrays inside a record?
A list such as tags or line items is written as JSON text in one cell, so no information is lost. To give each list item its own row, use the Split column step with "into rows".
Does it work with JSON Lines / NDJSON?
Yes. One JSON object per line is read as one row; the format is detected automatically.
Can I go the other way, CSV to JSON?
Yes. Open a CSV or Excel file and export as JSON (an array of objects) or JSON Lines.
Are my files uploaded?
No. The files are read by a database engine (DuckDB, compiled to WebAssembly) that runs in your browser tab. Nothing is sent to a server, so customer lists, payroll exports and order data stay on your device. Remote URLs are switched off in the SQL editor too.
How big can a file be?
On a computer, files of several hundred MB and millions of rows open fine; the limit is the memory a browser tab may use (about 4 GB for WebAssembly). Phones and tablets have far less, so very large files are best opened on a computer.