Free · Snappy · Browser-local

Compress Parquet Files Online

Rewrite supported flat Parquet files with internal Snappy compression, validate the schema and values, then download a normal .parquet file.

Supported flat schemas up to 25 MB. Files opened in this local viewer stay in your browser unless you choose an upload tool.

  1. Choose one Parquet file
  2. Select Compress Parquet and review size
  3. Download the compressed Parquet file

What the Parquet compressor preserves

The tool reads typed columns separately from the viewer’s display strings. It preserves the supported schema, column order, row count, values, and null positions, then reopens the result before enabling its download.

Inputs are limited to 25 MB because decoded columns can use much more browser memory than their encoded source. Unsupported schemas receive a controlled error rather than being flattened or converted.

Other ways to work with your Parquet file

Prefer a script or command line? These local examples complete the same task with installed tools. Review their format and memory limitations before using them on your data.

Recompress Parquet with Python

Run this Python script locally with Apache Arrow. The script reads your local file rather than sending it to this website.

Before you start

  • Install Python 3 and create an isolated environment using the commands below.
  • Work in a folder containing input.parquet. Change the filenames to your own paths and use a new output name to avoid overwriting a file.
  1. Save the Python code as task.py. On macOS/Linux run .venv/bin/python task.py; on Windows PowerShell run .venv\Scripts\python.exe task.py.
Set up Python on macOS/Linux
python3 -m venv .venv
.venv/bin/python -m pip install pyarrow

Set up Python on Windows PowerShell
py -m venv .venv
.venv\Scripts\python.exe -m pip install pyarrow

task.py
import pyarrow.parquet as pq

source = pq.ParquetFile("input.parquet")
with pq.ParquetWriter("snappy.parquet", source.schema_arrow, compression="snappy") as output:
    for batch in source.iter_batches(batch_size=65536):
        output.write_batch(batch)
print("Rows:", pq.ParquetFile("snappy.parquet").metadata.num_rows)

Limits and output

  • Writes Snappy compression inside a normal .parquet file, not a .gz wrapper. The output is not guaranteed to be smaller.
  • Rewriting may change row groups, encoding and file metadata. Keep the original and verify schema and values before replacing it.

Documentation: Apache Arrow Parquet documentation

Recompress Parquet with DuckDB

Use the DuckDB command-line client to work directly with a local Parquet file.

Before you start

  • Install the DuckDB CLI using the official installation instructions, then confirm duckdb --version.
  • Work in a folder containing input.parquet. Change the filenames to your own paths and use a new output name to avoid overwriting a file.
Run in a terminal
duckdb -c "COPY (SELECT * FROM read_parquet('input.parquet')) TO 'snappy.parquet' (FORMAT PARQUET, COMPRESSION SNAPPY);"

Limits and output

  • Writes Snappy compression inside a normal .parquet file, not a .gz wrapper. The output is not guaranteed to be smaller.
  • Rewriting may change row groups, encoding and file metadata. Keep the original and verify schema and values before replacing it.
  • DuckDB maps supported source types to its own logical types. Verify special timestamps, decimals and nested types.

Documentation: Install the DuckDB CLI; DuckDB Parquet documentation

Recompress Parquet with ClickHouse

Run ClickHouse local on your computer; no ClickHouse server or cloud account is required for this local-file example.

Before you start

  • Install the ClickHouse binary for your operating system from the official instructions and confirm clickhouse local --version.
  • Work in a folder containing input.parquet. Change the filenames to your own paths and use a new output name to avoid overwriting a file.
Run in a terminal
clickhouse local --query "SELECT * FROM file('input.parquet', Parquet) INTO OUTFILE 'snappy.parquet' FORMAT Parquet SETTINGS output_format_parquet_compression_method='snappy';"

Limits and output

  • Writes Snappy compression inside a normal .parquet file, not a .gz wrapper. The output is not guaranteed to be smaller.
  • Rewriting may change row groups, encoding and file metadata. Keep the original and verify schema and values before replacing it.
  • ClickHouse applies its own supported type mappings and output ordering. This is a rewrite, not an in-place metadata-only change.

Documentation: Install ClickHouse; ClickHouse local documentation

Plain answers

Parquet viewer questions

Does this create a .parquet.gz file?

No. It rewrites compression inside the Parquet column chunks, so the result remains a directly readable .parquet file rather than a gzip-wrapped archive.

Is my Parquet file uploaded?

No. Decoding, Snappy rewriting, validation, and download creation run in this browser tab.

Which Parquet schemas are supported?

This first version supports flat primitive Boolean, integer, floating-point, byte-array, and string columns. It rejects nested, repeated, list, map, INT96, fixed-length byte-array, and unsupported logical types instead of changing them.

Will Snappy always make the file smaller?

No. Snappy favors broad compatibility and decoding speed. Its output can be larger than Zstandard, Brotli, or a source file that was already well optimized.