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

#7258of 11,360103places up24h112places up7d
#7,246#7,282#7,318#7,354#7,390Oct 6Oct 12Oct 18Oct 24Oct 30Nov 4

Rank in Developer tools

#636of 90010places up24h11places up7d
#635#639#643#647Oct 6Oct 12Oct 18Oct 24Oct 30Nov 4

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 tools636th of 900 by placement
#PluginPosition7d
634Stoic Video Doctor#724822places down
635Zyllio#725125places up
636AI2SQLThis page#7258112places up
637Frigade Engage#727223places down
638GTFS Validator#729322places down

All 900 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