All tools
Development tools

JSON → CSV Converter

Convert a JSON array of objects to CSV — auto-detects columns, handles missing keys, choose your delimiter, download the result.

Auto column detection Missing key handling Comma/semicolon/tab Flatten nested Download CSV Copy output
Get started free Sign in

Free · No credit card · 50 credits/day

Converter features

🔍

Auto column detection

Scans all objects in the array to build the complete set of column headers — no manual configuration needed.

Missing key handling

If an object is missing a key, the corresponding cell is left empty. All rows always have the same number of columns.

🔤

Delimiter choice

Choose comma (default), semicolon (for European Excel), or tab (TSV). Quoted fields handle embedded delimiters correctly.

🪆

Nested object flattening

Simple nested objects are expanded using dot notation: address.city becomes a separate column. Arrays become semicolon-joined strings.

📥

Download CSV

Download the result as a .csv file with correct Content-Type and UTF-8 BOM for Excel compatibility, or copy to clipboard.

🔁

Round-trip ready

Output is compatible with the CSV → JSON converter — convert back and forth without data loss for flat structures.

Frequently asked questions

What JSON structure can be converted to CSV?

CSV is flat and two-dimensional, so the ideal input is a JSON array of flat objects: [{"name":"Alice","age":30}]. Each object becomes a row; the union of all keys becomes the column headers. If keys differ between objects, missing values are left empty. Deeply nested objects require flattening first.

How does the converter handle missing keys in some objects?

The converter collects all unique keys across every object to build the full column set. If a specific object doesn't have a key, that cell is left empty. The CSV will always have a consistent number of columns even if individual JSON objects have different key sets.

What is the difference between comma, semicolon and tab delimiters?

Comma (,) is the RFC 4180 standard. Semicolon (;) is preferred in European locales where comma is the decimal separator — Excel in those regions opens semicolon-delimited files correctly. Tab creates TSV files, useful when values may contain commas and semicolons.

How do I open a CSV in Excel without Excel mangling it?

Use Data > Get External Data > From Text and the import wizard to specify delimiter and UTF-8 encoding. Avoid double-clicking the .csv — Excel guesses encoding and delimiter, which often corrupts non-ASCII characters and auto-converts values like "1-2" into dates.

Related dev tools

More data format converters.

CSV → JSON Converter

The reverse — convert CSV back to a JSON array of objects.

JSON Formatter

Format and validate your JSON input before converting to CSV.

YAML ↔ JSON Converter

Convert between YAML and JSON — then export that data to CSV.

Convert your JSON to CSV now

Free account. 50 credits per day. Access to 75+ tools instantly.

Create free account →