Remove nonessential SQL whitespace and comments without reordering clauses.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Comments and formatting whitespace are removed between SQL tokens while strings, identifiers, numeric literals, and required separators remain. The pass does not optimize execution plans.
SELECT name, email FROM users WHERE active = true -- only active users AND age > 18;
SELECT name, email FROM users WHERE active = true AND age > 18;
Embedded queries, telemetry payloads, and generated migrations minify SQL.