How to use
Break single-line SQL onto keyword-aligned lines for reading and review.
Paste a one-line query pulled from a log or an ORM and it breaks at SELECT, FROM, WHERE, JOIN, GROUP BY, and ORDER BY, with AND and OR indented under their clause. Your original keyword casing is preserved and string literals are untouched. Formatting happens entirely in the browser; the query never reaches a database.