Paste a query and reformat it — clause keywords (SELECT,
FROM, WHERE, joins, GROUP BY, and so on) each start
their own line, with subqueries indented by nesting depth. This is a tokenizer and
formatter, not a SQL parser: it doesn't validate that a query is semantically correct, and
there is no execution engine here at all — nothing you paste ever runs anywhere, it's only
ever reformatted as text. Runs entirely in your browser.
Dialects
Dialect only changes which extra keywords are recognized for case-transformation and
line-breaking (e.g. PostgreSQL's RETURNING, SQL Server's TOP) — it
doesn't change formatting rules or validate dialect-specific syntax. Generic SQL covers the
common core (SELECT/FROM/WHERE/joins/
GROUP BY/ORDER BY/INSERT/UPDATE/
DELETE and the rest of standard SQL) and works fine for any dialect's
everyday queries.