Natural Language SQL Builders LLM Tools

Tools for translating natural language queries into SQL and querying databases conversationally. Includes SQL query optimization and database interaction layers. Does NOT include general database ORMs, data visualization, or non-SQL query languages.

There are 144 natural language sql builders tools tracked. 8 score above 50 (established tier). The highest-rated is CodePhiliaX/Chat2DB at 62/100 with 25,219 stars. 3 of the top 10 are actively maintained.

Get all 144 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=llm-tools&subcategory=natural-language-sql-builders&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 CodePhiliaX/Chat2DB

AI-driven database tool and SQL client, The hottest GUI client, supporting...

62
Established
2 DEEP-PolyU/Awesome-LLM-based-Text2SQL

[TKDE2025] Next-Generation Database Interfaces: A Survey of LLM-based...

60
Established
3 TuGraph-family/Awesome-Text2GQL

Fine-Tuning Dataset Auto-Generation for Graph Query Languages.

57
Established
4 julien040/anyquery

Query anything (GitHub, Notion, +40 more) with SQL and let LLMs (ChatGPT,...

56
Established
5 eosphoros-ai/Awesome-Text2SQL

Curated tutorials and resources for Large Language Models, Text2SQL, ...

54
Established
6 parkervg/blendsql

Query language for blending SQL and local language models across structured...

51
Established
7 ananyaem/CardQL

Chat with your credit card statements locally: IMAP → PDF parsing →...

51
Established
8 pilotpirxie/ormGPT

An ORM based on OpenAI that translates plain language into SQL queries and...

50
Established
9 eosphoros-ai/DB-GPT-Hub

A repository that contains models, datasets, and fine-tuning techniques for...

49
Emerging
10 sqlchat/sqlchat

Chat-based SQL Client and Editor for the next decade

47
Emerging
11 supabase-community/database-build

In-browser Postgres sandbox with AI assistance (formerly postgres.new)

46
Emerging
12 georgia-tech-db/evadb

Database system for AI-powered apps

46
Emerging
13 marcominerva/DatabaseGPT

Query a database using natural language

45
Emerging
14 plmercereau/chat-dbt

Interact with your database using human queries through OpenAI GPT.

44
Emerging
15 pdxjie/text2sql-v1.0

🧙‍♂️ Text2SQL 是基于 SpringBoot、MySQL、Vue2 以及 ChatGPT,通过用户输入的表结构和需求,神奇地生成具体的...

44
Emerging
16 chand1012/sql2gpt

Python tool to turn SQL Database Schemas into ChatGPT Prompts

44
Emerging
17 empower-ai/sql-agent

Ai Agent that helps you do data analytics with natural language.

43
Emerging
18 stubailo/ask-your-database

Open source npm script to talk to your Postgres database with GPT.

42
Emerging
19 HamzaG737/rappel-conso-chat-app

Chatbot to interact with a SQL database using LLMs and Langchain agents

42
Emerging
20 soukicz/sql-ai-optimizer

AI powered analysis of MySQL performance

42
Emerging
21 garyzava/chat-to-database-chatbot

Chat to your Database GenAI Chatbot

40
Emerging
22 bayeru/chat-to-your-database

Chat to your database with AI. An experimental app to test the abilities of...

38
Emerging
23 Syed007Hassan/Chat-To-Your-Database

Natural language querying allows users to interact with databases more...

38
Emerging
24 CL-lau/SQL-GPT

Use ChatGPT to generate SQL and perform execution. Optimization and error...

38
Emerging
25 Florents-Tselai/tsellm

tsellm: LLMs in SQLite and DuckDB

38
Emerging
26 samadpls/Querypls

Querypls🛠️: WebApp that Simplify SQL with Your Prompts. Transforming...

38
Emerging
27 Oatapza/libredb-studio

🛠️ Build and manage SQL databases effortlessly with LibreDB Studio, the...

37
Emerging
28 cloudquery/pg_gpt

Experimental extension that brings OpenAI API to your PostgreSQL to run...

37
Emerging
29 ademakdogan/ChatSQL

Convert the given plain text to MySQL query by ChatGPT

37
Emerging
30 garystafford/llm-langchain-sql-demo

Using LangChain's SQL Database Chain and Agent with various LLMs to perform...

37
Emerging
31 cogitovirus/langchain-sql-agent-bootstrap

Langchain SQL Agent Boostrap application. Flask on the backend, React on the front.

37
Emerging
32 IshaanLabs/langgraph-text-to-sql-agent

Offline Text-to-SQL Agent – Convert natural language questions into SQL...

36
Emerging
33 beh74/pgassistant-community

A PostgreSQL assistant for developers Understand, optimize, and improve your...

36
Emerging
34 dev-asterix/PgStudio

Intelligent PostgreSQL tooling for VS Code | Build, explore, and query...

35
Emerging
35 huchenxucs/ChatDB

The official repository of "ChatDB: Augmenting LLMs with Databases as Their...

35
Emerging
36 bryanbeshore/query_lens

Natural language SQL query builder for Rails, powered by AI

34
Emerging
37 smakubi/text-to-sql

SQL and Python Agent for your MySQL databases.

34
Emerging
38 marblexyz/aisqlgen

Autogenerate SQL and visualization using AI

34
Emerging
39 ibm-self-serve-assets/QueryCraft

The easiest and most comprehensive framework for building enterprise-grade...

33
Emerging
40 SubhanHakverdiyev/OptimizeQL

OptimizeQL — AI-powered SQL query optimizer

33
Emerging
41 Airsequel/SQLiteGPT

SQL function for SQLite to directly query OpenAI's ChatGPT

32
Emerging
42 mcxiaoxiao/MMSQL

[IJCNN2025] MMSQL: Multi-turn Multi-type text-to-SQL test suit. Repository...

32
Emerging
43 rocket-connect/gqlpt

Leverage AI to generate GraphQL queries from plain text.

32
Emerging
44 happyadam73/tsql-chatgpt

T-SQL based ChatGPT integration for Azure SQL Database. Query your data...

32
Emerging
45 PrimeTheKid/SpringAI-SQL-Assistant

A GPT-powered SQL assistant that understands human language and talks to...

31
Emerging
46 neondatabase/neon-postgresql-expert

Input for an OpenAI GPT that can answer questions about Neon database and Postgres

31
Emerging
47 wangle201210/text2sql

将自然语言转换为对应的SQL查询语句

30
Emerging
48 FonsecaGoncalo/analytics-assistant

Analytics Assistant CLI - A command-line tool that enables users to obtain...

30
Emerging
49 axonops/cqlai

Modern AI-powered CQL shell for Apache Cassandra® with rich terminal UI,...

30
Emerging
50 h2oai/sql-sidekick

Experiment on QnA tabular data using LLMs and SQL

30
Emerging
51 kerem-kaynak/llmshark

Copy structure of your Postgres DBs as Markdown to prompt LLMs better!

28
Experimental
52 byebyebruce/chat2data

🗣 📊Chat2Data is a tool for interacting with your DATA, supporting MySQL,...

28
Experimental
53 marcolardera/askdb

Universal Q&A database tool

28
Experimental
54 tapaswi-v-s/SQL-Agent

SQL Agent is an intelligent chatbot that interprets natural language queries...

26
Experimental
55 Soumya-Kushwaha/SQL-Chat

Chat with MYSQL database

25
Experimental
56 TelescopeAI/doorbeen

Connect LLMs to SQL Databases

25
Experimental
57 bgunlp/qpl

Code and dataset for the paper "Semantic Decomposition of Question and SQL...

25
Experimental
58 aliyeysides/prisma-gpt

Prisma extension that lets you query your database with natural language using GPT

25
Experimental
59 kinosal/codex-analytics

Translate English to SQL and Python Pandas with OpenAI's GPT-3 Codex model

24
Experimental
60 pablosierrafernandez/DataWhisper-Agent-Based-Architecture-for-Text-to-SQL

🤖 DataWhisper is a system that translates natural language queries into SQL...

24
Experimental
61 malikabass1656/Awesome-LLM-based-Text2SQL

📝 Explore a rich collection of research and projects on LLM-based...

24
Experimental
62 HarryVolek/aisql

Use GPT to generate SQL

24
Experimental
63 AringoldX/chatwithDB

About ChatWithDB: Transforming databases into conversational partners using...

24
Experimental
64 cremerf/natural_language_to_sql

Chat with your Database! Natural language to SQL with a friendly UI....

23
Experimental
65 Dumpsterfirefire/Voice-Powered-AI-SQL-Assistant-Python-GPT-LangChain

🎤 Transform voice questions into SQL queries, executing them directly on...

23
Experimental
66 parthasarathydNU/protein-data-nlq

GenoQuery is an innovative tool designed to streamline the process of...

23
Experimental
67 shravanasati/squirrel

An AI SQL query builder and executor.

23
Experimental
68 sqlflash/Awesome-Text2SQL-Dataset

a collection for SQL dataset, from Text2SQL.

23
Experimental
69 uniqueumamaheswari-universe/SQLVerse

A comprehensive SQL & GenAI course: Master data engineering, SQL essentials,...

22
Experimental
70 bnarasimha21/query-lens

AI-powered SQL query analyzer and optimizer with natural language interface

22
Experimental
71 Drekovich/astrasql

🔍 Explore AstraSQL to simplify natural language queries into SQL, enhancing...

22
Experimental
72 anmolg1997/NL2SQL-Engine

Natural language to SQL with live schema introspection, self-correction,...

22
Experimental
73 Mounika-Geriki/InsightPilot-SQL-AgenticAI

An end-to-end agentic AI + SQL analytics project that turns natural-language...

22
Experimental
74 nimaboubanian/llm-text-to-query

A Docker-based microservices project converts natural language questions to...

22
Experimental
75 ljq/text2sql-skill

text2sql-skill: A production-ready, secure, and high-performance...

22
Experimental
76 taichengguo/MTSQL-R1

Official Code for MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via...

21
Experimental
77 rafaelpierre/text2sql-workshop

A basic Text2SQL App, powered by Langchain and OpenAI.

21
Experimental
78 abhi9720/querycraft-ai

An open-source AI that translates natural language to SQL. Chat with your...

21
Experimental
79 MettaSurendhar/Met-Interact

An Application with interacts with the database using NLP and Langchain

21
Experimental
80 Gaurav-Van/Chat-With-MySQL

Meet MySQL Assistant: Access database info seamlessly with natural language....

20
Experimental
81 ravirch/Query-Databases-with-AI

LangChain SQL Chatbot lets users query SQLite, PostgreSQL & MySQL with...

20
Experimental
82 CycloneBoy/base_sql

BASE-SQL: A powerful open source Text-To-SQL baseline approach

20
Experimental
83 adrianolaselva/dataql

SQL queries on CSV, JSON, Parquet, Excel files. Query S3, databases, URLs....

20
Experimental
84 styczynski/chatdb

ChatGPT-based database, wait... WHAT?

20
Experimental
85 abhi227070/Data-Extraction-from-Database-using-AI

QueryGenie.AI is a Generative AI tool to extract data from a database by...

20
Experimental
86 rpopuc/nl-mongodb-query-builder

A proof of concept application that converts natural language queries into...

20
Experimental
87 Yashraj-Muthyapwar/LyteQuery-AI-SQL-Agent

Conversation-to-SQL agent: ask in plain English, LyteQuery generates and...

19
Experimental
88 Skelf-Research/l0l1

SQL that learns. AI that validates. Privacy that protects.Data analysis co-pilot

19
Experimental
89 jorgeandrespadilla/sql-agent

SQL Agent powered by LLMs

18
Experimental
90 Ashad001/bolt-sql

A lightweight, CPU-only Text-to-SQL engine written in Rust.

18
Experimental
91 TristanLecourtois/NL2SQL

Text2SQL project comparing different LLM models

18
Experimental
92 fengkx/beancount-smart-query

Query beancount in human language with the help of AI

18
Experimental
93 krushaybhavsar/elytra

An open-source, AI-powered database management tool.

17
Experimental
94 PranjalGupta3105/langchain-db-connector

Connecting the database and querying via AI through langchain

16
Experimental
95 rayaneotaku/SpringAI-SQL-Assistant

🤖 Transform natural language into SQL queries effortlessly with...

16
Experimental
96 shuakami/usql

Universal SQL CLI for AI/LLM. Query SQLite, Postgres, MySQL, DuckDB,...

16
Experimental
97 LuisHBeck/genAI-sql-search

Generative AI project using LangChain for database search, using natural...

16
Experimental
98 ArpanMoharana/NLP-to-Spark-SQL-Agent

An AI agent built with LangChain and PySpark that translates natural...

16
Experimental
99 prasannaraj12/AgentDB

AI-powered database agent that talk to your SQLite database in plain...

16
Experimental
100 laffo16/SQL-Server-Database-Tuner

Read-only T-SQL script that captures a performance and schema snapshot of a...

16
Experimental
101 vedanti-u/DbSense-AI

A quick and lightweight library to chat with databases. It uses schema over...

15
Experimental
102 typper-io/typper-bi

Talk with your data: Create a Single Source of Truth (SSoT) integrating...

15
Experimental
103 redswimmer/natural-language-to-sql

Demonstrates how to query a SQL database using natural language by...

15
Experimental
104 Exateym/MySQL-Database-Assistant

A cross-platform Node.js chat-bot application featuring a flexible...

15
Experimental
105 Faizan-Rao/sql-agent

This project is a simple command-line SQL agent that uses LangChain and an...

14
Experimental
106 holynomad/chatGPT-SQL-hands-on

SQL Data Analysis & Visualization Practice Guide using ChatGPT for FastCampus

14
Experimental
107 kamilbytes/humanql

Query databases using Human Language

14
Experimental
108 Cahyo78/dbms-coursework

📘 Master SQL skills with hands-on MySQL practice, covering key DBMS concepts...

14
Experimental
109 shubh100802/sap-o2c-graph-query-system

Graph-based SAP O2C data exploration system with LLM-powered natural...

14
Experimental
110 franck-bedis/langchain-sql-agent

📊 Chat with your SQL database using LangChain and Groq LLaMA 3.1. Easily ask...

14
Experimental
111 EliasK93/LangChain-SQL-Agent-for-dynamic-data-visualization

Example application for constructing and running an LLM-based LangChain SQL...

14
Experimental
112 cameronking4/chat-with-postgresql-chatgpt-action

Create a custom GPT to chat with your PostgreSQL Database in ChatGPT. The...

14
Experimental
113 moazaymanedda/Computer_Store_Management_System

Java + Oracle SQL system for managing a computer store — products, orders,...

14
Experimental
114 laolarou726/Text_2_SQL_Demo

This is a minimal demo project to show the capabilities of a Text2SQL system...

14
Experimental
115 olliekm/Quill

SQL query optimizer with lightweight LLMs using ReST^EM. End goal of...

14
Experimental
116 hemanthmuralik/Rail-GPT-Text-to-SQL-Agent-for-Railway-Fault-Detection

A Generative AI Agent converting Natural Language to SQL for Railway IoT Systems.

13
Experimental
117 iamyufan/text2sql

Implementing and Comparing NLP Techniques for Text-to-SQL Translation

13
Experimental
118 cocomatias/athena-db

AthenaDB: An AI-powered database system for efficient large dataset...

13
Experimental
119 henomis/ai-sql-assistant

AI powered SQL query builder assistant

13
Experimental
120 kardSIM/SQL_langchain_agent

a LangChain SQL Agent that enables intuitive interaction with SQL databases

13
Experimental
121 dburkart/duckql

Allow LLMs to interface (safely) with arbitrary data via SQLite syntax

13
Experimental
122 Saba-Gul/Text-to-SQL

This project provides a Gradio-based web application that allows users to...

13
Experimental
123 22skowron/SQL-Translator

The application showcases how natural language queries can be translated...

13
Experimental
124 milistu/Qteller

Elevate your application's user experience with state-of-the-art query...

12
Experimental
125 florianjuengermann/query-god

QueryGod lets you interact with any API or database using natural language....

12
Experimental
126 BurshteynAnton/Voice-Powered-AI-SQL-Assistant-Python-GPT-LangChain

Ask a question with Voice input, and AI will generate and execute a SQL...

12
Experimental
127 jarvislin94/NaturalSQL

A demo to use natural language to query SQLite DB

11
Experimental
128 alexnodeland/QueryGPT

This repository contains a Python application that uses the Langchain...

11
Experimental
129 avisionh/sqlgpt

Translating natural language into a query and then executing it on a database

11
Experimental
130 danielmarquespt/sourcegraph-natural-search

Translates natural language queries into Sourcegraph syntax

11
Experimental
131 prasad11s/text-to-sql-langchain

Query a SQLite database using plain English via LangChain and Llama 3.3

11
Experimental
132 prathyyyyy/text-to-sql-app

This text to sql app using gpt-5 model is intended to build for PM's, core...

11
Experimental
133 m-asif-ansari/SQL-AI-Agent

AI Agent for accessing SQL Data with Natural Language

11
Experimental
134 ShahaDeven/AI_SQL_Agent

Production-grade Text-to-SQL Agent with 91.7% accuracy on 60 queries |...

11
Experimental
135 Ismail-2001/SQL-Query-Agent

Nexus SQL is an autonomous AI Data Analyst that lets you query databases in...

11
Experimental
136 aabbtree77/imdb-sqlite-queries

Actor-director collab analysis based on imdb-sqlite.

11
Experimental
137 AliciaSchep/pgbabble

CLI client for LLM-assisted querying of postgres databases with restricted...

11
Experimental
138 MinalPatil18/QueryBOT

AI powered SQL query generator using Gemini and Streamlit.

11
Experimental
139 kelvinleandro/pagila-text-to-sql

An AI-powered application that lets you chat with your PostgreSQL database...

11
Experimental
140 HarshShah24/chat-with-db

🤖 An intelligent Text-to-SQL engine that turns natural language into precise...

11
Experimental
141 sidkush/GPT-to-Interact-with-Databases

By leveraging the power of GPT, we can create an intuitive interface that...

10
Experimental
142 devroopsaha744/agatha

Agatha is a NL2SQL-driven expense tracker API that leverages Llama 3.3...

10
Experimental
143 nehulbeans/Babelfish.db

Your universal translator for human-to-database communication - making data...

10
Experimental
144 muhammadadilnaeem/SQL-Database-Query-App

This project implements a web-based SQL query interface using Flask,...

10
Experimental