Google Sheets to JSON — Public Sheet CSV Converter avatar

Google Sheets to JSON — Public Sheet CSV Converter

Pricing

from $4.38 / 1,000 tabs

Go to Apify Store
Google Sheets to JSON — Public Sheet CSV Converter

Google Sheets to JSON — Public Sheet CSV Converter

Convert public Google Sheets tabs to JSON: one record per tab with headers, keyed rows, source row numbers, row count and content hash. Keeps text as-is (leading zeros, multiline cells); optional number/boolean typing. Up to 5 URLs and 10,000 rows per tab. No Google login; empty tabs free.

Pricing

from $4.38 / 1,000 tabs

Rating

5.0

(2)

Developer

Tim Zinin

Tim Zinin

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

Convert a public Google Sheets tab into clean JSON: one record per tab with the column headers, every data row keyed by header, the original CSV row numbers, a row count and a SHA-256 content hash. Text stays exactly as it is in the sheet (leading zeros, commas, multiline cells), and number/boolean typing is opt-in. You pay $0.005 per converted tab, no start fee, and empty or failed tabs are free.

What you get

  • One JSON object per public tab with ordered headers, keyed rows and rowNumbers that point back to the CSV record each row came from.
  • Text-safe import by default: SKUs like 00042, postal codes, quoted names and multiline notes are kept as strings, untouched.
  • Optional type inference (inferTypes): lowercase true/false become booleans and plain decimal numbers become numbers; leading zeros, dates and unsafe integers stay strings. A types map tells you what each column ended up as.
  • A content hash per tab (contentHash) so you can tell whether a sheet changed since the last import without diffing every cell.
  • Clear status per URL: ok, not_found (header-only/empty tab), not_public (Google asked for a login), limit_exceeded, invalid_csv, rate_limited and more, each with a readable error.
  • No Google account, API key or OAuth: it reads the public CSV export only.
  • Runs on Apify: schedule it, monitor it, call it from the API, export to JSON/CSV/Excel or push straight into your own pipeline.

How to run it

  1. Make the sheet readable without signing in: Share → Anyone with the link → Viewer, or File → Share → Publish to web → CSV.
  2. Build the URL: https://docs.google.com/spreadsheets/d/<sheet-id>/export?format=csv (add &gid=<tab-id> for a specific tab), or use a published link https://docs.google.com/spreadsheets/d/e/<pub-id>/pub?output=csv.
  3. Click Try for free, paste 1–5 URLs into Public CSV URLs, and set Header row if your column names are not in row 1.
  4. Hit Start and read the results from the dataset (Console, API, webhook or an integration such as Make, n8n or Zapier). Check status before importing rows.

