Bulk File & Image Downloader: URLs or Datasets to ZIP avatar

Bulk File & Image Downloader: URLs or Datasets to ZIP

Pricing

from $1.00 / 1,000 file downloadeds

Go to Apify Store
Bulk File & Image Downloader: URLs or Datasets to ZIP

Bulk File & Image Downloader: URLs or Datasets to ZIP

Download images, PDFs, documents, audio and video from URL lists, Apify dataset fields or web pages into one ZIP and/or storage with direct links. Type and size checks, retries, duplicate skipping, optional resize and WebP/JPEG/AVIF conversion. $1 per 1,000 files.

Pricing

from $1.00 / 1,000 file downloadeds

Rating

0.0

(0)

Developer

Kacper Gumieniuk

Kacper Gumieniuk

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Features

Limited permissions

Share

Bulk File & Image Downloader saves files from a list of URLs into one ZIP and/or your Apify storage with a direct link per file. Images, PDFs, Word/Excel files, audio, video and archives. Take the URLs from a pasted list, from fields of an Apify dataset (e.g. every images of a product scraper's output) or let it find the files on web pages. It checks each file's real type from its first bytes, enforces a size limit, retries flaky servers, skips identical files and can resize images and convert them to WebP, JPEG, PNG or AVIF.

Try it now: press Start. The prefilled input downloads 4 files (a JPEG, a PNG, an SVG and a PDF) into files.zip and the key-value store in a few seconds for $0.004. Price: $1 per 1,000 files (first 1 MB of each file included, then $0.0005 per MB). Failed URLs, refused types, oversized files and duplicates are free. Apify's free plan ($5 of monthly credit) covers about 4,900 typical images a month.

Use cases

  • Product images for e-commerce: run it on a product scraper's dataset (images, imageUrl) and get every photo resized to 1,600 px WebP in one ZIP, named {index}-{name}.webp, ready to upload to your shop.
  • Document collection: download PDFs, reports and spreadsheets from a list of links (tenders, filings, manuals) and archive them with SHA-256 hashes.
  • Back up media you own: pull the images and attachments of your website, CMS export or CDN into one archive.
  • Datasets for machine learning: collect and normalize images (format, max size) with their source URL and hash.
  • Page asset grabbing: give page URLs and Find files on web pages to fetch their images (largest srcset candidate), og:image, video/audio and linked PDFs.
  • Pipelines and agents: each dataset item has a fileUrl, so the next step (OCR, AI vision, upload) can use the file directly.

How to use Bulk File & Image Downloader

  1. Paste direct file links into File URLs, or pick Datasets and name the URL fields (a field may hold one URL, a list of URLs or objects like {"url": ...}).
  2. Optionally narrow File types, set Max file size, a File name template and image conversion.
  3. Press Start. The run's Output tab links files.zip, the stored files and the dataset with one item per URL.
  4. To process a scraper's results automatically: in that actor, Integrations → Connect Actor or Task → this actor with {"datasetIds": ["{{resource.defaultDatasetId}}"], "urlFields": ["images"]}.

Input

{
"urls": [
"https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",
"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
],
"datasetIds": ["aBcDeFgHiJkLmNoPq"],
"urlFields": ["images", "manualPdf"],
"fileTypes": ["image", "pdf"],
"imageFormat": "webp",
"imageMaxWidth": 1600,
"fileNameTemplate": "{host}/{index}-{name}.{ext}"
}
FieldWhat it does
urlsDirect file links (up to 100,000), or base64 data: URLs.
datasetIds + urlFieldsApify datasets (via the picker) and the fields holding the URLs; nested paths like media.images.
fileTypesany (default), image, pdf, document, audio, video, archive, text. Checked from the file content.
createZip / saveToKeyValueStorePut files into files.zip (parts of zipPartSizeMb, default 500 MB) / store each file with a direct link. Both on by default.
maxFileSizeMbDefault 100 MB, up to 2,000. Announced sizes are refused before downloading.
fileNameTemplate{name}, {ext}, {index}, {hash}, {host}; / makes ZIP folders. Repeats get -2, -3.
dedupeByContentSkip files identical (SHA-256) to an earlier one. On by default.
imageFormat, imageMaxWidth, imageMaxHeight, imageQualityConvert to jpeg/png/webp/avif and/or shrink (never enlarges; EXIF rotation applied).
scanPages, maxFilesPerPageFor page URLs: download the files they show or link to (one level deep).
maxFiles, maxConcurrencyLimits. Requests to one website are spaced at least 250 ms apart.

Output

One dataset item per URL (real result from examples/input-advanced.json, image converted to WebP at 800 px):

{
"url": "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png?utm_source=...",
"status": "downloaded",
"fileName": "upload.wikimedia.org/00006-PNG_transparency_demonstration_1.webp",
"key": "upload.wikimedia.org_00006-PNG_transparency_demonstration_1.webp",
"fileUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/upload.wikimedia.org_00006-PNG_transparency_demonstration_1.webp",
"zipFile": "files.zip",
"fileType": "webp",
"category": "image",
"bytes": 70384,
"downloadedBytes": 224566,
"sha256": "c4e870d358d64ce677e958c156d0e3fba466993d8e915fc81c5dc64937a9b696",
"width": 800,
"height": 600,
"converted": { "from": "png", "to": "webp", "originalBytes": 224566, "originalWidth": 800, "originalHeight": 600 },
"from": "page https://en.wikipedia.org/wiki/Portable_Network_Graphics",
"charged": { "file-downloaded": 1 }
}

Other statuses: duplicate (with duplicateOf), page-scanned (with filesFound) and error with a code and an explanation: web_page_not_file, type_not_allowed, too_large, robots_disallowed, target_http_404, target_timeout, empty_file. The SUMMARY record lists counts, bytes, error codes and every ZIP part with its link.

How much does downloading cost?

EventPriceExample
File downloaded and stored (first 1 MB included)$0.0011,000 product images = $1
Each started MB above 1 MB$0.0005a 5.3 MB photo = $0.001 + 5 x $0.0005 = $0.0035
Web page scanned that led to files$0.001
Actor start (per GB of run memory)$0.001default 1 GB run = $0.001
Failed URL, refused type, oversized file, duplicatefree

The per-MB part covers the data transfer of big files (Apify bills every downloaded gigabyte). Converting images is included. Set a maximum cost per run and the actor stops before going over it.

FAQ

Why did I get web_page_not_file?

The URL opened a web page, not a file. Open the image or document itself and copy that address (it usually ends in .jpg, .png, .pdf), or turn on Find files on web pages. Such errors are free.

Does it respect robots.txt and site limits?

Yes. It reads each site's robots.txt (its token is BulkFileDownloader), identifies itself in the user agent, spaces requests to one site at least 250 ms apart, and uses no proxies or anti-bot tricks. Download only files you have the right to use: you are responsible for the content you download.

How large can a run be?

Up to 100,000 URLs and 2 GB per file. ZIPs are split into parts (files.zip, files-2.zip, ...) so disk use stays bounded; the run's disk is 2x its memory, so for many large files give it more memory or lower the parallel downloads.

Can it download from Google Drive, Dropbox, YouTube or Instagram?

Only links that return the file itself (e.g. a Dropbox link with ?dl=1, a public S3 or CDN URL). It does not log in anywhere or extract videos from social platforms.

Can I call it from code or an AI agent?

Yes: the Apify API, the JavaScript and Python clients, or the Apify MCP server. Each item's fileUrl is a direct link, so an agent can pass files on to OCR or vision models.

Integrations and API

Attach it to any scraper (Integrations → Connect Actor), schedule it, or call it via the API; export the item list to JSON, CSV or Excel; send results to Make, Zapier, n8n or webhooks.