BigQuery SQL formatting
Google BigQuery uses Standard SQL with extensions for large-scale analytics. Its dialect includes backtick-quoted project and dataset references like `project.dataset.table`, ARRAY_AGG, STRUCT, UNNEST, analytic functions, and INFORMATION_SCHEMA views.
Using the BigQuery dialect ensures that backtick identifiers, nested repeated fields, and BigQuery-specific functions are formatted correctly without being misinterpreted as standard SQL.
How to format BigQuery SQL
- Paste your BigQuery SQL query into the text area above.
- The formatter is pre-set to BigQuery dialect. Toggle UPPERCASE keywords as needed.
- Copy the formatted output with the Copy button or
Ctrl+K.