SQL minifier

Paste SQL, click Minify - compact output with comments removed.

 

Shrink SQL to one line by collapsing whitespace and stripping -- line comments and /* block comments */ - useful before embedding queries in code. All in your browser.