Mocking.Dev

JSON to CSV

Convert JSON arrays into CSV output for download-style mock data workflows and spreadsheet inspection.

JSON input

Paste a JSON array of objects or a single object.

CSV output

Converted CSV appears after a short delay.

id,customer,total,status
ord_7721,Avery Stone,126.5,paid
ord_7722,Mina Park,84,processing

Frequently asked questions

What does this JSON to CSV converter do?

It parses JSON, flattens object fields, collects the available keys, and writes a CSV table with escaped cells.

Should I paste an array or an object?

A JSON array of objects works best. A single object is also accepted and converted into one CSV row.

How are nested fields handled?

Nested object keys are flattened with dot notation, while array values are kept as JSON strings inside the CSV cell.

Similar tools