Loading…
Loading…
Strip comments and extra whitespace to compress a query onto one line. Runs entirely in your browser.
Minified SQL will appear here.
SQL Minifier is a free online tool that compresses SQL by removing comments (`--` and `/* */`) and collapsing extra whitespace onto a single line — handy for embedding queries in application code, logs, or config files where size and line count matter.
Yes. The SQL Minifier is completely free with no signup and no usage limits, like all SqlInt mini tools.
Comments and extra whitespace, compressing the query onto one line — with a size-reduction percentage so you can see the savings.
Yes. Minifying only removes insignificant whitespace and comments; the query semantics are unchanged.
No. Every mini tool processes data locally in your browser — pasted text and uploaded files never leave your device.
Beautify SQL live with instant preview across 7 dialects.
Switch SQL keywords between UPPERCASE and lowercase.
Catch anti-patterns, implicit joins, and style issues in your SQL.
Turn CSV into CREATE TABLE + INSERTs with auto-detected types.