Uploading & downloading databases
Import and export DuckDB database files
Uploading a database
You can import an existing DuckDB database file by dragging and dropping a
.duckdb or .db file
to the drop zone in the lower left corner of the sidebar.
The database will be imported with read/write access and appear in the schema browser. You can then
query its tables and views, create new tables, or modify existing data.
Downloading a database
To download a database as a
.duckdb file, right-click on any database in the schema browser and select
"Download Database".
This works for all databases, including the default
memory database. The exported file preserves the
full schema including tables, views, indexes, and constraints.
The downloaded file can be:
- Re-imported into SQL Workbench via drag-and-drop
- Opened with the DuckDB CLI
- Used in any application that supports DuckDB