SQL Formatter
FV-02Format or minify SQL for T-SQL, PostgreSQL, MySQL and more.
Runs in your browser. Nothing is uploaded.
SQL
Result
About this tool
Formatting runs entirely in your browser, so queries with real table names never leave your machine. Pick the dialect to match your database. Minify understands T-SQL and standard SQL quoting; MySQL backslash escapes and PostgreSQL $$ blocks are not handled, so check those results.