Features¶
The key features are:
- Cross-platform support for macOS/Linux/Windows (32/64-bit)
- Simple installation (distributed as a single binary)
- Zero dependencies.
- Vim-style query editor backed by a real modal-editing engine (goeditor): normal/insert modes, word and line motions, undo/redo, visual mode selection, and in-buffer search, on top of the line-oriented editing commands.
- Multi-query execution: write multiple SQL statements separated by
;and run them concurrently with results in separate tabs. - Single-query execution: execute only the query on the current cursor line with
ctrl+r, without running other statements in the editor. - Cell inspection with text and JSON panels: append
| textor| jsonto a single-column query to inspect large text values or formatted/highlighted JSON documents in a dedicated scrollable panel instead of a table cell. - Connection profiles with secure credential storage in the OS keyring.
- Query history: executed queries are automatically saved and can be browsed or re-used from a searchable list.
- Read-only mode: use
--readonlyto prevent accidental writes by forcing the database session into read-only mode (PostgreSQL, MySQL, SQLite, Oracle, and SQL Server). - Schema switching: press
ctrl+sto pick the active schema from a filterable list without restarting the app (PostgreSQL and Oracle, when no schema was pinned at startup); the active schema is always shown in the status bar. - Built-in help modal: press
?to display a help overlay showing all available key bindings; pressEscto dismiss it. - Full-screen mode: press
alt+fto expand the focused query editor or result set panel to fill the terminal; pressEscto exit. - Per-panel key bindings: the query editor, the sidebar tree, the result set panel and the panel navigation each have their own section in
.dblab.yaml, so every panel can be rebound independently. - Customizable themes: choose from
cyberpunk(default),catppuccin,tokyonight,gruvbox,nord,dracula,monokai, andonedarkusing the--themeflag or configuration file.