Skip to content
AI Marketplaces Leaderboard

AI2SQL

ChatGPT plugin

Write, fix and run SQL

View in ChatGPT directory

AI2SQL turns plain-English requests into correct SQL for PostgreSQL, MySQL, SQL Server, SQLite, Oracle, Snowflake and BigQuery, and helps with the SQL you already have: fix a failing statement, optimize a slow one, explain an inherited query, or convert between dialects.

Connect your databases at ai2sql.io and ChatGPT can read their schema and run read-only queries against them. Writes and DDL are blocked, so nothing in your database can be changed from a chat.

Sign in with your existing AI2SQL account to use it in ChatGPT.

No database yet? Every account can try the shared demo_shop sample store and see real rows.

Featured
No

not on the featured shelf

Movement

From our daily snapshots over the last 30 days.

Rank by placement

#7371of 8,7939places down24h—7d
#7,280#7,305#7,330#7,355Sep 27Oct 3Oct 9Oct 15Oct 21Oct 26

Rank in Developer tools

#647of 7423places down24h—7d
#635#639#643#647Sep 27Oct 3Oct 9Oct 15Oct 21Oct 26

2 listing changes logged · latest Oct 24: Description, Version. See what changed

In its category

How this plugin compares with others in the same category. Positions are counted within the category, not across the whole directory.

Developer tools647th of 742 by placement
#PluginPosition7d
645Numerical Research Kit#7343—
646Domino Data Lab#7348230places down
647AI2SQLThis page#7371—
648Chapa#7379—
649Vibe Coding Library#7420—

All 742 Developer tools plugins

Also on other marketplaces

Example prompts

  • “Write a PostgreSQL query for monthly revenue by product category”
  • “Fix this SQL: SELECT categry, SUM(total) FROM orders GROUP BY category”
  • “Explain what this query does”
Categories
Made by
Crossregions · Website
Sign-in
On Install
Capabilities
Read, Write
Availability
Available
Version
1.0.2
Keywords
sql, postgresql, mysql, sql server, database, query, text to sql
Created
October 3, 2026
More info
Sponsorship
Promote this plugin