SQL Minifier

Free Online SQL Minifier

Minify your SQL query into the smallest, compressed version with extra spaces removed using this online SQL minifier. Input your formatted SQL, MySQL, PostgreSQL or SQLite text that contains tabs, spaces and new lines directly into the app and it will output the minified compressed version.

More About Minifying SQL

Often SQL queries have been formatted in a readable way for humans, and therefor contain much unwanted space, newlines, tabs, etc. By removing these unwanted spaces and minifying the SQL you can than save space and input the query into various other programs, apps, processors, etc with fewest possible problems. The minified SQL may be mandatory or helpful for a project, framework or programming language to handle the sql, or for minimal waste of space when storing it in a database or codebase, for example.