Data Transform Toolkit
Pricing
Pay per usage
Go to Apify Store
Data Transform Toolkit
Transform data between JSON, CSV, and XML formats. Flatten, filter, sort, pick fields, compute stats, and validate JSON — all in one actor.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
2x lazymac
Maintained by Community
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 hours ago
Last modified
Categories
Share
Transform data between JSON, CSV, and XML formats. Flatten, filter, sort, pick fields, compute stats, and validate JSON -- all in one actor.
Operations
| Operation | Description |
|---|---|
json_to_csv | Convert JSON array to CSV text |
csv_to_json | Parse CSV text into JSON array |
json_to_xml | Convert JSON to XML string |
flatten | Flatten nested object to dot-notation keys |
unflatten | Restore dot-notation keys to nested object |
filter | Filter array by query (supports >, <, ! prefixes) |
pick | Pick specific fields from each object |
sort | Sort array by a field (asc/desc) |
stats | Compute count, sum, mean, min, max, median for a numeric field |
validate | Validate a JSON string and return type/size |
Input
| Field | Type | Required | Description |
|---|---|---|---|
operation | string | Yes | One of the operations listed above |
data | string | Yes | Input data (JSON string or raw CSV) |
options | object | No | Operation-specific options (see below) |
Options by Operation
- json_to_csv / csv_to_json:
{ "delimiter": ";" } - json_to_xml:
{ "rootName": "data" } - filter:
{ "query": { "age": ">25", "status": "active" } } - pick:
{ "fields": ["name", "email"] } - sort:
{ "field": "age", "order": "desc" } - stats:
{ "field": "price" }
Example
{"operation": "json_to_csv","data": "[{\"name\":\"Alice\",\"age\":30},{\"name\":\"Bob\",\"age\":25}]","options": { "delimiter": "," }}
Output
Results are pushed to the default dataset. The output structure varies by operation.