Airtable to Google Sheets with a free Apps Script
If you only need Airtable data in a sheet (for a report, a chart, a pivot table, a colleague without an Airtable seat), you don't need an app. This free script copies a table or a view into a tab and can refresh it every hour. At the end: why the same trick breaks when you try to sync both ways.
Set it up in five minutes
- In Airtable, create a personal access token at airtable.com/create/tokens: scope
data.records:read, access to this one base only. Read-only is enough for an import. - In your spreadsheet: Extensions → Apps Script. Delete what is there and paste airtable-to-sheets.gs (MIT licence).
- Fill in
CONFIG: the base ID and table ID from the table's address (airtable.com/appXXXX/tblYYYY/viwZZZZ), a view if you want its filters and sort, and the tab name. - Project Settings → Script properties → add
AIRTABLE_TOKENwith your token. Keeping it there rather than in the code means it isn't shared when you share the script. - Select
importAirtableand click Run. Allow access when asked. To refresh every hour, runinstallHourlyTriggeronce.
What the script does
- Reads the table 100 records at a time (Airtable's page size, checked 12 November 2026), following the
offsetuntil the end, and pauses between pages to stay under Airtable's limit of 5 requests a second per base. If Airtable answers 429, it waits 30 seconds, as that page asks (checked 12 November 2026). - Asks for every value as text (
cellFormat=string), so linked records, lookups and dates arrive as readable text in the time zone and locale you set inCONFIG. - Builds the header from every field it saw: Airtable leaves empty fields out of a record, so a field empty in the first rows still gets its column.
- Replaces the whole tab on each run, as plain text, so Sheets doesn't turn codes such as 00123 into numbers.
Limits to know (Google's Apps Script quotas, checked 12 November 2026): one Apps Script run stops after 6 minutes, and free Google accounts get 90 minutes of trigger time a day (Workspace accounts 6 hours). An import of a few thousand records takes seconds; tens of thousands may need a view that filters them.
Why a home-made two-way sync loops
The obvious next step is a second script that sends edits from the sheet back to Airtable. That is where home-made syncs commonly break, in one of three ways:
- The echo. Script A copies Airtable to the sheet. The sheet's on-edit or on-change trigger sees new values and sends them to Airtable. Airtable's records now have a new modified time, so the next run of A copies them again. Every run rewrites everything, burns your quotas, and the "last modified" field is useless.
- The silent overwrite. Someone edits a cell in the sheet while someone else edits the same record in Airtable. Whichever script runs last wins, and the other edit disappears without a trace.
- The type trap. Formula, lookup, rollup and count fields are read-only in Airtable, and linked records and attachments need their own value shapes, not text. Write their text back from the sheet and the API refuses the whole request, or a linked record becomes a plain string.
A sync that works keeps a snapshot of what each field looked like after the last sync, and compares each side against it, field by field:
- Changed on one side only: copy it to the other side, and update the snapshot, so the copy itself isn't seen as a new change next time (this is what stops the echo).
- Changed on both sides: a conflict. Apply one rule you chose in advance (for example "Airtable wins") and count it, so you know it happened.
- Read-only Airtable fields: only ever copy them Airtable → sheet.
You can build that in Apps Script; budget a few days for it, and for the edge cases (new rows on each side, deleted rows, renamed fields).
If you need both ways
Two-Way Sync for Airtable is a Google Sheets add-on that does exactly the above: each changed field is copied across, conflicts are settled by the rule you choose per sync, read-only fields flow one way only, and the panel shows what each run changed.
Two-Way Sync for Airtable, by Sweekly Apps LLC