How JSON is turned into CSV
JSON from an API, a database export or a log file is usually a list of records: an array where each item is an object with similar keys. CSV (comma-separated values) stores the same records as plain text, one line per record and one column per field. This converter makes every object a row and every key a column. Columns appear in the order keys are first seen, so if a later record has an extra field, a new column is added and earlier rows leave that field empty. If your JSON is an object that wraps the records, such as {"data": {"users": [ … ]}}, the tool searches inside it, finds the first array of objects and tells you which one it used.
Flattening nested objects and arrays
A CSV cell can only hold one value, so nested objects are flattened with dot notation. A record like {"address": {"city": "Austin", "zip": "78701"}} becomes two columns, address.city and address.zip, at any depth. Arrays have two options. “One cell” joins simple lists such as tags into a value like math, poetry, and keeps arrays of objects as compact JSON text so nothing is lost. “Column per item” spreads arrays into indexed columns such as tags.0 and tags.1, which works well when records hold short lists of similar length. Numbers and true or false are written exactly as they appear in the JSON, and null becomes an empty field.
Correct quoting, delimiters and Excel support
The output follows RFC 4180, the common standard for CSV. Any field that contains the delimiter, a double quote or a line break is wrapped in double quotes, and quotes inside it are doubled, so Said "hello" becomes "Said ""hello""". Fields with leading or trailing spaces are quoted too, so the spaces survive. Lines end with CRLF, as the standard specifies. Choose a semicolon if you open files in a spreadsheet set to a European locale, where the comma is the decimal separator, or a tab for tab-separated values that paste neatly into spreadsheets. The optional UTF-8 byte order mark at the start of the download helps Microsoft Excel display accented letters, symbols and emoji correctly; turn it off for scripts or databases that do not expect it. The header row can also be switched off when you are appending rows to an existing file.
Private, fast and in your browser
Parsing, flattening and building the CSV all happen on your device, so your data is never uploaded. Files up to 50 MB can be loaded, and the preview shows the first rows as a table on wide screens or as cards on phones while the copy and download include every row. If your JSON does not parse, the tool shows the browser’s explanation with a line and column when available; tidy it first with the JSON formatter. Need a real spreadsheet with numeric cells instead of plain text? Use the JSON to Excel converter to download an .xlsx file.