Beautify SQL queries with proper indentation, uppercased keywords, and clause-by-clause formatting.
Formatting Options
SQL Input
Paste one or more SQL statements. Separate multiple statements with semicolons.
How it works: All SQL keywords are uppercased automatically. Major clauses (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, etc.) are placed on their own lines. Subqueries and nested expressions are indented by depth. The dialect selector is informational — keyword uppercasing applies universally across all dialects.