SQLTools is the long-standing free query runner for VS Code. DBCode is a full database IDE in the same editor. Both have their place.
SQLTools deserves its install count. It is free, MIT licensed, and for years it was the way to run SQL inside VS Code. If all you need is a query runner with autocomplete and history, it still does that.
The limits show when database work gets real: there is no editable data grid, no ER diagrams, no execution plans, and only seven official drivers, with the rest maintained by the community. Core updates have been infrequent since late 2025. DBCode covers that entire surface, 80+ engines with first-party drivers, visual editing, diagrams, notebooks, AI, while staying inside the same editor.
| DBCode | SQLTools | |
|---|---|---|
| What it is | Full database IDE in VS Code | Lightweight query runner in VS Code |
| Price | Free tier, Pro $36/year | Free |
| Open source | No | MIT |
| Installs | 180K+ (marketplace) | 6.7M+ (marketplace) |
| Marketplace rating | 4.7 (71 reviews) | 3.5 (144 reviews) |
| Databases | 80+ first party | 7 official drivers + community drivers |
| DBCode | SQLTools | |
|---|---|---|
| Query runner with history | ||
| Schema-aware autocomplete | ||
| Connection explorer | ||
| Data grid editing | ||
| Visual query builder | ||
| Schema ERD | ||
| SQL notebooks (SQL + markdown) | ||
| Data explore (charts, stats, drill-down) | ||
| AI natural language queries | ||
| MCP server (Claude, ChatGPT, etc.) | ||
| Execution plans | ||
| SSH tunnels (built-in) | ||
| Real-time streaming (LISTEN/NOTIFY, change streams) | ||
| Secure sharing (encrypted links) | ||
| Open source | MIT | |
| First-party drivers | 80+ | 7 (PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, CockroachDB, TiDB) |
Verified July 2026 against the VS Code Marketplace and vscode-sqltools docs. Install and rating figures fetched July 2, 2026. Spot an inaccuracy? Let us know. Want the wider picture? See the full comparison table.
What you gain moving from SQLTools to DBCode:
No credit card needed · No signup · Works offline