SQL Minifier
Strip comments and extra whitespace to compress a query onto one line. Runs entirely in your browser.
How to use:
- Paste your SQL query with comments and formatting
- Click "Minify SQL" to compress the query
- See the size reduction percentage
- Copy the minified result for use in production
Input
Minified
Minified SQL will appear here.