Plain English in.
Clean SQL out.
Drop in your table schema, describe the query you need, and get a dialect-correct statement you can ship. Format it, explain it, copy it — all in the browser.
Schema stays in your browser
until you hit generate.
Your query will appear here.
Dialect is detected from your schema, or pick one above.
Three tools, no accounts
v1.0Text to SQL
Schema plus a plain-English question in, clean SQL out. Dialect-aware.
generatorSQL Formatter
Paste minified SQL, get consistently indented, capitalised queries. Runs offline.
beautifierExplain SQL
Turn an unfamiliar query into a plain-English walkthrough, clause by clause.
explainerCommon questions
How does the text to SQL generator work?+
Paste your CREATE TABLE statements (or a plain column list), describe what you want in everyday English, and Disql sends the schema and question to a language model that returns a single SQL query written for your dialect. The schema is only used to answer that one request.
Which SQL dialects are supported?+
PostgreSQL, MySQL, SQLite and SQL Server. Disql reads clues in your schema — SERIAL versus AUTO_INCREMENT, JSONB, NVARCHAR, IDENTITY — to pick the dialect automatically, and you can override it at any time.
Is the formatter really client-side?+
Yes. The SQL formatter and beautifier run entirely in your browser. Your query never leaves the page, which is why it works even with the network disconnected.
Is it free? Do I need an account?+
It is free and there is no signup. Every tool is public: open the URL, use the tool, copy the result.
Is my schema stored anywhere?+
No. Disql does not keep query history, schemas or generated SQL. Anything you paste is used for the single request and then discarded.