Skip to main content

JSON to CSV Converter - Convert JSON to CSV Online

Paste a JSON array and convert it to CSV format. Download as a .csv file or copy to clipboard. Handles nested objects with flattening options.

Runs in browser - Tool input is not submitted json csv convert data

Flatten JSON deliberately before creating rows

JSON is the standard format for APIs and databases, but business stakeholders, data analysts, and reporting tools typically work in spreadsheets. Converting JSON arrays to CSV makes your data immediately importable into Excel, Google Sheets, Tableau, and any BI tool. This converter also flattens nested objects using dot notation so even complex structures produce clean CSV columns. See also the CSV to JSON converter and CSV viewer in the data tools category.

Spreadsheet-ready

Output CSV is immediately importable into Excel, Google Sheets, or any BI tool without additional transformation.

Nested object flattening

Nested JSON objects are flattened to dot-notation column names (e.g. address.city) so all data maps to clean CSV columns.

Download support

Download the CSV file directly or copy the output to clipboard for pasting into your spreadsheet or data pipeline.

Nested JSON flattening strategies

This tool uses dot-notation flattening. Here's how different nesting levels are handled in the CSV output.

JSON input CSV column name Notes
{"name": "Alice"} name Top-level key - Mapped directly
{"address": {"city": "London"}} address.city Nested object - Flattened with dot notation
{"a": {"b": {"c": 1}}} a.b.c Deep nesting - Fully flattened recursively
{"tags": ["a", "b"]} tags Arrays - Serialised as JSON string in the CSV cell

Related data tools

Convert CSV files to JSON objects - The reverse operation
Preview your CSV output as a formatted table after converting
Prettify the JSON input before converting to CSV
Validate your JSON array before conversion to avoid errors

Understand what changes during conversion

These maintained explanations cover the behavior, limits, and decisions that the interactive result alone cannot show.

Deeper guides for this exact task

Use the result inside a complete workflow

Debug JSON and API Data

Learn a repeatable workflow to format, validate, compare, and convert JSON or API data with practical browser-based exercises and checkpoints.