Convert JSON to CSV: Flatten Records Into Rows
Turn a JSON array of records into CSV with one row per record and flattened nested fields. This example converts three customer records with an address object. Replace the text with your own JSON or add file links.
Input
Output fields
Sign up on Apify or log in
The JSON Formatter & Validator: Pretty Print, Minify, Fix, Convert Actor is ready to run with the inputs already set for "Convert JSON to CSV: Flatten Records Into Rows". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Convert JSON to CSV: Flatten Records Into Rows" task
The JSON Formatter & Validator: Pretty Print, Minify, Fix, Convert Actor will start running based on the input automatically. You can also change all the input fields, like JSON texts and operation, to match your specific use case.
Receive the "Convert JSON to CSV: Flatten Records Into Rows" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, operation, status, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert JSON to CSV: Flatten Records Into Rows" task via API.

Integrate "Convert JSON to CSV: Flatten Records Into Rows" into your workflow
Connect "Convert JSON to CSV: Flatten Records Into Rows" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay