JSON Flattener - Nested JSON to Flat CSV or JSON avatar

JSON Flattener - Nested JSON to Flat CSV or JSON

Pricing

from $2.00 / 1,000 files converted

Go to Apify Store
JSON Flattener - Nested JSON to Flat CSV or JSON

JSON Flattener - Nested JSON to Flat CSV or JSON

Turn nested JSON from a URL or pasted text into flat rows: one row per record, nested keys become columns like address.city. Choose the separator and how arrays are handled, pick the records path, get CSV or flat JSON with a download link. JSON Lines works too. No login, no API key.

Pricing

from $2.00 / 1,000 files converted

Rating

0.0

(0)

Developer

KOTARO project

KOTARO project

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Turn nested JSON into flat rows you can open in Excel, Google Sheets or a database. Each record becomes one row, and nested keys become column names such as address.city or company.name.

What it does

  • Reads JSON from a public URL or pasted text. JSON Lines (one object per line) works too.
  • Finds the list of records automatically (a top-level list, or the first list of objects one level down such as {"data": [...]}), or uses the records path you give (data.items, results.0.rows).
  • Joins nested keys with the separator you choose (. or _ or anything else).
  • Handles arrays your way:
    • index: one column per item (tags.0, tags.1)
    • join: simple lists in one cell, separated by ; (lists of objects stay indexed)
    • json: the whole list as JSON text in one cell
  • Writes CSV (UTF-8, comma / semicolon / tab / pipe) or a flat JSON list, and gives you a download link.
  • Invalid JSON gets a clear message with the line and column of the problem.

Input example

{
"jsonUrl": "https://jsonplaceholder.typicode.com/users",
"separator": ".",
"arrays": "index",
"outputFormat": "csv"
}

Output example

{
"fileName": "flattened.csv",
"downloadUrl": "https://api.apify.com/v2/key-value-stores/<store>/records/flattened.csv",
"format": "csv",
"records": 10,
"columnCount": 15,
"columns": ["id", "name", "username", "email", "address.street", "address.city", "address.geo.lat", "company.name"],
"sample": [{"id": 1, "name": "Leanne Graham", "address.city": "Gwenborough"}]
}

Pricing

One file-converted event per converted file. An empty input returns a free note. If the file cannot be downloaded or is not valid JSON, you get an error row and are not charged.

Limits and safety

  • Files up to 50 MB, up to 500,000 records and 5,000 columns per run.
  • Only public http/https addresses on the standard ports. Internal and private network addresses are refused.
  • No login, no API key, nothing is stored outside your own Apify storage.
  • Only use files you are allowed to process.