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.
Related Tools
UUID/ULID Generator
Generate Universally Unique Identifiers (UUID) and Universally Unique Lexicographically Sortable Identifiers (ULID).
Timestamp Converter
Convert Unix epoch timestamps to human-readable dates, ISO 8601, and local time zones instantly.
SQL Beautifier
Format and prettify raw or minified SQL queries instantly.
.gitignore Generator
Create useful .gitignore files for your project instantly. 100% offline.