UnQTools
AI Runs in your browser

AI SQL Query Generator

Generate SQL from a natural-language question plus your table schema. Schema parser (CREATE TABLE DDL or comma-separated table.col list), NL → SQL pattern matching (SELECT, WHERE, JOIN, GROUP BY, ORDER BY, HAVING), dialect selection (SQLite/PostgreSQL/MySQL), SELECT-only safety guard, syntax validation, query explanation, parameterization helper, EXPLAIN hint, dialect convert, history. Pure-JS engine — optional BYO-key LLM. 100% client-side, schema never uploaded.

100% Private Works Offline Instant

Generate SQL from a natural-language question plus your table schema. Schema parser (CREATE TABLE DDL or comma-separated table.col list), NL → SQL pattern matching (SELECT, WHERE, JOIN, GROUP BY, ORDER BY, HAVING), dialect selection (SQLite/PostgreSQL/MySQL), SELECT-only safety guard, syntax validation, query explanation, parameterization helper, EXPLAIN hint, dialect convert, history. Pure-JS engine — optional BYO-key LLM. 100% client-side, schema never uploaded. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.