JSON to CSV Converter

Convert JSON to CSV online for free. Paste JSON or choose a file, preview records, select columns and download CSV. Runs locally in your browser.

JSON to CSV Converter

Validate JSON, choose columns, flatten nested records and export CSV locally in your browser.

JSON content is parsed locally in this browser tab. Files are not uploaded to ToolMint servers, and analytics do not include filenames, JSON contents, object keys, column names, cell values or generated CSV.

Paste JSON or upload one UTF-8 .json file up to about 20.0 MB.

Use an array of objects for multi-row CSV, or a single object for one row. JSON is parsed, never executed.

Conversion options

CSV escaping is handled for the selected delimiter.

Default. Nested objects use dot notation up to 10 levels.

Disable this to export only data rows in the selected column order.

Preview

Validate JSON before conversion

Choose Validate JSON or Convert to CSV to detect records and columns.

Columns

Validate JSON to detect columns.

No columns yet

Validate JSON to detect the union of object keys.

CSV output

Convert JSON to generate CSV.

No CSV yet

Validate the JSON, choose columns, then convert to CSV.

Conversion notes

  • CSV output is text; numbers and booleans are serialized without locale formatting.
  • Null values become empty cells by default.
  • Arrays and complex values become JSON strings unless they are flattened object properties.
  • Column names and private values are not sent to analytics.
Steps

How to use

  1. Paste JSON text or upload one .json file.
  2. Validate the JSON to detect records and columns.
  3. Choose whether nested objects should be flattened and whether headers should be included.
  4. Select and reorder the columns you want to export.
  5. Choose a delimiter, then convert, copy or download the CSV output.
Examples and use cases
  • Export API response records into CSV for spreadsheet review.
  • Flatten nested user profile fields into dot-notation CSV columns.
  • Convert one JSON object into a single-row CSV fixture.
  • Create semicolon-delimited CSV for regional spreadsheet settings.
Privacy, limits and tool details

Key facts

Best use case
Exporting JSON records from APIs, apps or static data files into spreadsheet-friendly CSV
Input methods
Paste JSON text, choose a JSON file or drag and drop one JSON file
Supported JSON shape
Array of objects, plus one top-level object as a single CSV row
Output format
CSV text with copy and .csv download
Nested data handling
Flatten nested objects with dot notation by default, or keep nested values as JSON strings
Delimiter options
Comma, semicolon, tab and pipe
Header control
Include or exclude the CSV header row
File-size guidance
Designed for browser-side JSON files around 20 MB or smaller
Privacy model
JSON parsing and CSV generation happen locally in the browser with no JSON upload
Main limitation
Mixed arrays and top-level primitive values are rejected because they cannot form reliable CSV rows
Privacy

Privacy and processing

Processing method: JSON is parsed with native JSON.parse in the browser, normalized into object records, serialized with Papa Parse and downloaded as a Blob without sending JSON content to ToolMint servers.

Privacy model: JSON contents, filenames, object keys, column names, cell values, record contents and generated CSV are not sent through analytics or uploaded to ToolMint servers. Data remains in the current browser tab until reset, refresh or close.

Limitations

Limitations

  • Very large JSON files can use significant browser memory because the source JSON, parsed records and generated CSV all exist in the tab.
  • Top-level primitive values, empty arrays, arrays containing only primitives and mixed object/primitive arrays are rejected.
  • Arrays inside object properties are serialized as JSON strings rather than expanded into repeated CSV rows.
  • Nested flattening is capped at 10 levels to avoid pathological recursion.
  • The tool expects text JSON input. Binary spreadsheet files and JSONL streams are not supported by this converter.

Page freshness

Published
Jul 14, 2026
Last updated
Oct 31, 2026
Features

Benefits

Column control

Detect the union of object keys, select fields and reorder selected columns before export.

Nested JSON support

Flatten nested objects with dot notation or keep nested values as JSON strings.

Reliable CSV escaping

Papa Parse handles quotes, delimiters, multiline text and Unicode output.

Private browser workflow

JSON files and generated CSV stay local and private values are not sent to analytics.

Tips

