Expands JSON records into a table.
This tool runs on JavaScript. To use it, turn on JavaScript in your browser and reload the page.
JSON → CSV turns JSON records into a CSV file that opens in a spreadsheet. The most common form is a list of objects; each object becomes a row and each key a column. A container object with a single list inside it, which is common in API responses (an object holding only a “veriler” list, for example), is recognised too and the list inside it is made into the table. The columns are lined up in the order in which the keys first appear; a field missing from a record stays an empty cell.
With the “Flatten nested fields” option switched on, nested objects are opened into dotted column names such as “address.city”, and lists into numbered columns such as “tags.0”, “tags.1”; no value is lost, only its place changes. The column separator can be a comma, a semicolon or a tab. Because spreadsheet programs set to languages such as Turkish or German count the comma as a decimal separator, choose the semicolon if you are going to open the table in one of them. If the JSON is broken, the line and column of the error are given. Files up to 32 MB can be uploaded. You can upload up to 20 files at once; they are all processed with the same settings, and several files download as a single ZIP.
Quoting follows the RFC 4180 rules: by default only values that contain the separator, a quote or a line break are wrapped in double quotes, and quotes inside a value are doubled. The UTF-8 mark (BOM) adds a three-byte marker at the start of the file so that Excel opens it with the right encoding; some programs may take this marker as part of the first column name, so use it only for files that will be opened in Excel. When nested fields are flattened, values are not lost; only empty lists and empty objects produce no column, since they carry no value. The file can be up to 32 MB.
The separator the program expects is different. Spreadsheets set to languages such as Turkish or German expect a semicolon; run the tool again with the semicolon.
With flattening on, every inner value is written into its own column: a record {“address”: {“city”: “London”}} becomes London in the “address.city” column.
A single object becomes a table of one row. If it is an object carrying a single list inside it, that list is made into the table.
No. Your file reaches the server only to be processed and is deleted when the job is done; the output is deleted too once you download it and leave the tool. You don't need an account, a name or an email address, and your files are never sent to a third-party service. It is free to use: we set no hourly or daily quota on the number of jobs, we don't make you watch an ad before processing, and we add no watermark to the output.
About us · Contact · Privacy & KVKK · Cookie Policy · Terms of use