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.
Popular uses
- sql analyzer
- query optimizer
- sql performance
- explain plan
- select star
- sql index advisor
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.
JSON to SQL INSERT
Converters
Generate SQL INSERT statements from a JSON array of objects.
SQL DDL to TypeScript / Zod / Prisma / Drizzle
Converters
Generate TypeScript, Zod, Prisma, Drizzle, JSON Schema and an ER diagram from CREATE TABLE SQL.
.editorconfig Generator
Dev Utilities
Create an .editorconfig file with per-language overrides.
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