Match the source dialect
Choose Standard SQL, MySQL, PostgreSQL, SQLite, SQL Server or BigQuery before formatting. Backticks, brackets, operators and other tokens depend on dialect. Selecting PostgreSQL for MySQL source does not migrate the query; it only chooses a parser and layout convention.
Use keyword case to improve scanning
Choose uppercase, lowercase or original keyword case. Literals and identifiers are not deliberately replaced, and the tool does not supply values for parameters. A readable SELECT, FROM, WHERE and GROUP BY structure makes clause boundaries easier to inspect. Comments stay in the output.
Separate layout from validation
No database connection, execution plan or query execution exists on this page. A formatter can accept text that a database later rejects. Stored procedures, custom delimiters and template syntax may not be supported. Review the original and output side by side; keep any environment-specific checking in your normal development process.
Save a separate working copy
Paste text or import UTF-8 SQL/TXT up to 100,000 characters / 400 KB. Download SQL after checking the full output, then use the text comparison tool for a final review. Nothing is stored in a user account or database, and clearing the workspace leaves your original file unchanged.