convert-to-parquet
convert-to-parquet is a multi-format converter to Parquet written in Rust.
It converts CSV/TSV, JSON/JSONL/NDJSON and Excel spreadsheets (xlsx/xlsm/xlsb/xls/ods) to compressed Parquet files (ZSTD), with automatic schema inference and parallel processing.
It also supports reverse conversion: Parquet → CSV, Parquet → JSONL, Parquet → JSON (array of objects), and Parquet → XLSX (Excel workbook).
Key Features
- Automatic type inference: Boolean, Int64, UInt64, Float64, Date32, Timestamp(ms), LargeUtf8
- ZSTD compression (level 5) for optimized Parquet files
- Parallelism: reading in blocks of 100,000 rows, parallel conversion (rayon), ordered writing (crossbeam)
- Automatic detection of delimiter and header
- Glob patterns:
convert_to_parquet *.csv - stdin input:
cat data.csv | convert_to_parquet - - Compressed files:
.gz,.zstautomatically decompressed - Detailed validation report for each conversion
- Interactive mode: full-screen Parquet viewer (ratatui) with data preview and export to CSV / JSONL / JSON / XLSX
- GUI application: graphical interface (egui/eframe) with schema editing, preview, batch conversion
Supported Formats
| Input | Output |
|---|---|
| CSV, TSV, and other delimiters | Parquet (.parquet) |
| JSON, JSONL, NDJSON | Parquet |
| XLSX, XLSM, XLSB, XLS, ODS | Parquet (one sheet = one file) |
| Parquet | CSV |
| Parquet | JSONL |
| Parquet | JSON |
| Parquet | XLSX (Excel workbook) |