AI SQL Generator — Plain English to Query
Describe a query in plain English, pick your dialect (Postgres, MySQL, SQLite, SQL Server, Snowflake, BigQuery), get clean ready-to-run SQL. Optionally paste your schema for sharper results.
OpenAI API Key
Your key is stored only in your browser (localStorage) and sent directly to the provider. We have no backend, so it never touches our servers. Get an OpenAI API key.
Advertisement
How to use
- Step 1: Paste an OpenAI API key
- Step 2: Describe the query in plain English
- Step 3: Pick your SQL dialect
- Step 4: (Optional) paste table/column hints
- Step 5: Generate and copy
Why pasting schema hints matters
Without schema, the model has to guess your column names. Even a three-line schema dump (table name + columns) dramatically improves query accuracy and prevents the model from inventing columns that don't exist.
Advertisement
Frequently asked questions
A tool that converts plain-English query descriptions into runnable SQL for your chosen database dialect.