Everything you need to query, edit, visualize, and share database work—without leaving VS Code.
20+ databases, SSH tunnels, cloud providers—all from one extension. No setup headaches.
Connect to MySQL, PostgreSQL, SQL Server, Oracle, MongoDB and more
Learn moreAccess all databases within your cloud provider through a single connection.
Learn moreVisual editing with undo/redo, custom SQL with autocomplete, and stored procedure execution. All the control, none of the risk.
Write and execute custom SQL queries with syntax highlighting and autocomplete
Learn moreSQL notebooks let you mix queries, markdown, and results in one file. Perfect for exploration, analysis, and sharing insights with your team.
Combine SQL queries with markdown documentation in a single document
Run individual cells or execute all cells in sequence
Export your notebooks with results for collaboration and knowledge sharing
Analyzing sales performance by region for April 2025.
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;
Understand your database structure and visualize query results with powerful built-in tools.
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.
Ask questions about your database in natural language and get real data from your database.
Special commands to help you find issues in your queries, optimize performance, or explain complex SQL in simple terms.
Advanced integration allowing AI tools to understand your database structure for more accurate suggestions and insights.
DBCode brings many productivity enhancers to streamline your database workflows.
Make your queries dynamic and reusable with support for multiple parameter formats.
Learn moreNever lose your work with unlimited query history tracking and search capabilities.
Learn moreExport data in multiple formats including CSV, Excel, JSON, HTML, and SQL statements.
Learn moreRun .sql scripts directly to quickly execute multiple statements or setup databases.
Learn moreDefine read-only connections and other role-based access for better security.
Learn moreEasily import data from CSV files, JSON, or other database tables and views with intuitive column mapping.
Learn more