SQL Formatter and Minifier
Format or compact SQL, MySQL, PostgreSQL and SQLite with keyword case and indentation controls while preserving literal and comment content.
sql-prettifyLOCAL WORKSPACE
Enabling local controls…
If clipboard access is denied, select the read-only output manually.
How to use this tool
Choose a dialect, keyword case and 2-space, 4-space or tab indentation. Format or compact lexical whitespace, then review before execution.
When not to use it
No SQL is executed. Minify preserves comments, hints, quoted values and required line-comment or adjacent-literal newlines. Formatting is not database syntax, permission or performance validation.