Engineering Guides5 min readUpdated: 2026-11-24

Parquet vs. CSV vs. SQLite: Choosing the Right Format for Browser Analytics

Compare Apache Parquet, CSV, and SQLite 3 by file size, compression, column pruning, SQL querying, and WASM browser memory behavior.

Quick Answer

Choose Apache Parquet for compact, typed analytical snapshots (5x–10x smaller than CSV); choose SQLite when shipping multi-table relational databases with indexes and foreign keys; choose UTF-8 BOM CSV for universal spreadsheet sharing.

Columnar Parquet vs. Row-Oriented SQLite vs. Plain-Text CSV

CSV stores every value as raw text with zero compression or types. SQLite stores indexed relational tables inside a B-tree page file ideal for transactional lookups and multi-table joins. Apache Parquet groups values column-by-column using dictionary encoding and Snappy/Zstd compression.

DimensionApache ParquetSQLite 3 (.sqlite)CSV (RFC 4180)
Storage LayoutColumnar row groupsRow B-tree pagesPlain-text rows
100k Row Footprint~1.8 MB (Snappy)~9–12 MB~14–22 MB
Typed SchemaStrict (Int/Float/Bool/Timestamp)Dynamic affinity + DDLUntyped strings
Multi-Table SupportSingle table per fileUnlimited tables & viewsSingle sheet

Query Parquet or SQLite with SQL →

Converting seamlessly between all three formats locally

DataTo bridges all three engines in browser memory: read .parquet via hyparquet, query or unpack .sqlite via self-hosted sql.js, and write spec-compliant .parquet or Excel-safe .csv without installing CLI packages.

Export SQLite tables to CSV →

Tools used in this guide

Parquet & SQL →

Related formats

Related Comparisons

Frequently asked questions

Why is Parquet so much smaller than CSV for analytics data?

Repeating strings like country codes or statuses are dictionary-encoded once per row group and compressed together across homogeneous column bytes.

Can SQLite Viewer browse multi-table .db files?

Yes. SQLite Viewer lists every table in sqlite_master, previews rows in a virtualized grid, and runs live SQL queries.

Which format should I open in Microsoft Excel?

Convert Parquet or SQLite outputs to UTF-8 BOM CSV or .xlsx before handing spreadsheets to Excel users.

Authoritative References

More engineering guides