SQL Query Formatter

Format SQL queries, and optionally have Claude explain them.

Paste your SQL query

Claude is working…
Tips
  • Just paste the unformatted query — one line or many, it does not matter.
  • Without AI: instant local formatting (uppercase keywords, indentation, line breaks).
  • With AI: Claude formats the query and explains what it does.
  • Works with every SQL dialect (T-SQL, PostgreSQL, MySQL, and so on).