Paste any SQL query and instantly beautify it into clean, readable, indented code — or minify it back to a single line. String literals and quoted identifiers stay intact. Everything runs entirely in your browser.
Tip: the formatter is resilient — it will never crash on malformed SQL, it just does its best to lay out what it can find.