Pro tips

  • Validate before converting so missing keys, mixed record types and unsupported shapes are visible.
  • Use flattening when nested object properties should become separate spreadsheet columns.
  • Keep nested values as JSON strings when the nested object should remain grouped in one cell.
  • Clear columns you do not need before copying or downloading large CSV files.
  • Use tab or pipe delimiters when comma-heavy text makes CSV review harder in another system.
Watch out

Common mistakes to avoid

  • Trying to convert a top-level primitive value as if it were a record set.
  • Assuming arrays inside records should automatically create extra CSV rows.
  • Using only the first record to infer columns and missing fields that appear later.
  • Flattening deeply nested JSON without reviewing the generated column names.
  • Expecting JSONL or binary spreadsheet files to work in a JSON array converter.

Sources

Detailed JSON to CSV Converter guide

This free online JSON to CSV converter turns API records or application exports into a table for a spreadsheet or importer. Paste JSON or choose a UTF-8 .json file, preview the records, select columns and download CSV. Conversion runs locally in your browser with no account required.

Use an array of objects for multiple CSV rows, or one nonempty object for a single row. You can flatten nested objects into dotted columns; arrays inside records stay as JSON text in one cell. Choose a representation that matches the receiving system before exporting.

How to convert JSON to CSV online

  1. Paste your JSON into JSON input, or open Upload JSON and use Choose JSON to select one file.
  2. Select Validate JSON to detect records and the complete set of columns. Correct any reported errors before exporting.
  3. Review Flatten nested objects and Include header row. Use the column controls to select and order the fields you need.
  4. Choose comma, semicolon, tab or pipe to match the receiving application, then select Convert to CSV.
  5. Check the preview and generated CSV. Select Download CSV to save the result, or Copy to paste it elsewhere.

The file picker accepts one file up to 20 MiB (20,971,520 bytes). Up to 500 detected columns are supported. The preview shows the first 20 records; conversion uses all parsed records. Large inputs can use substantial browser memory. JSONL streams and binary spreadsheet files are not supported by this converter.

Convert JSON to CSV with arrays in one cell

Select Load nested example, keep nested-object flattening and CSV headers enabled, then convert these fictional records:

[
  {"id":"A1","profile":{"city":"Dubai"},"tags":["new","trial"]},
  {"id":"A2","profile":{"city":"Abu Dhabi"},"note":"review"}
]

The CSV contains two data rows:

id,profile.city,tags,note
A1,Dubai,"[""new"",""trial""]",
A2,Abu Dhabi,,review

profile.city is a dotted column name. The tags array is valid JSON text inside one CSV cell; doubled quotation marks are CSV escaping. It does not become one row per tag. The note column is included even though it appears only in the second record, and absent values produce blank cells.

Disable flattening to keep profile as JSON text in one cell instead. Choose the representation your receiving system expects before downloading.

Select records and columns for the receiving system

Start with an array in which every item is an object, or one nonempty object for a single row. Empty arrays, arrays of primitives and mixed object/primitive arrays are rejected. If an API response wraps records inside a field such as items, select that array first with JSONPath Tester; converting the wrapper itself would produce a single row with the array in a cell.

Choose Validate JSON to detect records and columns. Columns are collected across all records, so a field that first appears in a later record can still become a column. Use the column selector to include, exclude and reorder fields; at least one column must remain selected.

Check the preview against the required header names and order. Keep Include header row enabled for a spreadsheet, or disable it when an importer expects only data rows. Choose comma, semicolon, tab or pipe to match that importer, then select Convert to CSV.

Decide whether to flatten nested objects

Flattening turns nested object paths into dotted column names. It does not expand arrays into rows or rebuild a relational table. If each tag or order item needs its own row, transform the source data according to that relationship before converting.

Review source keys before flattening. A literal key named profile.city can collide with the flattened path of {"profile":{"city":"Dubai"}}; the implementation does not report that collision, and one value can overwrite the other. Rename conflicting keys in the source or disable flattening. Empty nested objects also contribute no columns when flattened.

Deep nesting can be retained as JSON text with a warning rather than flattened further. Check warnings and the actual detected columns instead of assuming that every nested field becomes a separate cell.

Check types, blank cells and numeric IDs

