SQL Minifier

Minify SQL queries by removing comments and unnecessary whitespace while preserving quoted strings and identifiers.

Paste or upload SQL. Formatting happens locally.

Free Online SQL Minifier

Minify SQL queries by removing comments and unnecessary whitespace while preserving quoted strings and identifiers. Processing runs locally in your browser, so pasted code is not uploaded.