SQL Formatter & Minifier
Runs locally in your browserFormat or safely minify SQL in eight dialects without touching string literals
Advanced Formatting
Changes keyword case only; unquoted identifiers that match keywords (e.g. value) may change case too.
SQL Input
Limit: 1,000,000 characters.
SQL Result
Paste SQL or load a sample.
SQL stays in your browser; never executed or uploaded. Formatting checks lexical structure; it does not certify database syntax.
SQL Formatter & Minifier
Format or safely minify SQL in eight dialects, locally in your browser.
How to Use
Choose dialect and operation, paste SQL, set options and Run. Copy or download .sql. Swap exchanges both buffers; Undo restores Sample or Reset replacements.
Limits and Privacy
Input and options may be saved in browser storage; clear site data to remove them. Literals and required newlines are retained. Formatting does not validate all database syntax. Length uses UTF-16 units.