A normal browser editing link (/edit#gid=...) is not accepted; turn it into the export?format=csv form above.

Pricing

Pay-per-event: $0.005 per tab converted (event "Tab"). No start fee and no monthly seat. One tab is one charge whether it holds 3 rows or 10,000.

You are not charged for header-only or empty tabs (not_found), tabs that hit a size or row limit (limit_exceeded, returned as a free partial), private or login-protected sheets, CSV errors, rate limits, or the free status rows the run writes when something cannot be processed.

Example: 100 complete tabs = $0.50; a run with 5 tabs = $0.025.

From November 16, 2026: $0.00625 per tab.

You can set Max total charge in the run options; the Actor checks the remaining budget before every paid tab and stops cleanly instead of going over.

Input

FieldRequiredMeaning
publishedCsvUrlsYes1–5 public Google Sheets URLs: .../export?format=csv (optional &gid=N) or published .../d/e/<id>/pub?output=csv (optional &gid=N&single=true). Duplicates are removed.
headerRowNo1-based CSV record that holds the column names (1–20, default 1). Records above it are skipped.
maxRowsNoMaximum non-empty data rows per tab (1–10,000, default 10,000). A larger tab returns a free partial result. Tabs × maxRows must not exceed 50,000.
inferTypesNotrue converts lowercase true/false and plain decimals; default false keeps every cell as text.
{
"publishedCsvUrls": [
"https://docs.google.com/spreadsheets/d/198Kd2vPvpEyCgYAJLmu53jW-uPaf6m6COkmv2stQzrM/export?format=csv"
],
"headerRow": 1,
"maxRows": 100,
"inferTypes": false
}

Output

A real row from a platform run (the source is our own demo sheet, so syntheticFixture is true):

{
"input": "https://docs.google.com/spreadsheets/d/198Kd2vPvpEyCgYAJLmu53jW-uPaf6m6COkmv2stQzrM/export?format=csv",
"sourceUrl": "https://docs.google.com/spreadsheets/d/198Kd2vPvpEyCgYAJLmu53jW-uPaf6m6COkmv2stQzrM/gviz/tq?tqx=out:csv&headers=1",
"found": true,
"status": "ok",
"resultCount": 1,
"partial": false,
"error": "",
"warnings": [],
"checkedAt": "2026-11-14T17:35:21.803Z",
"schemaVersion": "1.0",
"publishedUrl": "https://docs.google.com/spreadsheets/d/198Kd2vPvpEyCgYAJLmu53jW-uPaf6m6COkmv2stQzrM/export?format=csv",
"tabGid": null,
"headers": ["sku", "name", "price_usd", "qty", "notes"],
"rows": [
{ "sku": "00042", "name": "Widget, blue", "price_usd": "12.5", "qty": "3", "notes": "leading zero sku\nmulti-line note" },
{ "sku": "00043", "name": "Gadget red", "price_usd": "7", "qty": "0", "notes": "plain" },
{ "sku": "A-100", "name": "Quoted \"name\"", "price_usd": "99.99", "qty": "12", "notes": "" }
],
"rowNumbers": [2, 3, 4],
"rowCount": 3,
"contentHash": "6ca86237fd7537898ed58eba821b1cbf2c2ada81b4c92f04ddb6e4951b109e7d",
"types": { "sku": "string", "name": "string", "price_usd": "string", "qty": "string", "notes": "string" },
"syntheticFixture": true,
"redirectChain": []
}
FieldMeaning
input, publishedUrlThe URL you supplied.
sourceUrlThe URL actually read. Export links are read through Google's equivalent gviz CSV route on docs.google.com.
found, resultCounttrue / 1 only for a complete, non-empty tab (the billable unit).
statusok, not_found, not_public, limit_exceeded, invalid_csv, invalid_mime, rate_limited, source_error, invalid_input or budget_exhausted.
partial, error, warningsWhether the result is incomplete and why.
tabGidThe gid from your URL, or null for the first tab.
headersColumn names from the header row; blanks become column_N, duplicates get _2, _3.
rowsData rows as objects keyed by header. Fully empty rows are skipped.
rowNumbers1-based CSV record number of each row.
rowCountNumber of data rows returned.
contentHashSHA-256 of the downloaded CSV bytes.
typesPer column: string, number, boolean or mixed.
syntheticFixturetrue only for the built-in demo sheets.
redirectChainHTTP redirects followed, if any.
checkedAt, schemaVersionObservation time and output format version.

A run summary (counts of delivered, paid and free rows, partial flag) is also saved as OUTPUT in the key-value store.

Other tools we built

Working with other file formats?

ActorWhat it does
Excel to JSON ConverterTurn XLSX workbooks into JSON records.
PDF Text ExtractorPage-level text from PDF files.
Image OCR Text ExtractorPrinted English and Russian text from images and scanned PDFs.
URL to Markdown ConverterClean Markdown from web pages for LLM and RAG pipelines.
Structured Data ExtractorTitle, meta, JSON-LD, headings and links from web pages.

FAQ / Limitations

Why did I get not_public? Google returned a login page or a 401/403 instead of CSV. Open the CSV URL in a private browser window: if it asks you to sign in, change the sheet's sharing to "Anyone with the link" or publish it to the web. The Actor never signs in.

Why are my numbers strings? Text is preserved by default so that IDs, postal codes and prices are not damaged. Set inferTypes to true if you want plain numbers and booleans converted.

Can I select a tab by name? No. Use the numeric gid from the tab's URL (#gid=123 in the editor becomes &gid=123 in the export URL). Without gid, Google returns the first tab.

Limits. 1–5 URLs per run; up to 10,000 data rows and 50 columns per tab; 1 MB per CSV record; about 5 MB of JSON output and 10 MB of download per tab; a run works for up to about 4 minutes. Hitting a limit gives a free limit_exceeded row with the rows read so far.

What this is NOT. It does not read private sheets, accept Google API keys or cookies, evaluate formulas (you get the values Google exports), list the tabs of a spreadsheet, filter columns, or download arbitrary CSV files from other websites. A new run re-reads and re-bills a tab even if it has not changed; compare contentHash to skip unchanged imports.

Source and rights. This is an unofficial tool, not affiliated with or endorsed by Google. It reads only sheets that their owner has made public and respects docs.google.com robots rules. Process only spreadsheets whose content you are allowed to use; you are responsible for how you use the data. Do not make a sheet with personal or confidential data public just to convert it.

Found a bug or need a custom variant? Open an issue on the Actor page.