BigQuery SQL Formatter

Format BigQuery queries with dialect-aware keyword handling. Runs entirely in your browser.

Indent
Case
Input
Formatted OutputWaiting…

Key Differences

  • Handles STRUCT and ARRAY literals without mangling.
  • Preserves SAFE. function prefixes and wildcard table references.
  • Backticked identifiers retained.
Advertisement