API array to spreadsheet CSV
Convert an array of JSON objects into columns with header row included.
Processed locally
Convert JSON to CSV locally, preview columns, flatten nested objects, choose delimiters, download clean CSV, or reverse CSV back to JSON in the same browser tool.
Overview
JSON to CSV Converter Online transforms JSON arrays, objects, and array-of-arrays into clean CSV or TSV data locally in your browser. It automatically discovers columns across all objects, flattens nested structures using dot notation, handles missing or null fields, escapes delimiters and newlines according to CSV standards, and includes an optional spreadsheet formula protection mode. You can also switch to CSV → JSON mode to parse CSV files back to JSON with conservative type inference.
Workflow
Follow the core workflow below. Use “Show in tool” to locate the real control in the live tool above.
Use JSON → CSV for spreadsheet-ready rows, or switch to CSV → JSON when you need structured JSON from delimited text.
JSON → CSVCSV → JSONOpen CSV → JSON to parse delimited rows back into structured JSON while preserving exact strings unless conservative type inference is enabled.
CSV → JSONFirst row is HeaderInfer Primitive TypesAdd an array of objects, a single object, an array of rows, or CSV data that matches the selected direction.
Input DataChoose FileSample DataFlatten nested objects or keep them as JSON strings, then review which columns will be included and in what order.
Nested objectsColumnsFlatten with dot notationKeep as JSON stringChoose the delimiter, line ending, header behavior, and optional spreadsheet-formula protection before generating the CSV.
DelimiterLine endingHeaderProtect spreadsheet formulasCheck rows, columns, nested-field handling, and formula-like cells before exporting the converted data.
PreviewRowsColumnsDiagnosticsCopy the generated CSV or JSON, or download it as a local file after reviewing the conversion settings.
Copy CSVDownload .csvCopy JSONDownload .jsonYou can now convert JSON to CSV or CSV to JSON, configure flattening and column preferences, and export the converted result.
Copy CSVDownload .csvCopy JSONDownload .jsonPractical cases
Convert an array of JSON objects into columns with header row included.
Flatten nested JSON objects such as user.contact.email into structured CSV columns.
Preserve null as literal string 'null' while missing properties become clean empty cells.
Parse or output RFC 4180 compliant CSV fields containing embedded commas, quotes, and line breaks.
Parse CSV to JSON while preserving identifiers like '00123' as exact strings.
Troubleshooting
From evidence to action
Use the converted CSV or JSON directly when that data format is the artifact required by a script, spreadsheet, test fixture, or coding-agent workflow. Review nested-field and type-conversion settings before moving the output into the next system.
Developer guides
Understand the concept, inspect a testable example, then open it in the tool above.
FAQ