Query local files using DuckDB-Wasm in the browser

How to query CSV in the browser using DuckDB-Wasm

DuckDB-Wasm is an in-process analytical SQL database for the browser. It is powered by WebAssembly, speaks Arrow fluently, and reads Parquet, CSV and JSON files. – DuckDB.

This page will load the DuckDB client from my ObservableHQ notebook, allowing anyone to upload a single file or multiple files (CSV, JSON, Parquet) and perform queries on those files, locally. You are not actually uploading your files to any server. It's only available temporarily in memory. You can then save the query result using the save button.

You might need to wait for a few seconds until DuckDB instantiated. Unfortunately, this page currently doesn't work on Android mobile browsers (Chrome & Firefox).

Tak takut lagi ketinggalan

Daftarkan email Anda untuk berlangganan nawala.
[email protected]