Paste any SQL query and get it beautifully formatted โ proper indentation, uppercase keywords, aligned columns. Browser-only.
The formatter targets ANSI-SQL plus common extensions used by MySQL, PostgreSQL, SQLite, SQL Server, and Snowflake โ SELECT/INSERT/UPDATE/DELETE, CTEs, window functions, JOINs, and subqueries. Vendor-specific syntax (procedural blocks, hints) is passed through untouched.
No. The formatter runs entirely in your browser. Queries โ including any literal data โ never leave your machine.
Line breaks are inserted before major keywords (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, etc.) and before AND/OR. Short clauses or expressions inside parentheses stay on a single line for readability.