JSON to CSV
Paste a JSON array of objects and get a CSV table. Nested objects can be flattened to dotted column names (address.city). Arrays inside a field are stored as JSON strings.
JSON
Limits
- The input is limited to 2 MB of UTF-8 text (8 MB if you load a file). Larger files can run out of memory in a phone browser tab.
- The JSON root must be an array or an object. A primitive such as 42 cannot become a table.
- Deeply nested or inconsistent structures may produce many columns, or pack leftover arrays into a single cell as JSON.
- There is no type inference: numbers and booleans are written as text.
- A very wide table (thousands of distinct keys) can be slow or unwieldy in a spreadsheet.
CSV
How to use JSON to CSV
- Paste JSONAn array of objects works best. A single object becomes one row.
- Choose flattening and the delimiterFlatten nested keys, and pick comma, semicolon or tab.
- Copy or downloadCopy the CSV or download a .csv file. Open it in a spreadsheet if you want.
How rows and columns are built
If the root is an array, each element is a row. If it is an object, you get a single row. When flattening is on, nested objects become dotted keys (user.name) and nested arrays are serialized as JSON text in one cell. Column names are the union of all keys, so sparse objects still line up.
The CSV itself is written by Papa Parse (MIT) with standard quoting. This is not a database export: types become text, and a later CSV to JSON step will give you strings, not numbers, unless you convert them yourself.
Frequently asked questions
Is my text or file uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.
What happens to nested objects?
With flattening on, { "user": { "name": "Ada" } } becomes a user.name column. Nested arrays become a JSON string in one cell. Turn flattening off to keep only top-level keys (nested objects may stringify poorly).
Can I open the result in Excel?
Yes. Download the .csv file. If you need a real .xlsx workbook, use CSV to Excel instead.
Why did I lose types?
CSV has no types. Everything is text. Convert columns back to numbers in your own script or spreadsheet if you need to.
Related tools
All toolsCSV to JSON
Parse CSV into JSON in your browser with Papa Parse, with or without a header row.
JSON Formatter & Validator
Format, minify, sort keys, and catch syntax errors cleanly.
CSV to Excel Converter
Turn CSV and TSV files into proper XLSX workbooks.
Excel to CSV Converter
Export every sheet of XLSX, XLS or ODS workbooks to CSV.