SQL Minifier
Minify SQL whitespace while preserving quoted text and comments. Processing stays in your browser; no SQL parsing or dialect validation. Input is limited to 50,000 UTF-16 code units.
Collapses whitespace outside quoted text and comments; comments and line-comment breaks stay. Does not parse or validate SQL. Backslash-escaped quotes, # syntax, and standalone GO batch separators are unsupported. Input stays in your browser; maximum 50,000 UTF-16 code units. Press Ctrl+Enter or Command+Enter to minify.