Your database.
Inside VS Code.

For devs who'd rather ship than alt-tab around.

Visual editing AI-powered queries VS Code, Cursor, Windsurf & more

No credit card needed • Free forever for core features.

15k+ Developers Shipping Faster

5 Marketplace Rating

50+ Databases

Safely edit your data with built-in validation, undo support, and real-time feedback. Our editor lets you make changes with confidence, knowing you can always revert if needed.

Verified changes before commit

Every change is double-checked before it's applied.

Undo/redo support

Full history tracking lets you revert changes with a single click

Let GitHub Copilot do the heavy lifting. Just ask a question in natural language — DBCode uses GitHub Copilot tools to generate the SQL, run the query, and instantly show you the results. No tabs. No context switching. Just answers.

Natural language to query to result

Type what you want (e.g. “Show me total revenue by product”), Copilot writes the SQL, DBCode runs it, and you see the data — all in one step.

Schema-aware suggestions

Autocomplete isn't guessing — it actually knows your tables, columns, and relationships.

No app-hopping

Skip the copy-paste dance. The entire flow lives inside VS Code. But hey — it's also a MCP, so if you really want it somewhere else... Learn more →

Navigate your database without writing a single line of SQL. Browse tables and follow relationships as naturally as clicking a link. It's database exploring on autopilot, perfect for when you just need answers fast.

One-click table relationships

Jump directly to related records via foreign keys — no manual queries needed.

Context-aware filtering

Select a record and DBCode automatically filters relevant data in related tables.

See the big picture of your database. DBCode auto-generates interactive ER diagrams so you can literally see how your tables connect. Drag, zoom, and arrange to untangle complex relationships — no separate modeling tool needed.

Interactive diagrams

Pan and zoom through an ERD that's built from your actual schema.

No manual upkeep

Diagrams update automatically as your schema changes.

Trusted by developers at

Wells Fargo
Microsoft
Deloitte
Intel
AMD
Amazon
General Motors
Visa
Cisco
Ford
Infosys
US Bank
CVS Health
Experian
Capgemini
Siemens
BMW
AstraZeneca
Maersk
Klarna
MetLife
RBC
Arctic Wolf
Zoho
DraftKings
Sky
ANZ
Commonwealth Bank
Wells Fargo
Microsoft
Deloitte
Intel
AMD
Amazon
General Motors
Visa
Cisco
Ford
Infosys
US Bank
CVS Health
Experian
Capgemini
Siemens
BMW
AstraZeneca
Maersk
Klarna
MetLife
RBC
Arctic Wolf
Zoho
DraftKings
Sky
ANZ
Commonwealth Bank

Up and Running in Minutes

No complicated setup. No external tools. Just install and connect.

1

Install the Extension

One click from the VS Code marketplace. Works on Mac, Windows, and Linux.

2

Connect Your Database

Add your connection string or use a cloud provider for automatic discovery.

3

Query, Edit, Ship

Browse data, run queries, and edit records without leaving your editor.

Works with Your Databases

SQL, NoSQL, big data, or streaming - if you use it, DBCode supports it.

Missing your database? We're constantly expanding our support.

Don't just take our word for it

Trusted by thousands of Developers, DBA's, Data Analysts, Indie Hackers and Hobbyists

"Finally a decent extension that allows you to integrate vscode with database management"

A
Adnier Roselló

"After trying the trial, I stopped searching—this is perfectly tuned to our developer needs, loaded with thoughtful touches like notebook support, and it does not cost a fortune."

Andreas Gerlach

"A must-have for any developer, Data scientist, Data Analyst looking to streamline their database management workflow in VS Code."

Data Scientist

"It has streamlined countless tasks and significantly accelerated my path to meaningful analysis. The team is quick to respond, keeps shipping thoughtful enhancements, and it has been one of the smartest productivity investments I have made."

Stephen Watson

Join thousands of developers who've already improved their database workflow

EXPLORE & DOCUMENT

SQL Notebooks for Data Exploration

Mix SQL queries, markdown docs, and results in one interactive document. Perfect for exploratory analysis, team collaboration, and documenting your database insights.

  • Create executable code cells with SQL queries
  • Add markdown documentation for context and analysis
  • Execute cells individually or run the entire notebook
Learn About Notebooks
customer_analysis.dbcnb
Markdown

Customer Order Analysis

This notebook explores customer ordering patterns for Q1 2025.

SQL
SELECT 
  c.customer_name,
  COUNT(o.order_id) as order_count,
  SUM(o.total_amount) as total_spent
FROM 
  customers c
JOIN 
  orders o ON c.customer_id = o.customer_id
WHERE 
  o.order_date BETWEEN '2025-01-01' AND '2025-03-31'
GROUP BY 
  c.customer_name
ORDER BY 
  total_spent DESC
LIMIT 5;
Result
customer_name order_count total_spent
Acme Corp 12 $24,567.00
TechNova Inc 8 $18,250.75
Global Services Ltd 6 $15,840.50

Built for How Developers Actually Work

One-Click Cloud Connections

Connect to Azure, Supabase, Neon, and more with automatic database discovery. No manual connection strings needed. Learn more →

Turn Queries into Charts

Transform results into bar, line, pie, scatter, and area charts with extensive customization. No external tools required. Learn more →

Encrypted Data Sharing

Share query results via encrypted, passphrase-protected links. Set expiration and storage region for compliance. Learn more →

Parameterized Queries

Create reusable queries with multiple parameter formats (&, $, :, %). Build dynamic, maintainable SQL. Learn more →

Full Query History

Never lose a query again. Search, filter, and rerun past queries across all your connections. Learn more →

Flexible Data Export

Export to CSV, Excel, JSON, HTML, Markdown, SQL, or XML. Perfect for reports and data migration. Learn more →

Get Started Free

Stop Context Switching. Start Here.

Join 15k+ developers who stopped alt-tabbing between database tools and started shipping faster.

Free Forever

50+ databases supported

One-click installation