Browser WASM & SQLite Architecture: Zero-Upload Privacy & Memory Limits
Inside DataTo's Dedicated Web Worker architecture: self-hosted 688 KB sql.js WASM, Parquet range reads, Worker recycling, and how to stay safe on huge datasets.
Browser tabs typically cap individual WebAssembly heaps around 2–4 GB. DataTo keeps UI responsiveness high by executing sql.js (688 KB self-hosted WASM) and hyparquet inside Dedicated Web Workers, reading Parquet headers via File.slice(), closing DB handles in finally, and offering one-click Worker memory release.
Self-hosted WASM with zero external CDN dependencies
Many web utilities fetch WASM binaries at runtime from public CDNs like jsDelivr or unpkg—introducing availability risks and third-party network requests. DataTo bundles sql-wasm.wasm (688 KB) and sql-wasm.js directly on datato.app and caches /wasm/* lazily in a persistent Service Worker cache for Airplane Mode reliability.
Deterministic Worker cleanup and memory release
Every sql.js query closes database handles inside try / finally blocks, virtualizes rendered table grids via @tanstack/react-virtual so 50,000 rows render without DOM bloat, and lets you terminate and reclaim Worker linear memory anytime with one click.
Tools used in this guide
Parquet & SQL →Open .sqlite, .sqlite3, and .db databases locally with self-hosted sql.js WASM — inspect tables, schemas, and run live SQL.
Run live SELECT, WHERE, GROUP BY, and JOIN SQL queries over local .parquet, .csv, and .sqlite files via self-hosted WASM.
View Parquet table rows, column schema types, row-group counts, and Snappy/Zstd compression metadata in a virtualized grid.
SQLite to CSVExtract one or all tables from .sqlite / .db files into Excel-safe UTF-8 BOM CSV or a multi-table ZIP archive locally.
Related formats
Related Comparisons
Frequently asked questions
Why does DataTo avoid setting COOP/COEP headers?
Self-hosted sql.js and hyparquet run reliably in single-threaded Dedicated Web Workers without requiring Cross-Origin-Embedder-Policy headers that break normal browser previews or embedded resources.
What happens if a giant file exceeds tab RAM?
Use rowLimit to inspect or export bounded subsets, release Worker memory between heavy files, and prefer Parquet range inspection over loading whole uncompressed files.
How can I verify that zero bytes are uploaded?
Open DevTools Network tab, filter Fetch/XHR, drop any .sqlite or .parquet file, and run queries—you will observe 0 outbound payload uploads.
Authoritative References
More engineering guides
Convert HuggingFace Parquet shards to JSONL, JSON, or UTF-8 BOM CSV locally in browser RAM using hyparquet and sql.js WASM—zero Python or uploads required.
Parquet vs. CSV vs. SQLite: Choosing the Right Format for Browser AnalyticsCompare Apache Parquet, CSV, and SQLite 3 by file size, compression, column pruning, SQL querying, and WASM browser memory behavior.
How to Inspect & Query Apache Parquet with SQL in Your BrowserInspect 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.
OpenAI & Anthropic Fine-Tuning JSONL Dataset Preparation GuideFormat, convert, validate, deduplicate, and shard ChatML JSONL fine-tuning datasets from CSV, Alpaca, ShareGPT, or Parquet locally in browser RAM.