Explore
Databases, schemas, tables, views, functions and their columns, indexes and triggers, loaded as you open them. Filter by name, and read any object's definition.
dbdesk is a desktop database tool written in Rust. Explore your schemas as a tree, write and run SQL in consoles that remember your work, and page through, sort, export and edit the results.
Packages for macOS and Linux come with each release. Until the first one is out, build it from source.
SQL Server, DuckDB, ClickHouse, Oracle and others are planned.
Databases, schemas, tables, views, functions and their columns, indexes and triggers, loaded as you open them. Filter by name, and read any object's definition.
Consoles with highlighting, completion from your catalog and formatting. Run the
statement at the cursor or a whole script, explain it, cancel it. Consoles are saved
as .sql files.
Rows arrive 500 at a time. Sort and filter what's loaded, copy a selection, view long values, export to CSV or JSON, and edit a table's rows.
Manual-commit transactions, a history of every statement, a check before an
UPDATE or DELETE without WHERE, and a colour
per data source so production stands out.
Rebind shortcuts in keymap.toml, pick light or dark, and edit the plain
files dbdesk keeps its settings in. Passwords stay in your system's keychain.
Written in Rust with egui, MIT or Apache-2.0 licensed. Small enough to read end to end; the design docs explain how it's built.
With Rust 1.95 or newer:
git clone https://github.com/navasvarela/dbdesk.git
cd dbdesk
cargo run --release -p dbdesk-app
The manual covers installing, adding a data source and everything after.