Input SQL
Output SQL
Tip: output is always generated locally in your browser.
FAQ
How is formatting done?
The tool applies SQL-aware formatting rules with indentation and line breaks, then adjusts keyword case to match your selection.
What does minify do?
Minify removes extra whitespace, indentation, and blank lines to produce compact SQL that's easier to embed in scripts.
Can I use this on mobile?
Yes. The layout is responsive and works on phones, tablets, and desktop browsers.