CSV stores text. Numbers and booleans are serialized as text, while missing fields, explicit null and empty strings all produce empty cells. The export cannot preserve the distinction between those three cases. Keep JSON when your next workflow needs that distinction.

This converter parses JSON with JavaScript's native JSON.parse. Bare integers outside the safe range can round before CSV generation, and repeated keys in one object retain only the last value. Inspect questionable input with JSON Formatter before conversion. Its text-preserving output does not change how this converter subsequently parses numbers. Obtain large IDs as strings at their source when the data contract allows it; formatting an already rounded value cannot recover its digits.

A spreadsheet may interpret CSV cell text as numbers or dates on import. Use its import settings to treat identifier columns as text, then check leading zeros and long IDs after opening the file.

Open the CSV in Excel or Google Sheets

Download the CSV using the separator your spreadsheet will expect. If everything appears in one column, import the file again and select the matching separator; changing the file extension does not split the fields.

In Excel on Windows, use Data > From Text/CSV, select the saved file and check the delimiter in the preview. Review the import settings for identifier columns before loading the table. Opening a CSV directly can apply automatic number or date interpretation, so check long IDs and leading zeros after import. Microsoft documents the available text and CSV import options.

In Google Sheets on a computer, choose File > Import, select the downloaded CSV and choose where to place its rows. Select a matching Separator character when automatic detection does not split the columns correctly, then finish the import. Google lists the supported formats and separator choices in its spreadsheet import instructions.

ToolMint exports a CSV text file, not an .xlsx workbook. Importing it into a spreadsheet does not restore the nested JSON structure or distinguish missing values from explicit nulls and empty strings.

Verify the export before using it

Compare the record count and selected columns with the source. The preview shows only a limited set of rows; check the downloaded file as well, including records with arrays, missing fields and quoted text. Use JSON Schema Validator with an appropriate schema when source field requirements need checking, or Text Diff Checker to compare two CSV exports made with the same settings.

The CSV to JSON Converter can create JSON objects from the exported table, but it does not automatically reconstruct nested objects from dotted headers or turn array text back into arrays. Treat the conversion as a table export, and retain the original JSON for workflows that need its structure and types. Processing details and supported limits are listed in the page's privacy and limitations sections.

Frequently asked questions

Yes. ToolMint converts JSON to CSV for free with no account required. Paste JSON or choose one JSON file, preview the records, select columns and copy or download CSV. Conversion runs locally in your browser.

Paste JSON text or upload a .json file, validate it, choose the columns and delimiter, then select Convert to CSV. ToolMint creates CSV text that you can copy or download.

Yes. After a successful conversion, choose Download CSV to save a .csv file. The download uses the selected columns, their order, your delimiter and the header setting. Copy is also available.

Yes. Download the CSV and import it into your spreadsheet application using the same separator you selected in ToolMint. Review identifier columns as text to avoid unwanted number or date conversion. This tool exports CSV, not an XLSX workbook.

The primary supported format is an array of objects. A single top-level object can also be converted into one CSV row. Empty arrays, top-level primitive values and mixed object/primitive arrays are rejected.

Yes. You can choose one .json file or drag and drop it into the upload area. The file is read locally as text in your browser and is not uploaded to ToolMint servers.

Yes. Flattening is enabled by default and uses dot notation such as user.location.city. Flattening is capped at 10 levels to avoid excessive recursion.

Arrays inside object properties are serialized as JSON strings in a cell. The converter does not expand arrays into repeated rows because that can duplicate records unexpectedly.

Yes. After validation, ToolMint detects the union of object keys. You can select all columns, clear all columns, toggle individual columns and move selected columns up or down.

Comma, semicolon, tab and pipe delimiters are supported. CSV escaping is handled for the selected delimiter so quotes, delimiters inside values and multiline text remain valid.

No. JSON parsing and CSV generation happen in your browser. ToolMint analytics do not include filenames, JSON contents, object keys, column names, cell values or generated CSV.

JSON may fail if it is invalid, empty, a top-level primitive, an empty array, an array of primitives or a mixed array of objects and primitives. Use an array of objects for the most reliable CSV output.
7 min read Works in browser Privacy notes