DuckDB-WASM
A DuckDB-WASM SQL editor for local file analysis
SQL for Files packages DuckDB-WASM, Monaco, Apache Arrow, charts, and export tools into a browser IDE for ad-hoc file analysis.
Full analytical SQL engine running in WebAssembly
Monaco editor with syntax highlighting and autocomplete
Separate tabs, query history, schema browsing, and table previews
No database server installation required
How it works
- Open the editor; DuckDB-WASM starts inside your browser tab without a server or install.
- Add CSV, JSON, or Parquet files, or load lesson sample data, and browse tables and columns in the sidebar.
- Write queries with autocomplete, run them in separate tabs, and reopen earlier queries from local history.
Example queries
Join local files
SELECT o.order_id, c.customer_name, o.total_amount
FROM orders o
JOIN customers c ON o.customer_id = c.id
ORDER BY o.total_amount DESC;Use window functions
SELECT customer_name, total_amount, RANK() OVER (ORDER BY total_amount DESC) AS revenue_rank
FROM orders;Frequently asked questions
What is DuckDB-WASM?
DuckDB-WASM is the DuckDB analytical database compiled to WebAssembly so it runs inside a web browser. SQL for Files uses it as its query engine.
Which SQL features can I use?
DuckDB SQL: joins, aggregations, window functions, CTEs, GROUPING SETS, list functions, and UNNEST all work. Features that depend on native system access can behave differently in the browser build.
Do I need an account?
No. The editor is free and works without an account.