SQL Beautifier
SQL ToolsExpanded, review-ready SQL layout with one column per line.
Runs entirely in your browser โ nothing is uploaded
Features
- One column, join and condition per line for clean code review diffs.
- Leading-comma or trailing-comma style.
- Aligned aliases and ON clauses.
- Optimised for pull requests rather than for compactness.
How to use the SQL Beautifier
- 1Paste the query you want to review.
- 2Pick your comma and alignment style.
- 3Copy the expanded SQL into your migration or PR.
Frequently asked questions
How is this different from the formatter?
The formatter produces balanced everyday formatting. The beautifier deliberately maximises vertical layout so line-level diffs stay small.