FormatHive uses essential local storage for requested features. Optional analytics and advertising technologies stay off until you choose them. Cookie policy
Compact SQL while preserving quoted string content and removing comments and unnecessary whitespace.
Open the guide when you need step-by-step help or a sample. The live workspace stays first.
Enter SQL in the workspace or use the available Load Data options.
Run Minify SQL. Adjust the available settings first when needed.
Review Minified, Errors. Resolve any reported errors before using the result.
Continue with Copy, Download, Share.
Example input: SQL
SELECT id, name FROM users WHERE status = 'active member' -- current users ORDER BY name;
Result in the live workspace
Run Minify SQL in the live workspace above to generate the result. Review it in Minified, Errors.
Go to the live workspaceSetup notes, privacy details, and examples when needed.
The minifier preserves quoted literals and escaped quote pairs while removing line comments, block comments, and redundant whitespace outside literals.
A few closely related tools stay linked here without turning the page into a directory.