SQL Formatter
INPUT SQL0 chars
MINIFIED OUTPUT0 chars
Minification removes comments and collapses whitespace. The SQL remains semantically identical.Press Ctrl+Enter to minify

SQL Minifier

Compress SQL by removing whitespace, comments, and unnecessary formatting. Useful for storing queries, reducing payload size in APIs, or embedding SQL in code strings.