How to use SQL Formatter
- Paste your SQL and select the dialect matching your database.
- Choose indentation, keyword casing, parenthesized expression width and statement spacing.
- Select Format SQL. Stop cancels the local worker; edits also discard pending output.
- Review the result, then copy it or download a .sql file. Formatting does not validate or execute a query.