ArchSetu
ArchSetu
ArchSetuToolsDatabaseSQL Query Formatter
Free tool

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.

Analyze a repository

Runs entirely in your browser. Nothing is stored. Free forever.

Powered by ArchSetu