JSON to CSV Converter

Convert JSON arrays to CSV instantly

Overview

The JSON to CSV Converter turns arrays of JSON objects — API responses, NoSQL exports, config data — into spreadsheet-ready CSV. Nested objects are flattened into dotted column names, and you control the delimiter and quoting style, so the output opens cleanly in Excel, Google Sheets, or any CSV-consuming tool.

What This Converter Detects and Handles
  • Automatic column detection: keys across all objects in the array become CSV headers
  • Nested object flattening: dotted keys like 'user.name' for objects nested inside your JSON
  • Configurable quoting: minimal quoting, quote all fields, or quote only non-numeric values
  • Delimiter choice: comma, semicolon, tab, or pipe to match your target spreadsheet locale
  • Header row toggle: include or omit the column-name row in the output
  • Runs entirely in your browser: your JSON data is never uploaded to a server
When You'd Convert JSON to CSV
  • Exporting a REST API response into a CSV report a non-technical stakeholder can open in Excel
  • Converting a MongoDB or NoSQL query result into tabular form for spreadsheet analysis
  • Turning a JSON configuration array into an editable CSV for bulk review
  • Producing CSV import files for tools (CRMs, database utilities) that require tabular input
  • Generating spreadsheet-friendly test data from JSON fixtures used in automated tests
How to Convert JSON to CSV
  1. 1.Paste an array of JSON objects into the input editor, or upload a .json file
  2. 2.Choose the output delimiter and quoting style
  3. 3.Decide whether nested objects should flatten into dotted columns or be stringified
  4. 4.Enable Auto Convert for live output, or click Convert
  5. 5.Copy the CSV output or download it as a .csv file
Edge Cases Worth Knowing
  • Objects in the array with different keys produce a header row that's the union of all keys — missing values appear as empty cells
  • Deeply nested objects or arrays-of-arrays don't flatten cleanly to a flat table — consider pre-flattening complex JSON first
  • Numbers formatted as JSON strings (e.g. "00123") are preserved as text once inside CSV, since CSV has no native type system
  • European spreadsheet locales often expect a semicolon delimiter rather than a comma — check your target application
Limitations
  • Very large JSON arrays may exceed browser memory — use a script-based tool for huge datasets
  • Circular references or non-serializable values in JSON will cause conversion errors
  • CSV cannot represent JSON's nested arrays and objects without flattening or stringifying, which is inherently lossy for deeply nested data
Need to Go the Other Way?

If you're starting from a CSV export — from Excel, Google Sheets, or a database dump — and need structured JSON for an API or JavaScript code, use the CSV to JSON Converter instead. It detects your header row, delimiter, and value types automatically.