Database client

A database client for VS Code that needs no setup

Every driver ships inside the extension and the cloud APIs need no SDK, so there's nothing else to install. Browse, edit rows and run queries locally or on AWS, Azure and Google Cloud.

  • PostgreSQLpostgresql://SQL
  • MySQLmysql://SQL
  • MariaDBmariadb://SQL
  • SQL Serversqlserver://T-SQL
  • Oracleoracle://SQL, PL/SQL
  • SQLitesqlite:///SQL
  • MongoDBmongodb+srv://mongosh-style
  • Redis / Valkeyredis://Redis commands
  • ClickHouseclickhouse://SQL
  • CockroachDBcockroachdb://SQL
  • Amazon Redshiftredshift://SQL
  • Amazon DynamoDBdynamodb://PartiQL
  • Azure Cosmos DBAccountEndpoint=SQL queries
  • Cloud Spannerspanner://GoogleSQL
  • Firestorefirestore://SQL-like queries
  • BigQuerybigquery://GoogleSQL

Supported databases and connection strings

Paste any of these into the connection form, or fill in host, user and password instead. DATABASE_URL=… lines and jdbc: URLs are accepted too.

DatabaseConnection stringConsoleEdit rowsCancel queries
PostgreSQLpostgresql://user:pass@host:5432/dbSQLYesYes
MySQLmysql://user:pass@host:3306/dbSQLYesYes
MariaDBmariadb://user:pass@host:3306/dbSQLYesYes
SQL ServerServer=host,1433;Database=db;… or sqlserver://…T-SQLYesYes
Oracleoracle://user:pass@host:1521/SERVICESQL, PL/SQLYesYes
SQLitesqlite:///path/to/app.dbSQLYesYes
MongoDBmongodb://… or mongodb+srv://…mongosh-styleYesfind, aggregate
Redis / Valkeyredis://… or rediss://…Redis commandsYes—
ClickHouseclickhouse://user:pass@host:8123/dbSQLInsert onlyYes
CockroachDBcockroachdb://user@host:26257/dbSQLYesYes
Amazon Redshiftredshift://user:pass@cluster.….redshift.amazonaws.com:5439/devSQLTables with a primary keyYes
Amazon DynamoDBdynamodb://ACCESS_KEY:SECRET@us-east-1 or ?profile=devPartiQLYes—
Azure Cosmos DBAccountEndpoint=https://….documents.azure.com:443/;AccountKey=…;SQL queriesYes—
Cloud Spannerspanner://project/instance/databaseGoogleSQLYes—
Firestorefirestore://projectSQL-like queriesYes—
BigQuerybigquery://project/datasetGoogleSQL—Yes

Step by step: how to connect to PostgreSQL, MySQL, MongoDB and Redis in VS Code, or the full Database Client reference.

Safe by default. Passwords live in your OS keychain, dropping a table asks you to type its name, and read-only connections refuse every write.

Cloud too. Amazon RDS and Aurora, Azure SQL Database, Azure Database for PostgreSQL and MySQL, Cloud SQL and AlloyDB connect through the matching engine with TLS on. Sign in with keys, IAM database authentication, Microsoft Entra ID, AWS profiles or gcloud credentials.

Edit anything. Tables without a primary key are edited through PostgreSQL's ctid, Oracle's ROWID or SQLite's rowid.

Connect your first database

Free, no account, runs locally. For VS Code 1.93+ and JetBrains IDEs on Windows, macOS or Linux.

code --install-extension sayaib.hue-console