← All projects
Everyday tools

SQL Chat

Ask questions of your database in plain language instead of writing SQL code.

New this week

What it does

SQL is the language used to get information out of databases. SQL Chat lets you talk to a database in everyday words instead. You type what you want, such as finding or changing records, and it works out the database commands.

It supports MySQL, PostgreSQL, MSSQL, TiDB Cloud and OceanBase. You can use the hosted version or run it yourself with Docker and an OpenAI API key. The README notes Ollama can be used for a self-hosted model.

Who it's for

People who work with databases and want an easier, chat-style way to query them.

Can I use it without coding?

With some setup. There is a hosted website; self-hosting uses Docker and an OpenAI API key. New to this? Start here.

Can I run it?

Cost
Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
Runs on
Web browser, Server
Computer
An ordinary computer is fine
Privacy
Your choice: run it on your device or use an online service
API key
Needed. An API key is a password-like code from an online AI service. What's that?

Try it

  1. Use the hosted version from the project's website, or run it yourself with Docker and your OpenAI API key.
  2. Add a connection to your database.
  3. Type a question about your data in plain words.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
  • More on staying safe