A lightweight database browser and SQL query tool for VS Code.
Connect to PostgreSQL or SQLite, browse tables, and run queries — without leaving your editor.
Features
- Browse tables — explore your schema and preview data with pagination
- Run SQL queries — built-in query editor with keyboard shortcut (
⌘↵/Ctrl+↵) - Multiple connections — manage and switch between connections from the sidebar
- Export to CSV — one-click export of any table or query result
- Live connection badge — activity bar shows how many connections are active at a glance
- Secure storage — passwords are stored in VS Code's encrypted SecretStorage, not in settings
Supported Databases
| Database | Status |
|---|---|
| PostgreSQL | ✅ |
| SQLite | ✅ |
Getting Started
- Click the DBee icon in the Activity Bar
- Click + to add a connection
- Fill in your connection details and click Save
- Click a connection to browse its tables, or open the Query Editor via the
>_button
Usage
Table Browser
Click any connection in the sidebar to open the table browser. Select a table to preview its data. Use the search box to filter tables by name.
Query Editor
Open via the >_ button in the sidebar or the command palette (DBee: Open Query Editor). Select a connection from the dropdown, write SQL, and press Run or ⌘↵.
Export
Click ⬇ Export CSV in any table browser or query result panel to save the data as a CSV file.
Configuration
| Setting | Default | Description |
|---|---|---|
dbee.pollingInterval |
5000 |
Connection monitoring interval (ms) |
dbee.slowQueryThreshold |
1000 |
Warn when a query exceeds this time (ms) |
dbee.defaultRowLimit |
100 |
Rows per page in table preview |
Commands
| Command | Description |
|---|---|
DBee: Add Connection |
Add a new database connection |
DBee: Connect |
Connect to a saved connection |
DBee: Open Query Editor |
Open the SQL query panel |
DBee: Run Query |
Run selected SQL from the active editor |
Privacy
DBee does not collect or transmit any data. All connection credentials are stored locally using VS Code's built-in SecretStorage.
Found a bug or have a feature request? Open an issue on GitHub