Engineering Guides5 min readUpdated: 2026-11-24

How to Inspect & Query Apache Parquet with SQL in Your Browser

Inspect Apache Parquet schemas and run full SELECT, JOIN, and GROUP BY SQL queries locally in browser RAM using hyparquet and self-hosted sql.js WASM.

Quick Answer

You do not need Python, DuckDB CLI, or cloud warehouse uploads to query .parquet files. DataTo reads Parquet metadata via hyparquet range slices (File.slice) and executes SQLite WASM SQL (SELECT, WHERE, GROUP BY, JOIN) completely inside your browser.

Why Parquet inspection works instantaneously with zero upload

Apache Parquet stores its schema, column statistics, and row-group offsets in the file footer right before the trailing PAR1 magic bytes. By wrapping browser File.slice(start, end) in an AsyncBuffer, DataTo's Parquet Viewer reads the schema and initial rows without downloading or posting bytes anywhere.

Snappy and Zstd compressed columns decode cleanly in pure JavaScript via hyparquet-compressors, and BigInt 64-bit timestamps or integers normalize safely for display and CSV/JSON export.

Open Parquet Viewer locally →

Running live SQL over Parquet, CSV, and SQLite files

Once your Parquet file is loaded into Parquet SQL Query, DataTo registers decoded rows into an isolated, self-hosted sql.js WebAssembly database named data (or your custom table name). You can run arbitrary aggregations, filters, and joins offline.

SELECT region, COUNT(*) AS orders, ROUND(SUM(amount), 2) AS revenue
FROM data
GROUP BY region
ORDER BY revenue DESC;

Query Parquet with SQL now →

Exporting query results to CSV, JSON, or a new Parquet binary

Export filtered query results directly as UTF-8 BOM CSV for Excel, typed JSON for APIs, or convert CSV/JSON back into a valid PAR1 binary with SNAPPY compression via CSV to Parquet.

Convert CSV to Parquet locally →

Tools used in this guide

Parquet & SQL →

Related formats

Related Comparisons

Frequently asked questions

Does Parquet SQL Query send my database or .parquet file to a backend?

Never. Both hyparquet and self-hosted /wasm/sql-wasm.wasm run inside Dedicated Web Workers in your browser tab.

Which Parquet compression codecs are supported?

DataTo supports UNCOMPRESSED, SNAPPY, GZIP, and ZSTD-compressed Parquet files via hyparquet-compressors.

Can I also run SQL over CSV or .sqlite files in the same workspace?

Yes. Parquet SQL Query accepts .parquet, .csv, .sqlite, and .db files directly.

Authoritative References

More engineering guides