# SQLTools

> Connect to MySQL, PostgreSQL, SQL Server, SQLite and other databases and run queries inside VS Code

Source: https://talira.ai/catalog/sqltools-bbpna4h1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [databases / gui clients](https://talira.ai/categories/databases/gui-clients), [developer tools / editors](https://talira.ai/categories/developer-tools/editors)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Matheus Teixeira](https://talira.ai/orgs/mtxr.md)

A set of VS Code extensions for working with SQL databases from the editor: a connection explorer, a query runner with history and bookmarks, a SQL formatter and a generator for INSERT queries. The core extension talks to each database through a driver extension: official drivers cover MySQL, MariaDB, TiDB, PostgreSQL, CockroachDB, SQL Server and SQLite, and community drivers add others such as ClickHouse, Databricks, Amazon Redshift and Db2. Maintained by Matheus Teixeira and George James Software. MIT licensed.

## Links

- Website: https://vscode-sqltools.mteixeira.dev/
- GitHub: https://github.com/mtxr/vscode-sqltools

## Problems it solves

- query my Postgres or MySQL database without leaving VS Code
- browse database tables and run SQL from my editor
- format SQL and keep a history of the queries I ran

## Features

- connection explorer
- query runner with history and bookmarks
- SQL formatter
- INSERT query generator
- pluggable driver architecture with official and community drivers

## Limitations

- Each database needs its own driver extension installed[^1]

## Trust

Overall: 0.49 out of 1.
Signals: maintenance 0.56, adoption 0.65, momentum 0.36, community 0.79, backing 0.30, extensibility 0.00.

- last commit 32 days ago
- 16 commits in the last 90 days
- latest release v0.28.6 4 months ago
- 1.8k GitHub stars
- 94 contributors
- accepts sponsorship (Github, Patreon, Ko Fi)
- backed by Matheus Teixeira

## Alternatives

- [Database Client](https://talira.ai/catalog/database-client-k33gwdqs.md): Browse, query and edit MySQL, PostgreSQL, SQLite, Redis and Elasticsearch from VS Code
- [DBX](https://talira.ai/catalog/dbx-xveng765.md): Lightweight cross-platform database client for 100+ databases, with an AI assistant, MCP server and CLI
- [DataGrip](https://talira.ai/catalog/datagrip-hfg3cfs6.md): The JetBrains IDE for relational and NoSQL databases

## Sources

[^1]: https://github.com/mtxr/vscode-sqltools#readme (checked 24 Nov 2026)
[^2]: https://github.com/mtxr/vscode-sqltools/blob/dev/LICENSE.md (checked 24 Nov 2026)
