ANSI, MySQL, PostgreSQL, SQLite, SQL Server (T-SQL), and MariaDB — the set sql-formatter supports for this MVP.
No. Demand is weak and minified SQL is rarely what you want in a browser tool. Use this formatter only.
The library often still prints a best-effort layout. If keywords look wrong, change dialect rather than forcing a minify step.
No. sql-formatter runs in your browser. Do not paste production credentials into any online tool; this one at least does not send them.
Pick the dialect closest to your database. JSON operators, T-SQL brackets, or MySQL backticks may layout better under PostgreSQL, SQL Server, or MySQL modes respectively.