jfmt.dev

JSON to CSV

Paste an array of objects and copy CSV for Excel or Sheets. Conversion runs locally in this tab.

input.json

JSON formatter

Input0 B
Output · preview.json
{ }

Run a tool to see a polished result here

Live syncReady · processed locally in your browser
Local-only processing: your JSON never leaves this browser tab.

How rows are built

Each object in an array becomes a CSV row. Keys become headers. A single object is treated as one row. Nested objects are written as cell strings — flatten first if you need one column per nested field.

Sample input on this page

The editor is prefilled with a small example for JSON to CSV. JSON to CSV turns an array of objects into rows, or a single object into one row. Nested values are stringified unless you flatten first. Replace it with your own file; the sample and your payload stay in this tab.

[
  { "name": "Ada", "role": "engineer", "active": true },
  { "name": "Linus", "role": "maintainer", "active": false }
]

How to use this tool

  1. Paste JSON into the JSON to CSV editor. The file stays in this browser tab and is not uploaded to jfmt.dev.
  2. Click Run. JSON to CSV turns an array of objects into rows, or a single object into one row. Nested values are stringified unless you flatten first.
  3. Copy the output, or continue with a related tool below. Related tools on this site include beautify, validate, minify, JSON to CSV, JSON to YAML and JSON to XML — all local.
  4. JFmt runs in a Web Worker in this tab. Do not paste production secrets if you share your screen.

When this page is the right choice

This dedicated JSON to CSV URL matches that search intent; the homepage stays the general formatter. JSON to CSV turns an array of objects into rows, or a single object into one row. Nested values are stringified unless you flatten first. Related tools on this site include beautify, validate, minify, JSON to CSV, JSON to YAML and JSON to XML — all local. JFmt runs in a Web Worker in this tab. Do not paste production secrets if you share your screen. Read errors in the output pane instead of sending production payloads to another service.

FAQ

Must the JSON be an array?

An array of objects becomes one CSV row per object. A single object becomes one row.

Are nested objects flattened?

Nested values are stringified into cells. Flatten first if you need one column per nested field.

Is the file uploaded?

No. Conversion stays in this tab.

Does this tool upload my file?

No. Parsing and conversion run in a Web Worker in this tab. jfmt.dev does not receive the payload.

Why is there a separate URL from the homepage?

So people searching for this operation land on a page that already selects it. JSON to CSV turns an array of objects into rows, or a single object into one row. Nested values are stringified unless you flatten first.