Readable beats compact
Putting each major clause on its own line makes the shape of a query visible at a glance — how many joins, where the filtering happens, whether that subquery is doing more than you thought.
Formatting only, no parsing
This lays out the text; it does not understand your schema or check that the query is valid. Run it against the database for that.
While you’re here — claim a crypto exchange bonus
More calculators
Frequently asked questions
Q. Does it change my query?
Only whitespace and, if you ask, keyword capitalisation. The tokens themselves are untouched, so behaviour does not change.
Q. Which dialects work?
The common clause keywords are shared across MySQL, PostgreSQL, SQLite and SQL Server, so those all format sensibly. Vendor-specific syntax passes through unchanged.
Q. Is my query sent anywhere?
No. Formatting happens in your browser — which matters, because queries often carry table and column names you would rather not publish.