JSON to CSV Converter - Flatten Nested JSON to CSV API avatar

JSON to CSV Converter - Flatten Nested JSON to CSV API

Pricing

$20.00 / 1,000 file converteds

Go to Apify Store
JSON to CSV Converter - Flatten Nested JSON to CSV API

JSON to CSV Converter - Flatten Nested JSON to CSV API

Convert JSON to CSV. Input: url or jsonText. Output: ready-to-download CSV with nested objects flattened to dot-notation columns and keys unioned across all records. Sync run-and-return, pay-per-result at $0.02 per file converted.

Pricing

$20.00 / 1,000 file converteds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

JSON to CSV Converter

Turn any JSON — from a URL or pasted inline — into clean, ready-to-download CSV in one call.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

  • Fetch JSON by URL or paste raw JSON directly.
  • Flattens nested objects and arrays into dot-notation columns (e.g. address.city, tags.0).
  • Unions all keys across every record, so sparse/irregular records still line up into a single table.
  • Choose your delimiter (,, ;, \t, etc.).
  • Returns the CSV inline and as a downloadable file URL in the key-value store.

Input

{
"url": "https://jsonplaceholder.typicode.com/users",
"delimiter": ",",
"flatten": true
}

Or paste JSON instead of a URL:

{
"json": "[{\"id\":1,\"name\":\"Ada\",\"address\":{\"city\":\"London\"}}]"
}

Output

{
"rowCount": 10,
"columns": ["id", "name", "address.city", "address.zipcode", "company.name"],
"csv": "id,name,address.city,...\n1,Leanne Graham,Gwenborough,...",
"fileUrl": "https://api.apify.com/v2/key-value-stores/.../records/output.csv",
"source": "https://jsonplaceholder.typicode.com/users"
}

Download the fileUrl to get the full CSV, or use the inline csv field directly in your workflow.