DBChat is your AI-powered gateway to database exploration.
Effortlessly create queries for your MySQL and PostgreSQL databases
using natural language.
Write SQL queries using everyday language - no prior SQL expertise needed.
Save on expensive AI subscriptions by using your own API keys.
Choose your favorite from leading AI providers like Google, OpenAI, and xAI.
No monthly bills! Roll your own server or get the desktop app—one-time purchase, free lifetime updates!
DBChat is for anyone who wants to explore their MySQL or PostgreSQL databases without writing SQL. Perfect for:
Data analysts who want to quickly query databases using natural language and use AI-generated SQL.
Developers looking to streamline database exploration without complex query writing.
Business owners needing fast insights from their data without technical expertise.
Download the desktop app—one-time purchase, free lifetime updates!
Buy the Desktop App
git clone git@github.com:PactInteractive/dbchat.git
cd dbchat
bun install
bun dev
Connect a database - Link to your MySQL or PostgreSQL database.
Add an AI API key - Use your favorite AI provider or get a Gemini key from Google AI Studio.
Start chatting - Open localhost:3000 and prompt away!
DBChat lets you connect to your local or cloud MySQL or PostgreSQL database with your own AI API key, and use natural language to generate SQL queries which you can review, copy, or execute.
DBChat is distributed in 2 forms—a paid desktop app to start querying immediately, or you can download the source code and run it as a web app in your browser.
DBChat supports MySQL and PostgreSQL. For other databases, contact us on X.com.
DBChat supports Google’s Gemini, OpenAI, and xAI. Need another API? Reach out on X.com.
For refund details about the paid desktop app, visit our Gumroad page.