Convert JSON to CSV — Objects to Rows, JSONL, Batch or Merge

DataFileConverter reads a JSON file, a folder of them or an API response, decides which array becomes the rows, and writes a CSV with the object keys as columns. Desktop app for Windows, Linux and macOS — GUI and command line, nothing uploaded.

Download DataFileConverter or Convert JSON to CSV Online

Key Features

100% Local Processing

Nothing is uploaded: the JSON file never leaves your machine, which is what people mean by a JSON to CSV converter offline.

Large Files, 100 MB and Beyond

A 100 MB JSON file is an ordinary job here, and files over 4GB are supported with low memory usage.

Automatic Flattening

Nested objects become dotted column names, arrays become joined values or JSON text, and the header is built from the keys actually present.

GUI + CLI Mode

Step-by-step wizard for one-off conversions, saved sessions and command-line mode for scripts and schedulers.

Cross-Platform

Native builds for Windows, Linux (.deb / .rpm) and macOS — the same features on all three.

Flexible Output

Delimiter, quoting, encoding, column selection and date formatting are settings, not code.

How to Convert JSON to CSV

  1. Select the JSON source
    One file 📷, a folder of files, JSON Lines 📷, or a URL that returns JSON 📷.
  2. Pick the row element
    The wizard shows the arrays it found; choose the one where each object is a record (see the shapes below).
  3. Set the CSV target
    To Files / CSV writes one CSV per JSON file, To File / CSV merges them all into one. 📷
  4. Choose columns and run
    Keep, rename or reorder the keys, then convert and check the log. Save the session for the next run. 📷

Which JSON shape becomes which rows

Shape in the fileWhat the CSV looks like
[{"id":1},{"id":2}] — array of objectsone row per object, keys become columns
{"data":[{"id":1},…]} — API wrapperunwrap data and use it as the row array; the wrapper keys are dropped
{"records":[{"meta":{…}}]} — nesteddotted columns such as meta.region, or the block kept as one JSON text cell
one line per record — JSONL / NDJSON / LDJSONno wrapper to pick: each line is a row
{"id":1,"name":"ACME"} — single objecta one-row CSV with a header
array of arrays [[1,"a"],[2,"b"]]positional rows; the header has to be supplied or is col1, col2…

Whatever you call the job — convert, transform or reshape JSON into a table — it comes down to one decision: which array repeats. Everything after it — header order, quoting, empty cells — follows from that choice, and is visible in the preview before the CSV is written.

What JSON values look like in CSV

CSV has no types, so the converter decides how each JSON value is written.

JSON valueIn CSV
number 12341234
big integer 9007199254740993kept as digits — not rounded through a float
number 1.234e101.234e+10
string with a comma or a quotequoted; an inner quote is doubled
string with line breaksquoted, and the record spans several lines
true / falseTRUE / FALSE, or 1 / 0 depending on the writer you load into
nullan empty cell
date string "2026-09-18T14:30:00Z"2026-09-18 14:30:00 — text, with no timezone conversion unless you ask for one
nested objectdotted column names, or one cell holding the JSON
array inside a recordjoined with a separator, or one cell holding the JSON
key missing from a recordan empty cell — ragged JSON still produces one rectangle

What breaks in real JSON files

A folder of NFT metadata, one CSV

OpenSea-format metadata is one JSON file per token — name, description, image, and an attributes array of traits. The batch shape turns a folder into one CSV per token; the merge shape concatenates the folder into a single CSV where attributes becomes one joined cell (or JSON text) and every token is a row. This is the everyday path from a metadata folder to a spreadsheet you can filter by trait.

People also describe the same job as converting a JSON export to CSV without uploading it anywhere — that is the default here, because the app has no server component.

One CSV per file, or one merged CSV

Both shapes are one setting apart. To Files / CSV writes one CSV per JSON file, with optional recursion into subfolders. To File / CSV writes a single output file, so multiple JSON files — or a directory of API responses — concatenate into one CSV with one header row, which is also how jsonl-to-csv-style logs are consolidated.

For automation, save the task and call it from a .bat or .sh script: Windows Task Scheduler, cron on Linux and launchd on macOS all run it unattended, and the command line prints one line per file for the log. If the target is a table rather than a file, FileToDB inserts the same rows into a database with column mapping.

Check three numbers before you load the output

How much bigger is JSON than CSV? See our measured comparison: CSV vs JSON vs XML: file size and speed compared.

Batch Convert JSON files to CSV files

Frequently Asked Questions

Can I convert JSON to CSV without uploading the file anywhere?
Yes. The conversion runs offline on your own machine, so a file with customer or wallet data never goes to a web service. There is no server component and no account to create.
Does a 100 MB JSON file work, and what about larger ones?
A 100 MB file is a normal job. Files over 4GB are supported and processed with low memory usage, and the parsed rows can be previewed before the CSV is written.
Can I merge several JSON files into one CSV?
Yes. Choose Files as the source and a single CSV as the target: every JSON file is concatenated into one table with one header row. If the files do not share keys, the header becomes the union of them.
Does it read JSONL, NDJSON and LDJSON?
Yes. JSON Lines files have one record per line, so there is no wrapper array to pick: each line becomes a row and each key a column.
Can I convert a folder of OpenSea NFT metadata to CSV?
Yes. Metadata is one JSON file per token, so the batch mode writes one CSV per token and the merge mode concatenates the folder into a single CSV where the attributes array becomes one joined cell or JSON text.
Can it pull JSON from an API endpoint directly?
Yes. Give the URL that returns the JSON response and it is parsed like a local file, which is useful for paginated exports that you download to disk first.
Can the conversion run from the command line on Linux and macOS?
Yes. Save the conversion as a session and call it from a .bat or .sh script; cron on Linux, launchd on macOS and Windows Task Scheduler can run it on a schedule.

Start Converting JSON to CSV Today

One JSON file, a folder, or an API response — free trial, no credit card.

$75 one-time · volume discounts to $55 · 30-day money-back · pricing & licence terms

Download Free Trial