SQL Formatter

Data & Formatting Tool

Formatting Rules

  • Major keywords (SELECT, FROM, WHERE, JOIN, etc.) start on new lines
  • Conditions (AND, OR) are indented with 2 spaces
  • JOIN clauses are indented for readability