Skip to content
IT_TOOLS_

SQL Minifier

Reduce SQL whitespace while preserving quoted values and identifiers. Processing stays in your browser.

Local processing

This tool processes your input in your browser.

[IN] Input SQL

Hints and executable comments are retained. Line breaks inside strings and after retained line comments remain. PostgreSQL assumes standard_conforming_strings is on; MySQL assumes default backslash escaping. This compacts text, not validates SQL syntax.

[OUT] Minified SQL

No current result

Enter SQL and select Minify SQL. Editing the input or options clears the previous result.