SQL Minifier
Minify SQL to reduce file size.
100% Private — Nothing is Uploaded
All processing happens locally in your browser. Your files never leave your device and are never sent to any server.
Other languages
About the SQL Minifier
This tool compresses SQL queries by removing comments and collapsing whitespace. It understands strings ('...'), identifiers ("...", `...`) and comments (-- and /* ... */), so nothing breaks.
What gets removed
--line comments/* ... */block comments- Extra whitespace and line breaks