SQL Query Analyzer
Find expensive SQL patterns, missing filters and index opportunities.
About the SQL Query Analyzer
Paste a SQL statement to get a static review: SELECT *, missing WHERE clauses, UPDATE/DELETE without filters, leading-wildcard LIKE, non-sargable functions on filtered columns, NOT IN subqueries, implicit cross joins, joins without ON, deep OFFSET pagination, UNION versus UNION ALL and more — plus a cost estimate and ready-to-run CREATE INDEX suggestions.
Examples
Wildcard select
SQLSELECT * FROM ordersOutput
YAMLWarning: SELECT * and no WHERE clauseKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
SQL Formatter
Dev Utilities
Format and indent SQL queries for readability.
SQL Playground & Query Runner
Dev Utilities
Write schema and seed SQL, then run queries against an in-memory database.
SQLite Database Viewer & Query Runner
Dev Utilities
Open a .sqlite/.db file in your browser and run SQL against it.
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
.htaccess Redirect Generator
Dev Utilities
Generate Apache .htaccess redirect and rewrite rules.
AAB (Android App Bundle) Analyzer
Dev Utilities
Open an .aab file and inspect its manifest, modules, ABIs, densities and size breakdown.
Frequently asked questions
Read more
- Debugging slow SQL queries: an index primer
Reading EXPLAIN output, understanding why an index gets ignored, and the indexing patterns that fix most slow queries.
- A SQL playground that runs in your tab: CSV import, schema explorer and exportable results
Practise SQL, prototype a query or analyse a CSV without installing a database. How SQLite-in-WebAssembly makes a private, zero-setup playground possible.
Version 1.0.0 · Updated 2026-08-17 · Runs entirely in your browser