Nested Object Flattening
Turn nested object paths into columns such as location.city while keeping arrays in a single cell.
Convert JSON to CSV quickly and for free with VeltoGen. Change a JSON format to CSV using comma, semicolon or tab delimiters, flatten nested objects, preview table rows and download your complete export. Transform JSON to CSV without installing software.
Paste a single JSON object or an array of objects. Each object becomes one row in the exported table.
Use strict JSON with double-quoted property names. Arrays of objects are suitable for multiple CSV rows.
Choose a separator and control how your JSON records become table cells.
Columns are gathered from all rows in first-seen order. Null and missing values become empty cells. Duplicate property names in the same object are rejected.
JSON number digits are preserved in the exported text, but spreadsheet programs may reinterpret numeric values when importing.
VeltoGen helps you convert JSON to CSV using a free browser-based converter. JSON stores data in objects and arrays, while CSV organizes values into rows and columns for spreadsheets and data-processing applications.
To change a JSON format to CSV, paste an array of objects or one JSON object. Each object becomes a row, and the converter gathers property names across all records to build the columns.
You can also transform JSON to CSV with nested-object flattening, choose commas or semicolons, or select tabs to create a TSV file. The converter includes a table preview, full output copying and direct downloads.
Original JSON numeric literals are kept in the exported text. However, CSV cannot preserve every JSON data type, and spreadsheet software can reinterpret numbers, dates and identifiers during import.
Turn JSON records into a downloadable CSV or TSV with your preferred settings.
Enter an array of JSON objects or a single object in the input editor.
Select comma, semicolon or tab, then set flattening, header, BOM and formula-text options.
Click Convert and review the generated rows, columns and preview.
Copy the complete delimited output or download the CSV or TSV file.
Export JSON objects as tables with nested-field handling, multiple delimiters and full file downloads.
Turn nested object paths into columns such as location.city while keeping arrays in a single cell.
Choose comma, semicolon or tab delimiters, with the correct file extension.
Keep original JSON number digits and exponent notation in the generated file.
Inspect columns, rows and raw delimited output before downloading.
Include an optional BOM to help compatible spreadsheet software recognize UTF-8.
Optionally prefix spreadsheet formula-like strings and headers with an apostrophe.
Prepare structured data for tabular workflows without manually building rows and columns.
Automatically generate aligned columns and rows without copying each JSON property individually.
Collect columns from all records and leave missing values as empty cells.
Check representative rows and raw output before saving your full file.
Avoid conversion-induced rounding of long JSON numeric tokens, while remembering that spreadsheet imports may reinterpret them.
Useful for API data, spreadsheet imports, reporting and developer workflows.
Turn arrays of API response objects into row-and-column data for easier analysis.
Create CSV or TSV files for Excel, Google Sheets and other compatible applications.
Align fields across records to compare properties and prepare simple reports.
Flatten object properties into distinct columns without manually building field paths.
This example shows the structure of a two-record JSON array and its resulting CSV output.
[
{"id":1,"name":"Alex","city":"Riyadh"},
{"id":2,"name":"Sara","city":"Jeddah"}
] OUTPUT CSV "id","name","city"
"1","Alex","Riyadh"
"2","Sara","Jeddah"Each JSON object becomes one data row. Property names become CSV headers, while values are aligned under their corresponding columns.
| JSON Value | Export Behavior |
|---|---|
| Top-level object | One table row. |
| Array of objects | One row per object. |
| String | String text, with CSV double-quote escaping. |
| Number | Original JSON number text. |
| Boolean | Lowercase true or false. |
| Null or missing property | Empty CSV cell. |
| Nested object | Flattened path columns or compact JSON in one cell. |
| Nested array | Compact JSON in one cell. |
| Empty nested object | Compact {} JSON in one cell. |
Learn about JSON array conversion, flattening nested objects, separators, number precision and safer spreadsheet imports.
JSON stores structured objects and arrays. This converter interprets each top-level object as a row and collects all object property names as columns. The result is a delimited text table.
When flattening is enabled, a property such as location.city becomes one column. A literal dot in an original property name is escaped, avoiding confusion with a nested path. Arrays remain compact JSON values.
Comma and semicolon exports produce CSV files, while tab-separated output uses a TSV extension. All fields are double-quoted, embedded double quotes are escaped and records use CRLF line endings.
The converter validates JSON and then works from original tokens to retain numeric text. Long integer digits, decimal values, exponent notation and negative zero are preserved in the exported file, but spreadsheet software may still interpret them as numbers.
Some spreadsheet programs interpret imported cells beginning with formula markers. The optional prefix setting adds an apostrophe to matching text fields and headers. The prefix changes exported values and is not a universal safety guarantee.
Downloaded CSV or TSV files use UTF-8. An optional byte order mark can help some applications identify the encoding. Copy Output does not include the BOM, even when the download option is selected.
Input supports 200,000 UTF-16 units, 100 nesting levels, up to 10,000 rows, 200 columns and 250,000 table cells. The exported text is limited to 5,000,000 units. Previews are deliberately shorter, but copying and downloading use the complete result.
This component converts JSON into CSV or TSV directly in your browser. It does not intentionally send entered data to a conversion API or store it in browser storage.
CSV may not preserve original JSON data types on import. Formula-like text prefixing is an optional precaution, not a universal guarantee. Clearing the workspace does not delete existing downloads or clipboard content.
Answers about JSON to CSV, nested arrays, headers, TSV, UTF-8 encoding, spreadsheet imports and limits.
Paste an array of JSON objects or one JSON object, choose CSV settings, click Convert to CSV and download the resulting file.
Yes. You can convert JSON to CSV or TSV in a supported browser without registration or installing software.
Each JSON object becomes a row. Property names become columns and values are placed into the matching columns. Missing values are exported as empty fields.
Yes. This component processes the entered JSON locally in your browser without an external conversion API.
Use a single top-level object for one CSV row or a nonempty array containing objects. A primitive or an array containing non-object items is not accepted as a table.
When Flatten Nested Objects is enabled, nested paths become columns such as location.city. Otherwise, nested objects are exported as compact JSON inside individual cells.
Yes. Each object in the input array becomes one row. Nested arrays inside those objects remain JSON inside one field rather than creating additional rows.
Columns are collected from every object in first-seen order. If a row does not have a field, its corresponding CSV cell is empty.
The generated CSV contains the original numeric digits. However, spreadsheet applications may automatically round large values during import, so identifiers should be imported as text.
Yes. You can use comma-separated or semicolon-separated output. Both are downloaded with the .csv extension.
Yes. Select the Tab delimiter to generate tab-separated text, downloaded with the .tsv extension.
Yes. Disable Include Header Row. The table preview still displays column names to help you inspect the data.
It adds a Unicode encoding marker to the downloaded file, helping some programs recognize UTF-8. The copied text does not include the BOM.
JSON null values, missing properties and empty strings produce empty CSV cells, so those distinctions are not preserved in this export.
Every CSV field is enclosed in double quotes. Embedded double quotes are doubled, and records use CRLF line endings. Line breaks inside strings are preserved.
The optional formula-text protection prefixes an apostrophe to text or header values that resemble formulas. Spreadsheet behavior varies, and this option does not guarantee protection in every application.
No. Duplicate property names within the same object are rejected so conflicting values are not silently overwritten.
The input limit is 200,000 UTF-16 units, nesting is limited to 100 levels, and output is limited to 5,000,000 units. Tables support up to 10,000 rows, 200 columns and 250,000 cells.
No. The preview displays up to 50 rows and 12 columns and shortens long cells. Copy and Download use the complete generated export.
Yes. CSV and TSV are common spreadsheet import formats. Select the matching delimiter and encoding in your spreadsheet application, and import identifiers as text when necessary.