SQL Formatter
Language:
SQL
Keywords:
Indent:
Input
Result
How to use
1.
Paste your SQL query into the Input panel
2.
Select the SQL dialect that matches your database
3.
Click Format to pretty-print the query
4.
Copy the result from the Result panel
Common uses
▸
Cleaning up minified or auto-generated SQL before reviewing it
▸
Formatting queries from ORM debug output for readability
▸
Standardising keyword casing across a team codebase
▸
Quickly checking query structure without running it
Similar tools