Favicon of Chat2DB

Chat2DB

Local AI database client with a free Community edition for Windows, macOS and Linux. Connect your own model to generate, explain and optimize SQL.

Screenshot of Chat2DB website

Chat2DB Community is a free local database client for developers, database administrators and analysts who want AI assistance beside their SQL editor. It runs on Windows, macOS and Linux, or in Docker with browser access. You connect your own AI model; where AI requests go depends on that connection, so the local app alone doesn't guarantee local inference.

The assistant turns plain-language requests into SQL, explains queries and suggests optimizations. The SQL workspace includes completion and formatting, saved queries and execution history, so you can review and run the SQL in the same application.

It connects to local and cloud databases, including PostgreSQL, MySQL, SQLite, Oracle, SQL Server, ClickHouse, MongoDB and Redis. Visual tools let you inspect database structure, manage tables and edit records directly. Import and export tools, charts, dashboards and ER diagrams cover data exploration and schema inspection. A separate CLI supports MCP connections for AI tools.

Community is a single-user application without user accounts or authorization boundaries. Its browser interface is intended for access on your own machine, rather than a shared server. Docker use requires at least two CPU cores and 4 GiB of RAM. Stored database passwords and model API keys use AES-256-GCM encryption.

Community uses a source-available license based on Apache 2.0 with additional conditions. Commercial editions add hosted AI services, cloud storage and team collaboration.

Similar to Chat2DB