App Logo
docs.google.com

Sheets: export / download

Download a Google Spreadsheet to a local file in your chosen format. Returns path (or url on cloud browsers) and filename. xlsx/ods/pdf/zip export the whole doc; csv/tsv export a single tab (pass gid).

Input

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

gid optional

Tab gid for csv/tsv (from sheets_list_tabs). Default 0. Ignored for whole-document formats.

Default: 0
format optional

Default xlsx. csv/tsv export a single tab (see gid).

Default: "xlsx"

Output

filename required
url optional

Set instead of path on managed (cloud) browsers

path optional

Local path on the agent machine

FAQ

Download a Google Spreadsheet to a local file in your chosen format. Returns path (or url on cloud browsers) and filename. xlsx/ods/pdf/zip export the whole doc; csv/tsv export a single tab (pass gid).
Required: spreadsheetId. Optional: gid, format.
It returns url, path, filename.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It only reads. It looks things up on docs.google.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/sheets_export, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_export
It is part of Reduck's official curated catalogue.

Start building not clicking