JSON to CSV Converter

Convert JSON arrays to CSV format. Handles nested objects with dot notation flat...

SecureFastFree

Updated

Delimiter

JSON Input

CSV Output

Conversion Summary

3
Rows
4
Columns
106
Characters

Quick answer

A JSON to CSV converter turns a JSON array of objects into comma-separated rows, using the object keys as the column headers. This tool builds the header from the union of keys across every object, so a row that is missing a key still gets an empty cell in the right column, and it wraps any value containing a comma, quote, or line break in quotes following the RFC 4180 rules that Excel expects. Everything runs in your browser, so your JSON is never uploaded to a server.

SSL Secured
256-bit Encryption
Cloud Processing
Mobile Friendly

Converter Features

Array Support - Convert JSON arrays to multi-row CSV
Nested Flattening - Dot notation for nested objects
Custom Delimiter - Comma, semicolon, or tab separation
Header Toggle - Include or exclude header row
CSV Download - One-click file download
Stats Panel - Row count, column count, and size

Why Use JSON to CSV Converter?

Smart Conversion

Automatically detects JSON structure and converts arrays of objects into properly formatted CSV with headers.

Nested Object Flattening

Flatten nested JSON objects using dot notation (e.g., address.city) for complete data extraction.

Custom Delimiters

Choose between comma (CSV), semicolon (European locale), or tab (TSV) delimiters for compatibility.

Instant Download

Download the converted CSV file with one click, ready to open in Excel, Google Sheets, or any spreadsheet app.

100% Private

All conversion happens in your browser. Your JSON data never leaves your device.

Special Character Handling

Automatically escapes quotes, commas, and newlines in field values to produce valid CSV output.

Common Uses for JSON to CSV

Data Analysis

Convert API responses to CSV for analysis in Excel, Google Sheets, or data tools.

Database Export

Transform JSON database exports into CSV format for spreadsheet-based workflows.

Report Generation

Convert structured JSON data to CSV for creating reports and presentations.

Data Migration

Convert JSON data to CSV format when migrating between systems with different data requirements.

How It Works

1

Paste Your JSON Data

Enter a JSON array of objects or a single JSON object. Use the Simple or Nested sample buttons to see examples.

2

Configure Options

Choose your delimiter (comma, semicolon, tab), toggle the header row, and enable Flatten nested objects as needed.

3

Copy or Download CSV

Click Copy to copy the CSV to your clipboard or Download to save it as a .csv file ready for spreadsheets.

Tips & Best Practices

Use Flatten for Nested Data

Enable Flatten nested objects to turn a nested object like {address: {city: 'NYC'}} into a flat address.city column.

Try Different Delimiters

If your CSV doesn't open correctly in Excel, try using semicolon delimiter instead of comma, especially for European locale settings.

Array Values

Arrays within objects are converted to JSON strings in the CSV. For better results, ensure your data is a flat array of objects.

Frequently Asked Questions

Paste a JSON array of objects into the input box or upload a .json file. The tool reads the object keys as column headers and turns every object into a CSV row, then you copy the result or download it as a .csv file. A single JSON object works too and becomes a one-row CSV.
Yes. Turn on Flatten nested objects and a value like {"address": {"city": "NYC"}} becomes an address.city column using dot notation. Arrays inside an object are written as their JSON text. Turn the toggle off to keep each nested object or array as a single JSON string cell.
Yes. Click Download to save a .csv file that opens directly in Microsoft Excel, Google Sheets, or LibreOffice Calc. The file includes a UTF-8 byte order mark so Excel shows accented and non-English characters correctly.
The header row is the union of every key across all objects, kept in first-seen order. When an object is missing one of those keys, that cell is left empty so the columns still line up correctly.
Following RFC 4180, any value that contains the delimiter, a double quote, or a line break is wrapped in double quotes, and quotes inside the value are doubled. So a value like Smith, "Jr" is written as "Smith, ""Jr""" and stays a single field.
Yes. Pick Semicolon for European locale spreadsheets or Tab to produce a TSV file. The escaping updates automatically so the chosen delimiter is quoted whenever it appears inside a value.
No. All parsing and conversion happen in your browser with JavaScript. Your JSON is never sent to a server, so the tool works offline and keeps sensitive data on your own device.

Related Tools