DevToolsLab

Convert JSON to CSV

Browser-only · Instant · Free

Paste a JSON array of objects on the left; get CSV on the right.

Swap directionAll conversion runs in your browser. Nothing is uploaded.
Input · JSONValid
Output · CSV

All conversion runs in your browser. Nothing is uploaded.

About this converter

Spreadsheets and analytics tools speak CSV; APIs and configs speak JSON. This converter takes the most common shape — an array of flat objects — and emits a CSV whose header row is the union of all keys, with RFC 4180-compliant quoting. Nested objects are inlined as JSON strings so nothing is lost.

Features

  • Auto-detected headers (union of keys, insertion order)
  • RFC 4180 quoting — commas, quotes and newlines are safe
  • Nested objects and arrays serialized as JSON cells
  • Full Unicode (CJK / emoji) — no mojibake
  • Browser-only, no upload, no row limit beyond memory

How to use

  1. Paste a JSON array of objects (e.g. `[{"a":1},{"a":2}]`) on the left.
  2. Read the CSV result on the right — updated live.
  3. Click Download to save as a `.csv` file.

Frequently Asked Questions

What JSON shapes are supported?

Best results come from a flat array of objects. A single object becomes one row; an array of arrays becomes a header-less CSV; mixed primitive arrays become a single-column file.

How are nested objects handled?

Nested objects and arrays inside a cell are serialized as a JSON string. This keeps the CSV grid intact and lets you parse the cell with any JSON tool later.

Does Excel open the result correctly?

Yes. Excel reads UTF-8 CSV — but if it shows garbled characters, save the file with a UTF-8 BOM (use the CSV Cleaner tool for that), or open the file via Data → From Text/CSV.

Related tools

Convert JSON to CSV Online — Free JSON to CSV Converter

Canonical: https://devformatlab.com/en/convert/json-to-csv