JSON to CSV
From API response to spreadsheet in one step.
Point Jsonviewpro at a document containing an array of records and it produces a CSV you can open in Excel, Numbers, Google Sheets or load with pandas. Nested objects can be flattened into dotted columns so nothing is lost.
Input JSON
CSV output
How JSON maps to CSV
CSV is a flat, rectangular format: one row per record, one column per field. JSON is a tree. The conversion therefore needs an array of records to act as the rows, and a strategy for anything nested.
Jsonviewpro finds the row array automatically — a top-level array, or a common wrapper property such as data, results, items or records. If the document is a single object it becomes a single row.
How to convert JSON to CSV
- Paste or upload your JSON.
- Check the detected source — Jsonviewpro shows which array it is using for rows.
- Choose whether to flatten nested objects, whether to include a header row, and which delimiter to use.
- Review the preview, then Copy CSV or Download CSV.
Flattening nested objects
With flattening on, {"user": {"name": "John"}} becomes a column named user.name. Arrays of primitives are joined with a semicolon; arrays of objects expand to indexed columns such as items[0].sku.
With flattening off, nested values are written as JSON text inside the cell. That keeps the column count small and is the better choice when you plan to parse the cell again later.
Delimiters, quoting and Excel
Fields containing the delimiter, a double quote or a line break are quoted, and inner quotes are doubled, per RFC 4180. If your locale uses the comma as a decimal separator, choose semicolon as the delimiter — that is what Excel expects in those locales.
Handling irregular records
Records do not have to share the same shape. Jsonviewpro collects the union of every field it sees, in first-appearance order, and leaves cells empty where a record has no value. If your data is irregular in ways you did not expect, the JSON Analyzer will tell you which fields are missing and where types disagree.
Frequently asked questions
What if my JSON is not an array?
How are nested objects handled?
Can I open the result in Excel?
Is my data uploaded to convert it?
Related JSON tools
- JSON ViewerExplore JSON as a collapsible tree with search and copyable paths.
- JSON AnalyzerProfile structure and surface data-quality problems.
- JSON to YAMLConvert JSON into readable YAML.
- JSON FormatterPretty-print messy JSON with your choice of indentation.
- JSONPath EvaluatorRun JSONPath queries and see matching values instantly.