Tools / Dataset & JSON to CSV / Excel Converter (Flatten, Pick Fields)

Dataset & JSON to CSV / Excel Converter (Flatten, Pick Fields)

Convert any Apify dataset or JSON/JSONL URL into a clean CSV, Excel (.xlsx) or JSONL file. Input: datasetId, jsonUrl. Output (JSON/CSV): one row per item with source, format, rowCount, columnCount, fileUrl, sizeKb.

Run it on Apify Store →

What it's for

Example input

{
 "jsonUrl": "https://jsonplaceholder.typicode.com/users",
 "format": "xlsx"
}

Example output

{
  "source": "https://jsonplaceholder.typicode.com/users",
  "format": "xlsx",
  "rowCount": 10,
  "columnCount": 15,
  "columns": [
    "id",
    "name",
    "username",
    "email",
    "…"
  ],
  "fileUrl": "https://api.apify.com/v2/key-value-stores/cm5hPObBv46oYPlne/records/export.xlsx",
  "sizeKb": 9
}

Input reference

FieldTypeNotes
datasetIdstringFrom any run in your account.
jsonUrlstringPublic URL returning an array or JSON lines.
formatstringOutput format
fieldsarrayColumns to keep, in order (dot paths when flattened).
flattenbooleanFlatten nested objects
delimiterstringUse \t for TSV.
maxItemsintegerMax items

Pricing

Pay per event: Export file created $0.005, Row converted $2e-05. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Dataset & JSON to CSV / Excel Converter (Flatten, Pick Fields) on Apify →