SQL Minify
Strip comments and collapse whitespace in SQL to a single line, live as you type.
100% private, runs in your browser
Minified
Strips comments and collapses whitespace to a single line, live as you type — doesn't special-case comment-like text inside a quoted string literal. Runs entirely in your browser.
What is SQL Minify?
Paste a formatted SQL query and get it collapsed to a single compact line instantly — comments stripped, whitespace collapsed — useful before embedding a query in a config file or one-liner script.
FAQ
Yes, use SQL Formatter to reformat it with proper indentation.