chat2db

A free cross-platform database client and SQL workspace for 40+ databases. You can run and edit SQL and use your own AI model to generate, explain and optimize queries.

Share on XCustom license (see repository)

Overview

Chat2DB is a free, cross-platform database client and SQL workspace for developers, DBAs, analysts and data teams. It runs on your own machine and connects to more than 40 databases such as MySQL, PostgreSQL, Oracle, SQL Server, ClickHouse, MongoDB and Redis. You can edit and run SQL, manage tables and data, and connect your own AI model to generate, explain and optimize queries. It is offered as desktop, web, Docker and CLI, with MCP support.

Key features

  • Connects to 40+ databases, with more via plugins
  • SQL editing, completion, formatting, execution and history
  • Bring your own AI model to write, explain and optimize SQL
  • Browse metadata, manage tables and edit data in place
  • Data import and export, dashboards, charts and ER diagrams

Best for

Developers and data teams that work with several database types and want one local-first client with optional AI help. The license is listed as unspecified, so check the terms before commercial use.

Upstream
OtterMind/Chat2DB
Fork on GitHub
Guo-astro/chat2db
Upstream stars
28k
Category
Developer tools and infrastructure
Language
Java
License
Custom license (see repository)
Forked
2026-09-26
Sync status
In syncLast synced 2026-09-29