DuckDB Analytics
Query Parquet, CSV, and JSON files with analytical SQL, entirely locally.
- Your draft is kept in this tab's session storage and cleared when the tab closes.
Draft kept in this tab
Your draft is kept in this tab's session storage and cleared when the tab closes. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Data files
No files registered yet. Drop one above, then query it by its table name or exact filename.
Schema
No tables or views in current DuckDB session.
SQL query
Result
Drop a Parquet, CSV, or JSON file above or enter an analytical SQL query, then click Run query.
What this tool does
Queries CSV, JSON and NDJSON files, and Parquet files DevStash saved, with analytical SQL, entirely in your browser tab using the synchronous DuckDB WebAssembly bindings inside an isolated Web Worker. Each dropped file is read into an in-memory table named after it, which you can query by that name or by the exact filename it was dropped with, without uploading anything.
For example, dropping events.parquet (a Parquet file DevStash saved) and running select country, count(*) c from 'events.parquet' group by 1 order by c desc limit 10; executes a columnar aggregation over the table read from it and returns the top ten rows in milliseconds.
Multi-statement scripts show one result per statement, in submission order, in the Result sheet. COPY โฆ TO '<name>.parquet' keeps the rows in this session under that name for later statements to read with read_parquet. It writes no file to your device and applies no COPY option but the format; Save as Parquet is the download.
Limits
The largest asset in the product by an order of magnitude, and the reason 03 ADR-11 exists: nothing downloads it until this route runs a query. In-memory only; registered files live in the engine's virtual filesystem and are gone on reset. No httpfs, no S3, no remote Parquet by URL, because 03 ADR-15 forbids the request and a half-working extension is worse than an absent one. Display is capped at 10,000 rows; export is not.
Attached CSV and TSV files auto-detect comma, semicolon, or tab delimiters, preserve internal blank lines as empty rows, and infer column-wise integer, decimal, boolean, ISO date, timestamp, and null values while falling back mixed columns to text. Save as Parquet writes typed physical and logical columns (integers, doubles, booleans, UTF-8 text, dates, timestamps, decimals, and nullable definition levels) compatible with external Parquet readers.
Known DuckDB WebAssembly Arrow wire limits: TIMETZ arrives as Time64 with its UTC offset dropped (indistinguishable from TIME), and BIT arrives as untagged binary (indistinguishable from BLOB).
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.