All Developer

JSON to CSV Converter

Convert a JSON array of objects to CSV.

json-to-csv.local
CSV
The CSV will appear here.

How to use it

  1. Paste a JSON array of objects.
  2. Click Convert to CSV.
  3. Copy the CSV output.

About this tool

This converter turns a JSON array of objects into CSV. It builds the header from the union of all keys across the objects, in first seen order, and quotes any value that contains a comma, quote, or line break. Nested objects and arrays are written as JSON text inside the cell. It expects a flat array of objects, so deeply nested data may need flattening first.

Examples

Input[{"name":"Ada","age":36}]
Outputname,age then a row Ada,36
InputObjects with different keys
OutputA header covering every key, blanks where a value is missing

Common uses

  • Turn an API response into a spreadsheet
  • Export JSON data to CSV
  • Flatten records for Excel or Sheets
  • Share data in a portable format

FAQ

Is my data uploaded?
No. The conversion runs in your browser. Nothing you paste is sent anywhere.
How are commas and quotes handled?
Any value containing a comma, quote, or line break is wrapped in quotes, and inner quotes are doubled, per the CSV convention.
What about nested objects?
They are written as JSON text in the cell. Flatten deeply nested data first if you need separate columns.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/json-to-csv/" title="JSON to CSV Converter by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/json-to-csv/" target="_blank" rel="noopener">JSON to CSV Converter</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>