Database Tools That Actually Work With You

Everything you need to query, edit, visualize, and share database work—without leaving VS Code.

CONNECTIVITY

Connect Once. Access Everything.

20+ databases, SSH tunnels, cloud providers—all from one extension. No setup headaches.

  • 20+ Supported Databases

    Connect to MySQL, PostgreSQL, SQL Server, Oracle, MongoDB and more

    Learn more
  • SSH Tunnels

    Securely connect to databases behind firewalls using SSH tunneling

    Learn more
  • Cloud Providers

    Access all databases within your cloud provider through a single connection.

    Learn more
DATA OPERATIONS

Edit Data Without Fear

Visual editing with undo/redo, custom SQL with autocomplete, and stored procedure execution. All the control, none of the risk.

  • Visual Data Editing

    Edit and manage your table data without writing SQL DML

    Learn more
  • Custom SQL Editors

    Write and execute custom SQL queries with syntax highlighting and autocomplete

    Learn more
  • Stored Procedures and Functions

    Execute and manage your database logic components

    Learn more
NOTEBOOKS

Document Your Database Work

SQL notebooks let you mix queries, markdown, and results in one file. Perfect for exploration, analysis, and sharing insights with your team.

  • Mixed Content

    Combine SQL queries with markdown documentation in a single document

  • Cell-based Execution

    Run individual cells or execute all cells in sequence

  • Shareable Results

    Export your notebooks with results for collaboration and knowledge sharing

sales_analysis.dbcnb
Markdown

Monthly Sales Analysis

Analyzing sales performance by region for April 2025.

SQL
SELECT 
  region_name,
  COUNT(order_id) as order_count,
  SUM(amount) as total_sales
FROM sales s
JOIN regions r ON s.region_id = r.id
WHERE order_date BETWEEN '2025-04-01' AND '2025-04-30'
GROUP BY region_name
ORDER BY total_sales DESC;
VISUALIZATION

See Your Data Clearly

Understand your database structure and visualize query results with powerful built-in tools.

  • Interactive ERD Diagrams

    Visualize and understand your database relationships

    Learn more
  • Data Charts

    Transform query results into meaningful visualizations

    Learn more
  • Relationship Browsing

    Navigate between related tables with a single click

    Learn more
AI INTEGRATION

Let AI Write the SQL

Ask questions in plain English, get SQL and results instantly. GitHub Copilot integration that actually understands your schema. Plus full MCP support for Claude and other AI tools.

AI Chat

Ask questions about your database in natural language and get real data from your database.

Copilot Tools

Special commands to help you find issues in your queries, optimize performance, or explain complex SQL in simple terms.

Model Context Protocol

Advanced integration allowing AI tools to understand your database structure for more accurate suggestions and insights.

PRODUCTIVITY

Work Faster and Smarter

DBCode brings many productivity enhancers to streamline your database workflows.

Query Parameters

Make your queries dynamic and reusable with support for multiple parameter formats.

Learn more

Query History

Never lose your work with unlimited query history tracking and search capabilities.

Learn more

Export Options

Export data in multiple formats including CSV, Excel, JSON, HTML, and SQL statements.

Learn more

Script Execution

Run .sql scripts directly to quickly execute multiple statements or setup databases.

Learn more

Connection Roles

Define read-only connections and other role-based access for better security.

Learn more

Import Data

Easily import data from CSV files, JSON, or other database tables and views with intuitive column mapping.

Learn more

Try It. You'll Never Go Back.

10,000+ developers already stopped alt-tabbing between database tools. Join them.