Export Results
Export query results to Google Sheets, CSV files, or Google Cloud Storage.
Export Options
Click Export in the results toolbar to access export options:
Row Selection
Choose how many rows to export:
- Page: Current page only
- 1,000: First 1,000 rows
- 10,000: First 10,000 rows
- Max: Up to 100,000 rows
Google Sheets Export
Export results directly to Google Sheets for analysis and sharing.
Create New Spreadsheet
- Click Export → Select "Google Drive"
- Click "Create new spreadsheet"
- Enter spreadsheet name
- Click Export
- New Sheet opens in browser tab
Add to Existing Spreadsheet
- Click Export → Select "Google Drive"
- Click "Add to existing spreadsheet"
- Select spreadsheet from Google Drive picker
- Enter tab name
- Click Export
Update or Append
For repeat exports to the same spreadsheet:
- Update: Replace existing tab data
- Append: Add rows to end of tab
- With header: Include column headers
- Data only: Append data rows without headers
Data Type Conversion
| BigQuery | Sheets |
|---|---|
| INT64, FLOAT64 | Number |
| STRING | Text |
| DATE, TIMESTAMP | Date |
| ARRAY, STRUCT | JSON string |
| NULL | Empty cell |
Limits
- ~100,000 rows practical limit
- 10 million cells max per spreadsheet
- Large exports may timeout
CSV Export
Download results as comma-separated values (CSV) file.
- Click Export → Select "Download"
- Click CSV
- File downloads to your browser's default location
Format: UTF-8 encoded with headers, Excel-compatible
Cloud Storage Export
Export large datasets directly to Google Cloud Storage (GCS).
Best for: Datasets >100,000 rows that exceed Google Sheets limits
- Click Export → Select "Download"
- Click Cloud Storage
- Export starts in background
- Results saved to BigQuery Cloud Storage bucket
Note: Requires appropriate GCS permissions. Exported files are saved in your BigQuery project's default bucket.
Open Google Sheets
View Google Sheets inline alongside your queries.
How to Open
Cmd/Ctrl+K→ "Open Google Sheet"- Paste Sheet URL
- Sheet renders in new tab
Use Cases
- Reference data while writing queries
- Compare results against expected values
- View dashboards alongside raw data
Notes
- Read-only in Querylab.io
- Click link to open in Google Sheets for full editing
- Requires view access to the Sheet