Skip to content
Queria Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Download data

Download tables and query results as CSV / JSON / Parquet / Excel, or export them to Google Sheets

You can download Queria data from the browser as CSV, JSON, Parquet or Excel files. The data you download is never sent to Queria.

Where to download

  • “Use this table” → “Entire table” on a table page: downloads every row of that table
  • “Download” on SQL results: downloads the result of SQL you ran on a table’s page or in a report, with the same rows the table shows. The menu header shows the row count. SQL with a LIMIT stops at that many rows

File formats

  • CSV: for loading into spreadsheets and other tools
  • JSON: for reading from programs. Tables with a geometry column become GeoJSON, which GIS tools open as is
  • Parquet: compressed by column, so files are smaller. Use it to hand over large data or load it into an analytics platform
  • Excel: an xlsx file you can open directly in Excel

How many rows the browser can export

The browser can export only so many rows: 200,000 on phones and tablets, and 1,000,000 on computers. Beyond that, the browser can run out of memory and the page can crash.

  • When a whole table is over the limit, you choose before the export starts between “Download the first … rows”, “Filter with SQL, then export” and “Export all rows with the CLI”. “Export all rows with the CLI” shows a queria sql ... --out command that saves every row to a Parquet file
  • SQL results and exports to Google Sheets stop at the limit, and the page says that the rows were cut off

For large data where you need every row, use the Queria CLI or the DuckDB CLI.

Export to Google Sheets

Choose “Google Sheets” in the same menu as the downloads to create a new spreadsheet with the data.

  1. Select “Google Sheets” from the menu
  2. The first time, a popup opens asking for permission to access your Google account. Choose your account and grant access
  3. When the export finishes, “Open spreadsheet” appears. The spreadsheet is created at the top level of My Drive in Google Drive

If it doesn’t work, check the following.

  • If the popup was blocked, allow popups for this site in your browser settings and try again
  • Google Sheets holds at most 10 million cells, and a table larger than that can’t be exported. Download it as CSV or Parquet, or use the Queria CLI

Was this page helpful?