DuckDB SQL Query Tool
Run a read-only DuckDB SELECT against a local database and inspect the results in a grid.
- Free
- Works Offline
- No Uploads
How to Use DuckDB SQL Query Tool
- Open the HTML, review Security Check, then select Continue.
- Choose a DuckDB file or select Open Sample DuckDB.
- Choose a Table or View to start with a sample SELECT statement.
- Edit the SQL and choose Run Query. Inspect the result in the grid.
DuckDB SQL Query Tool Features
- Choose a table or view to fill the SQL editor with a starting SELECT.
- Run native DuckDB SELECT, including compatible joins, aggregates, and common table expressions.
- Preview and sort the first 250 result rows in the grid.
Formats and Compatibility
| Input | A local .duckdb or .db file with a DuckDB database header. |
|---|---|
| Output | A preview of up to 250 rows returned by a read-only DuckDB SELECT. |
| Browser | A modern browser with local file support. |
| Scope | Works with unencrypted DuckDB files compatible with the bundled engine. Queries requiring extensions or external files may be unavailable. |
| Operating Systems |
Local Processing Without Uploads
Open the downloaded HTML and process the database locally in a compatible browser. The engine is included and internet access is unnecessary.
Select Open Sample DuckDB to see the workflow with the included example.
Supported DuckDB Sources
DuckDB stores tables and views in a local database file. Choose a file with committed changes from a supported DuckDB version.
Run DuckDB SQL
Edit the starting SELECT and choose Run Query. Use ORDER BY and LIMIT when you want DuckDB to determine which records the preview includes.
Frequently Asked Questions
Can I use DuckDB SQL Query Tool offline?
Yes. Download the standalone HTML and open it in a browser that supports WebAssembly and local workers.
Does this change the original DuckDB database?
The database is opened in read-only mode. All processing stays on your device.
Which files can I open?
Choose a DuckDB database with a .duckdb or .db extension. A SQLite file with a .db extension is a different format.
Which SQL statements can I run?
Run a single read-only DuckDB SELECT, with compatible joins, functions, aggregations, or common table expressions. The grid shows up to 250 rows.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.