DuckDB Online — SQL Shell in Your Browser
Use DuckDB online with no install. A browser DuckDB shell with query tabs, history, local files, window functions and CSV, JSON and Parquet exports.
DuckDB is a fast analytical SQL database, and DuckDB-WASM runs it entirely inside a web page. The SQL Playground wraps it in a proper editor: tabs, autocomplete for your tables and columns, query history and exports — handy when you're on a machine where you can't install the CLI.
How it works
- Open the SQL Playground — DuckDB starts in your browser in a few seconds.
- Run queries on its own, or load CSV, Parquet, JSON or Excel files as tables.
- Use tabs and history to keep work across visits in this browser.
Examples you can copy
Check the version
SELECT version();
Generate data without any file
SELECT range AS n, n * n AS square
FROM range(1, 11);
Window functions
SELECT order_id, region, quantity,
SUM(quantity) OVER (PARTITION BY region ORDER BY order_date) AS running_units
FROM orders;
FAQ
Is this the real DuckDB?
Yes. It is the official DuckDB-WASM build, the same SQL engine compiled to WebAssembly. Most DuckDB SQL works, including CTEs, window functions, QUALIFY, PIVOT and GROUP BY ALL.
What's different from the DuckDB CLI?
Dot commands (like .tables) and extensions that need native code or network access aren't available, and memory is limited by the browser. Plain SQL works the same.
Does it need an internet connection?
Only to load the page the first time. After that the engine runs locally and your files never leave the browser.
How does it compare to DB Fiddle or SQLite online?
Those are for practising SQL on small hand-made tables. This is built for querying your own real files — CSV, Parquet, JSON and Excel — privately.
Open the SQL Playground
Explore the local data workbench · Browse all tools