About This Tool
Format SQL with a real, dialect-aware parser — proper indentation and keyword casing for Standard SQL, MySQL, and PostgreSQL, with comments and string literals always preserved. Minify safely collapses whitespace between tokens without touching strings or comments. Works with SELECT, INSERT, UPDATE, DELETE, and other SQL statements. All processing happens locally in your browser.