Guide · Export
Download all attachments from Airtable
Airtable lets you download files one at a time. To get every file from a field, a table or a whole base, here are the four ways that work, and how to keep each file tied to the record it came from.
Last updated November 3, 2026
The short answer
Airtable has no bulk download in its interface. For a few files, download them from each record. For a field or a table, run Airtable's own bulk attachment script in a scripting extension, or a short API script. For a whole base, the free export downloads every attachment in one ZIP, filed by table and record. Whichever you use, download right away: Airtable's file links expire about 2 hours after they're generated.
| Method | Scope | Cost | Files named by record |
|---|---|---|---|
| Download icon on each file | One file | Free, every plan | No |
| Airtable's scripting-extension script | A record, a view or a table | No extra cost; extensions need a paid plan | Yes, record name first |
| Bulk Download Attachments (miniExtensions) | Chosen fields, filtered by a view | miniExtensions subscription for multi-record downloads | Optional: a folder per record, or names from a field |
| Your own API script | Anything | Free, technical | However you write it |
| Free Nightclerk export | Every table in a base | Free, no account | Yes, a folder per record |
By hand: one file at a time
Any collaborator, at any permission level, can download attachments. Expand the record, hover over the file's name at the bottom, and click the download icon. That's fine for a handful. There's no bulk or selective download from an interface page either.
Airtable's bulk attachment script
Airtable's help article on attachment fields includes a script for the scripting extension, headed “Bulk Attachment Downloader”. It works on one record, the records in a view, or the whole table.
- In the base, open Tools > Extensions > Add an extension and add Scripting. Extensions aren't available on the Free plan.
- Paste the script from Airtable's article, run it, and answer its prompts for what to download.
- It shows clickable links, plus a block of
curlcommands. Make an empty folder, open Terminal in it, and paste the block. Each file downloads with the record's name in front of the original filename, so two records' “photo.jpg” don't overwrite each other. - Paste the commands within 2 hours of running the script, before the links expire.
Airtable says the script “will likely have limitations or bugs”, so check the file count against the record count when it finishes.
If you'd rather click than paste commands, Airtable also points to the Bulk Download Attachments extension in its Marketplace. It's made by miniExtensions, a third party, and downloading across many records needs their subscription. Their page says it puts the files in one ZIP, can be limited to a view, and can make a folder per record.
A script of your own, using the API
If you want the files on a schedule, or from many tables, a few lines against Airtable's Web API do it. This reads every record in one table, 100 at a time, and saves each file in the attachment field to a folder named after the record ID. It needs a personal access token with data.records:read on that base.
// download.mjs: run with AIRTABLE_TOKEN=pat... node download.mjs (Node 18 or later)
import { mkdir, writeFile } from "node:fs/promises";
const BASE = "appXXXXXXXXXXXXXX"; // your base ID
const TABLE = "Projects"; // table name or ID
const FIELD = "Files"; // the attachment field
const headers = { Authorization: `Bearer ${process.env.AIRTABLE_TOKEN}` };
let offset;
do {
const url = new URL(`https://api.airtable.com/v0/${BASE}/${encodeURIComponent(TABLE)}`);
if (offset) url.searchParams.set("offset", offset);
const res = await fetch(url, { headers });
if (!res.ok) throw new Error(await res.text());
const page = await res.json();
for (const record of page.records) {
for (const file of record.fields[FIELD] ?? []) {
const dir = `files/${record.id}`;
await mkdir(dir, { recursive: true });
const body = await fetch(file.url); // links from this page are fresh: about 2 hours
if (!body.ok) throw new Error(`${file.filename}: HTTP ${body.status}`);
await writeFile(`${dir}/${file.id}-${file.filename.replace(/[\\/]/g, "-")}`, Buffer.from(await body.arrayBuffer()));
}
}
offset = page.offset;
await new Promise((r) => setTimeout(r, 250)); // stay under 5 requests a second per base
} while (offset);- Names: the attachment ID in front of each filename keeps two files with the same name apart. To use a readable folder name, swap
record.idfor a field such asrecord.fields["Name"], and strip slashes from it. - Limits: Airtable allows 5 requests a second per base, and every call counts toward the workspace's monthly cap (1,000 on Free, 100,000 on Team, none on Business). A 10,000-record table is about 100 calls.
- Timing: each page's links come fresh from the API and last about 2 hours, so download as you go. Don't save the URLs to fetch later.
Every file in a base, in one ZIP
The free one-time export reads every table and downloads the attachment files as it goes, so the links never get a chance to expire. In the ZIP, each file sits at attachments/<table>/<record ID>/<filename>, and each table's records.csv starts with the record ID, so you can match any file to its row. It includes up to 250 MB of files; anything past that is listed by name in attachments/NOT-INCLUDED.txt. It handles bases of up to 50,000 records and needs no account. For the rest of the export, see exporting an entire base.
Why a CSV isn't enough
Download CSV writes each attachment as a filename and a URL, and since November 8, 2022 those URLs expire after a few hours. An old CSV gives you the names of your files, not the files (why Airtable attachment links stop working).
Questions
Can I mass download attachments from Airtable?
Not from Airtable's interface. Its help center says there's no built-in bulk download. The options are Airtable's own script for the scripting extension (which gives you links and a list of curl commands), the third-party Bulk Download Attachments extension from miniExtensions (bulk downloads need their subscription), your own script using the API, or a tool that exports the whole base with its files.
How do I download all attachments in a particular field?
Use Airtable's bulk attachment script in a scripting extension, which works on one record, a view or the whole table, or run a short API script that reads that field from every record and downloads each file. Either way, download straight away: the links expire about 2 hours after they're generated.
Why does the attachment link in my CSV not work?
Attachment URLs from a CSV export, the API or an automation are temporary. Airtable keeps them working for at least 2 hours and says they expire every few hours. To get the file, download it again from the record in Airtable, or from a backup that kept the file.
How do I keep track of which record each file came from?
Put the record in the path. Airtable's script prefixes each file with the record's name. The free Nightclerk export puts each file in attachments/<table>/<record ID>/, and its records.csv lists the record ID in the first column, so a file and its row always match.
Sources, checked October 20, 2026: Airtable: attachment fields · Airtable: attachment URL behavior · Airtable: views and CSV download · Airtable Web API: list records · Airtable Web API: field model · Airtable: API rate limits · Airtable: API call limits. Nightclerk is not affiliated with Airtable. Compare backup options.