Toolbox
SQL Formatter
Make long SQL readable: one clause per line, consistent keyword case, for MySQL, PostgreSQL, SQL Server and more.
Input
Output
The result shows up here.
Your text never leaves this device.
How it works
- 1Paste your query.
- 2Pick the dialect and keyword case.
- 3Copy the tidy result.