Turn a long single-line query into properly indented SQL with keywords aligned, so joins and nested conditions are readable in a code review or a bug report.
Readable indentation for joins, subqueries and CTEs
Uppercase keyword mode for a consistent house style
Compact mode to put a query back on one line
Frequently asked questions
Which SQL dialects are supported?
The formatter works on standard SQL syntax, which covers the vast majority of PostgreSQL, MySQL, SQLite and SQL Server queries.
Is my query sent anywhere?
No. Formatting happens in your browser, so queries containing table or column names never leave your machine.