SQL Query Formatter
Paste a one-line SQL query and get it broken onto clauses with keywords uppercased - instantly readable, nothing sent anywhere.
Paste your SQL
SELECT u.id, u.name, count(o.id) AS order_count FROM users u LEFT JOIN orders o ON o.user_id = u.id WHERE u.created_at > '2024-01-01' AND u.active = true GROUP BY u.id, u.name ORDER BY order_count DESC LIMIT 20
Was this tool helpful?
See this same kind of analysis applied to your whole repository
Call graphs, dead code, blast radius, and a health score. Results in 60 seconds, free.
Related tools
See all Database tools →DB Connection String Builder/Parser
Postgres, MySQL, MongoDB - parse or build connection strings.
Redis Memory Estimator
Key count, avg key/value size, and data structure to an estimated Redis memory footprint.
Connection Pool Sizing Calculator
Requests/sec and avg query time, via Little's Law, to a recommended pool size.
Index Selectivity Estimator
Total rows and distinct values in a column to a selectivity score - will an index actually help.
Data Migration Risk Calculator
Row count, downtime tolerance, rollback complexity to risk level.
Runs entirely in your browser. Nothing is stored. Free forever.
