CSV to Parquet Converter: JSON, Datasets & Back
Pricing
from $0.91 / 1,000 converted files
CSV to Parquet Converter: JSON, Datasets & Back
Convert CSV, TSV, JSON, NDJSON files or an Apify dataset into Apache Parquet with typed columns, snappy, zstd or gzip compression and a download link. Also turns Parquet back into CSV, JSON or JSONL. Empty input = free demo.
Pricing
from $0.91 / 1,000 converted files
Rating
0.0
(0)
Developer
Actor Factory
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
CSV to Parquet converter: turn CSV, TSV, JSON, NDJSON files or an Apify dataset into Apache Parquet files with typed columns and a download link — and Parquet back into CSV or JSON.
Paste one or more file links (or pick files in a key-value store, or a dataset), press Start, and get one .parquet file per input, ready for DuckDB, pandas, Polars, Spark, BigQuery, Snowflake, Athena or any data lake. Numbers, true/false values, dates and timestamps get real Parquet types; you pick the compression (snappy, zstd, gzip) and the row group size. You pay per converted file — no monthly rent.
Try it free: leave every input empty and press Start — 5 built-in sample orders are converted to sample-orders.parquet (not charged; the result row carries _demo: true).
What you get
Input (weather.csv):
date,precipitation,temp_max,weather2012-01-01,0.0,12.8,drizzle2012-01-02,10.9,10.6,rain
Result row in the dataset:
| status | file | downloadUrl | rows | columns | bytes | outputFormat | compression | schemaText |
|---|---|---|---|---|---|---|---|---|
| ok | weather.parquet | https://api.apify.com/v2/key-value-stores/…/records/weather.parquet?signature=… | 2 | 4 | 1,336 | parquet | snappy | date: date32[day], precipitation: double, temp_max: double, weather: string |
- One output file per input in the run's key-value store, with a signed download link.
- One dataset row per input: file name, link, rows, columns, the schema (column name and type), size, input format and delimiter, plus notes. Inputs that fail get an error row instead and are not charged.
How to use
- File URLs — public links to
.csv,.tsv,.json,.jsonl/.ndjsonor.parquetfiles. And/or a key-value store with your files as records (for example files you uploaded in Apify Console), with optional record keys. And/or an Apify dataset, for example the results of a scraper run. - Optional Output format — Parquet (default), or CSV, JSON array or JSON Lines to turn Parquet files back into text.
- Optional CSV settings: delimiter (detected by default), header row, encoding, and Detect column types (off = every column is text).
- Optional Parquet settings: compression (snappy, zstd, gzip, none) and row group size.
{"fileUrls": ["https://example.com/exports/orders.csv", "https://example.com/api/events.jsonl"],"compression": "zstd","rowGroupSize": 100000}
Parquet back to CSV:
{"fileUrls": ["https://example.com/lake/orders.parquet"],"outputFormat": "csv"}
Output details
- Types (CSV): integers →
int64, decimals →double,true/false→bool, ISO dates →date32, ISO timestamps →timestamp, everything else →string. Types are detected from the first rows; if a later row does not fit (for example an ID column that is numeric for a million rows and then hasX-12), that column is read again as text and listed in notes — the run does not fail. - Types (JSON and datasets): a column with only whole numbers →
int64, numbers →double, only true/false →bool, anything mixed →string. Nested objects become dot columns (customer.address.city); arrays are stored as JSON text. Turn off Flatten nested JSON objects to keep each top-level object as JSON text. - Column names: empty or duplicate CSV headers are renamed (
column_3,name_2) because Parquet needs unique names. Without a header row, columns arecolumn_1,column_2, … - Parquet → CSV / JSON: nested Parquet columns (lists, structs, maps) and binary values are written as JSON text in CSV; dates and timestamps as ISO text; binary as base64 in JSON.
- STATS record: inputs converted and failed, output format, files and megabytes charged.
Limits (cannot be raised by input)
- 20 inputs per run; each file or record up to 500 MB; a dataset up to 2,000,000 items; up to 5,000,000 rows per file (and 10,000 columns for JSON inputs and datasets); each output file up to 400 MB.
- In JSON files, one single value (one array element, or a file that is one big object) can be at most 20 MB — use a JSON array or NDJSON for big data.
- Public files only, no login. Links to internal network addresses are blocked.
- Default memory is 512 MB. For very large or wide files or row groups close to 1,000,000 rows, give the run more memory.
Pricing
Pay per event: $0.0013 per converted file, plus $0.0003 per started megabyte of input after the first 1 MB (a 1 MB CSV costs $0.0013; a 10 MB CSV costs $0.0013 + 9 × $0.0003 = $0.004). Inputs that fail, inputs over a limit and the demo are free. Store discounts apply automatically: BRONZE −10%, SILVER −20%, GOLD −30%. If the maximum charge you set for the run is too low for the next file, that file gets a free error row and nothing more is charged.
FAQ
Why Parquet? Parquet stores data by column with types and compression, so files are often 5–10× smaller than CSV and much faster to query in DuckDB, pandas, Spark or a cloud warehouse.
Which compression should I pick? Snappy is the common default and fast. Zstandard (zstd) usually gives the smallest files and is read by current versions of all major tools. Gzip is the safest choice for very old readers.
My dates came out as text. Only ISO formats (2026-03-02, 2026-03-02 10:15:00, 2026-03-02T10:15:00Z) are detected as dates. Other formats stay text, so nothing is guessed wrong.
Can I convert a scraper's results directly? Yes — pick its dataset in Or an Apify dataset. Nested fields become dot columns.
Does it change my values? No rounding or re-formatting: values are only parsed into types. Turn off Detect column types to keep every value as the exact text from the CSV.
If this Actor saved you time, a rating on the Store helps others find it.
More tools from the same developer
- JSON to CSV Converter — turn nested JSON files or datasets into one flat CSV file
- CSV to Excel Converter — convert CSV, TSV, Excel XLSX, JSON and NDJSON files or Apify datasets into each other
- Flatten JSON to CSV — flatten nested JSON into flat rows with the separator you choose
- Merge Datasets — combine several datasets or CSV/JSON files into one, with columns aligned
- Excel to JSON — turn Excel (XLSX) sheets into JSON rows, or a JSON file into an Excel sheet