Google Sheets to JSON — Public Sheet CSV Converter
Pricing
from $4.38 / 1,000 tabs
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
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Features
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, keyedrowsandrowNumbersthat 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): lowercasetrue/falsebecome booleans and plain decimal numbers become numbers; leading zeros, dates and unsafe integers stay strings. Atypesmap 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_limitedand more, each with a readableerror. - 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
- Make the sheet readable without signing in: Share → Anyone with the link → Viewer, or File → Share → Publish to web → CSV.
- 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 linkhttps://docs.google.com/spreadsheets/d/e/<pub-id>/pub?output=csv. - 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.
- Hit Start and read the results from the dataset (Console, API, webhook or an integration such as Make, n8n or Zapier). Check
statusbefore importingrows.
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
| Field | Required | Meaning |
|---|---|---|
publishedCsvUrls | Yes | 1–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. |
headerRow | No | 1-based CSV record that holds the column names (1–20, default 1). Records above it are skipped. |
maxRows | No | Maximum 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. |
inferTypes | No | true 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": []}
| Field | Meaning |
|---|---|
input, publishedUrl | The URL you supplied. |
sourceUrl | The URL actually read. Export links are read through Google's equivalent gviz CSV route on docs.google.com. |
found, resultCount | true / 1 only for a complete, non-empty tab (the billable unit). |
status | ok, not_found, not_public, limit_exceeded, invalid_csv, invalid_mime, rate_limited, source_error, invalid_input or budget_exhausted. |
partial, error, warnings | Whether the result is incomplete and why. |
tabGid | The gid from your URL, or null for the first tab. |
headers | Column names from the header row; blanks become column_N, duplicates get _2, _3. |
rows | Data rows as objects keyed by header. Fully empty rows are skipped. |
rowNumbers | 1-based CSV record number of each row. |
rowCount | Number of data rows returned. |
contentHash | SHA-256 of the downloaded CSV bytes. |
types | Per column: string, number, boolean or mixed. |
syntheticFixture | true only for the built-in demo sheets. |
redirectChain | HTTP redirects followed, if any. |
checkedAt, schemaVersion | Observation 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?
| Actor | What it does |
|---|---|
| Excel to JSON Converter | Turn XLSX workbooks into JSON records. |
| PDF Text Extractor | Page-level text from PDF files. |
| Image OCR Text Extractor | Printed English and Russian text from images and scanned PDFs. |
| URL to Markdown Converter | Clean Markdown from web pages for LLM and RAG pipelines. |
| Structured Data Extractor | Title, 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.