6 dialects · keyword case · indent 2/4 · zero uploads
Beautify SQL without pasting it online
Paste a query, pick a dialect, get clean readable SQL back. The formatter is the open-source sql-formatter library, bundled and running locally — your queries are never sent anywhere.
The formatter
Choose dialect, indentation and keyword casing, then format.
FAQ
Is SQLFormat free?
Yes — unlimited formatting in all six dialects. Pro ($3.99 once) adds one-click minify and the full dialect matrix.
Which dialects are supported?
Standard SQL, PostgreSQL, MySQL, MariaDB, SQLite and BigQuery. The dialect controls keyword lists and built-in function names during formatting.
Will it validate or fix my SQL?
No — it is a beautifier, not a parser. It reformats what you paste and cannot catch syntax errors; those come back from your database, not this tool.