SQL Formatter
Reformat SQL for readability: keyword casing, a break before each major clause and collapsed whitespace. Best-effort, and it never touches string literals.
Frequently asked questions
- Does it validate SQL?
- No. It only reformats; it does not check syntax or connect to a database.
- Will it change my strings?
- Text inside single or double quotes is preserved as written.