SQL Toolkit
Format, validate, minify SQL, and find the real bottleneck in a query plan — four tools covering readability, correctness, and performance. All run entirely in your browser.
How these fit together
SQL Formatter turns a dense, single-line query into something with proper indentation and clause line breaks — the version you actually want to read or review. SQL Query Validator checks for unbalanced parentheses, stray commas, and other structural mistakes before you run it. SQL Minifier does the opposite of formatting — collapsing a query and stripping comments — for when you need it compact instead of readable. And once a query runs but runs slowly, SQL Explain Helper reads a PostgreSQL EXPLAIN ANALYZE plan and points at the actual bottleneck instead of leaving you to parse the tree by hand.
SQL Formatter
Beautify SQL queries with proper indentation and clause line breaks.
SQL Query Validator
Check a SQL query for unbalanced parens, stray commas, and other structural mistakes.
SQL Minifier
Collapse SQL onto a single line and strip comments.
SQL Explain Helper
Find the actual bottleneck in a PostgreSQL EXPLAIN ANALYZE plan.