Paste a SQL query to beautify it — keywords uppercased, each major clause (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY...) on its own line, AND/OR/ON indented, and SELECT/GROUP BY/ORDER BY items each on their own line — or minify it onto a single line for embedding elsewhere. This is a keyword-aware formatting pass over the query's tokens, not a full SQL parser, so it works on any dialect's SELECT/INSERT/UPDATE/DELETE statements without needing to know which database you're targeting.
Sign in to save this result to your Softqora Workspace.
Create a free account