Minify SQL queries by removing extra whitespace and optional comments, with keyword casing controls. This SQL Minifier is part of our free developer tools collection on freetoolstouse. It runs entirely in your browser, so your files and inputs stay on your device unless the tool explicitly performs a network check (for example DNS or SSL lookups). There is no signup, no watermark, and no usage cap. Use it whenever you need a fast, accurate result without installing software.
Minify SQL queries by removing extra whitespace and optional comments, with keyword casing controls.
Collapses whitespace to single spaces while preserving string literals and identifiers. Enable "Strip comments" to remove -- and /* */ comments.