Tool info
SQL Formatter
Formatting cannot repair a query. This page re-indents and re-cases what you paste and reports when it cannot read it. It will not close a bracket, finish a string or guess a dialect, and it refuses rather than return SQL with different tokens than you gave it. Dialect matters: it is set to PostgreSQL until you change it.
0 of 100,000 characters. Refused with their real numbers above the limit, past 200 levels of parentheses, and past 64 levels of nested block comment.
Formatted
Nothing to formatEmpty. Nothing to format.