DBBase

OPEN SOURCE. AT HOME IN VS CODE.

Your databases.
Your editor.
One workspace.

Explore your data, write SQL, and make changes without breaking your flow. PostgreSQL, MySQL, and Redis — right inside VS Code.

Free to use. MIT licensed. Built by a developer, for developers.

PostgreSQLMySQL / MariaDBRedis
workspace — DBBase
DBBASE
Product database
⌄   Queries
▱   recent_orders.sql
⌄   Tables
⊞   customers
⊞   orders
⊞   products
›   Local Redis
PostgreSQL · SSL
SQL recent_orders.sql
Queries recent_orders.sql
Query results 3 rowsExport ↗
Example query results
# id A customer # total
1042 Alex Morgan 249.00
1041 Sam Chen 89.00
1040 Jordan Lee 159.00
✓ Query completeUTF-8   SQL
⎇   main◉   DB: Product database (postgres)
One connected workflow. Illustrative workspace with sample data.

LESS SWITCHING. MORE DOING.

From first query
to the final export.

The tools you reach for every day, in the workspace you already know.

01 / EXPLORE

Find your way through the data.

Browse schemas and tables, group related tables by prefix, and explore Redis keys in a familiar sidebar.

PostgreSQL · MySQL · Redis
02 / WORK

Query, inspect, and edit.

Keep SQL queries with your connections, run a selection or statement, and edit table data directly in the grid.

Ctrl + Enter to run a query
03 / SHARE

Take the results with you.

Export query results to the format your next step needs. From a quick CSV to an Excel workbook or SQL inserts.

CSVJSONXLSXMDSQL

REMOTE POSTGRESQL, TOO

A secure connection
starts with SSL.

Connect to remote PostgreSQL with TLS, server certificate validation, and an optional custom CA certificate. Choose the right connection settings directly in VS Code.

See SSL configuration

CONTEXT FOR YOUR AI TOOLS

Let your schema
join the conversation.

The built-in MCP server exposes schema, table details, and read-query tools. Connect a compatible AI client, with setup support for Claude Desktop.

Explore the MCP setup

YOUR NEXT QUERY STARTS HERE

Make yourself
at home.

Install DBBase and connect your first database.

Get DBBase for VS Code
  1. Install the extension

    Find DBBase in the VS Code Marketplace.

    code --install-extension DBbase.dbbase
  2. Add your connection

    Open DBBase in the Activity Bar, click +, and enter your database details.

  3. Start with your data

    Browse a table or open a query tab. Run SQL, inspect results, and keep your flow.