Bulk Image Downloader: Page URLs, Image List or Dataset to ZIP avatar

Bulk Image Downloader: Page URLs, Image List or Dataset to ZIP

Pricing

Pay per event

Go to Apify Store
Bulk Image Downloader: Page URLs, Image List or Dataset to ZIP

Bulk Image Downloader: Page URLs, Image List or Dataset to ZIP

Download images from web pages (page URLs), an image URL list or another Apify dataset. Optional ZIP bundles, resize, convert to JPG/PNG/WebP, minimum size filter, dedupe. Respects robots.txt and rate limits.

Pricing

Pay per event

Rating

0.0

(0)

Developer

TW Data Tools

TW Data Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

Bulk Image Downloader - page URLs, image URL list or dataset to files and ZIP

Download all the images from web pages, from a list of image links, or from the dataset of a scraper you already ran. Images are saved in the key-value store (or bundled into ZIP files) together with a clean report: size, dimensions, SHA-256, the page each image came from and a download link. Resize, convert to JPG/PNG/WebP, remove duplicates, filter by minimum size and choose your own file names.

$0.005 per saved image plus $0.005 per run start. You only pay for images that were actually saved. Failed, skipped, too-small and duplicate images are free.

Example 1: all images from a web page (page URLs mode)

Give the Actor one or more page addresses. It fetches each page and downloads the images found on it.

{
"pageUrls": ["https://en.wikipedia.org/wiki/The_Great_Wave_off_Kanagawa"],
"maxImagesPerPage": 10,
"minWidth": 200,
"zipOutput": true
}

What is picked up from each page:

  • <img src> and lazy-load attributes such as data-src
  • srcset and data-srcset, choosing the largest candidate
  • <picture><source> (one image per <picture>, the largest one)
  • og:image and twitter:image meta tags
  • url(...) in inline style="background-image: ..." (can be turned off)

Relative links are resolved against the page (and <base href>), data: URIs are ignored and duplicates are removed. Each output item has a pageUrl field with the page it was found on.

Plain HTTP only, no JavaScript rendering. The page HTML is fetched and parsed as the server sends it. Images that a page inserts later with JavaScript (infinite scroll, single-page apps, images behind a login) are not found. For those, run a browser-based scraper first and pass its dataset to this Actor (Example 3).

Page mode options:

FieldMeaningDefault
pageUrlsPages to scrape for images, one per line-
maxImagesPerPageKeep at most this many images per page, in document order (0 = no limit)100
sameDomainOnlyOnly images hosted on the same site as the page (img.example.com counts as example.com)off
minWidth / minHeightSkip smaller images. Checked after download, free, reason too_small_dimensions is recorded with the real size0
includeCssBackgroundsAlso read inline CSS background imageson
{ "imageUrls": ["https://example.com/a.jpg", "https://example.com/b.png"], "convertTo": "webp", "maxWidth": 1600 }

Example 3: after another scraper (dataset mode)

This is the typical workflow: scrape products, posts or listings, then download all their pictures.

  1. Run your scraper and select its dataset in the datasetId field (or paste the dataset ID: Storage tab, or defaultDatasetId of the run).
  2. Set urlField to the field that holds the image link, for example imageUrl, images or media.photos.
  3. The field can hold one URL, an array of URLs, nested arrays, or objects with a url / src key. Dotted paths like variants.image work too.
{ "datasetId": "AbCdEf123456", "urlField": "images", "zipOutput": true, "convertTo": "webp", "maxWidth": 1600 }

The Actor runs with limited permissions: it can read only the dataset you pass in datasetId, not the rest of your account.

You can combine pageUrls, imageUrls and datasetId in one run.

What it does

  • Scrapes the images of web pages (plain HTML), or downloads direct image URLs (JPG, PNG, WebP, GIF, BMP, SVG, AVIF, ...), following redirects.
  • Reads URLs from another Apify dataset (datasetId + urlField), including nested arrays.
  • Optional ZIP bundles split at about 100 MB (adjustable up to 400 MB), so large jobs stay easy to download.
  • Optional resize (keeps aspect ratio, never enlarges) and conversion to JPG, PNG or WebP.
  • Skips non-images, tracking pixels (minBytes, minWidth, minHeight), oversized files and duplicates (by URL and by content hash).
  • One dataset item per image with the status (and one item per page that could not be read or had no images), so you can see exactly what happened.
  • Polite by design: 5 parallel downloads, 2 requests per second per host, robots.txt respected for pages and images, 429 and Retry-After honored.

All input fields

FieldMeaningDefault
pageUrls, maxImagesPerPage, sameDomainOnly, minWidth, minHeight, includeCssBackgroundsPage URLs mode, see above-
imageUrlsDirect image links, one per line-
datasetId + urlFieldTake URLs from another Apify dataset-
zipOutput / zipSplitMBBundle into ZIP files, new ZIP at about this sizeoff / 100
convertTooriginal, jpg, png, webporiginal
maxWidth / maxHeightShrink to fit, keeping aspect ratio (0 = off)0
fileNamePatternindex (00001.jpg), original (from the URL), hash (SHA-256 prefix)index
skipDuplicatesSkip repeated URLs and identical contenton
minBytesSkip files smaller than this0
maxFileSizeMBPer-file limit (hard cap 50)20
maxTotalSizeMBPer-run limit, the run stops cleanly when reached (hard cap 10,000)5,000
maxItemsProcess only the first N image URLs (0 = all)0
timeoutSecs, maxConcurrency, perHostRequestsPerSecondSpeed and politeness30, 5, 2
respectRobotsTxtSkip pages and images disallowed by the host's robots.txton

ZIP output

With zipOutput on, images are written into images-001.zip, images-002.zip, ... in the run's key-value store instead of one record per image. A new ZIP starts at about zipSplitMB (default 100 MB). Each dataset item tells you the zipFile, the zipEntry (file name inside) and the downloadUrl of the ZIP.

Pricing

  • $0.005 per saved image plus $0.005 per run start (the start fee is charged once per GB of run memory; the default is 1 GB, so $0.005). The price is the same on every Apify plan.
  • Examples: 100 images cost about $0.505. 1,000 images cost about $5.005. 10,000 images cost about $50.005.
  • You are not charged for pages that fail, URLs that fail, files that are not images, images disallowed by robots.txt, images skipped for being too small, or duplicates.
  • Set a maximum cost per run in the Apify run options. The Actor stops cleanly when the limit is reached, and finished images stay saved.

Output example

{
"sourceUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0a/The_Great_Wave_off_Kanagawa.jpg/330px-The_Great_Wave_off_Kanagawa.jpg",
"pageUrl": "https://en.wikipedia.org/wiki/The_Great_Wave_off_Kanagawa",
"status": "ok",
"error": null,
"reason": null,
"contentType": "image/jpeg",
"width": 330,
"height": 223,
"bytes": 36653,
"sha256": "3f0c...e91a",
"kvKey": "00003.jpg",
"downloadUrl": "https://api.apify.com/v2/key-value-stores/xxxx/records/00003.jpg",
"zipFile": null,
"zipEntry": null,
"fetchedAt": "2026-11-08T12:00:00Z"
}

pageUrl is null for images that came from imageUrls or a dataset. A skipped image looks like {"status": "error", "reason": "too_small_dimensions", "error": "Image is 40x40 px, smaller than minWidth x minHeight (200x0)"}. A page that cannot be used appears as one item with the page in sourceUrl and pageUrl.

Reason codes: http_404, http_429, not_image, not_html, too_large, too_small, too_small_dimensions, robots_disallowed, no_images_found, duplicate_url, duplicate_content, timeout, dns_error, blocked_host, process_failed.

FAQ

Can I give it a web page and get all images on it? Yes, use pageUrls. It reads the page's HTML only: images added by JavaScript after the page loads are not found.

Why was my page or image skipped with robots_disallowed? The host's robots.txt forbids automated access to that path for this bot. Turn respectRobotsTxt off only for hosts you own or that explicitly allow automated downloads.

Why did a page give no_images_found? The page has no images in its HTML, often because it is rendered by JavaScript, or every image was filtered out by sameDomainOnly.

What happens when the limit is hit? When maxTotalSizeMB or your maximum cost per run is reached, the run stops cleanly, finished images stay saved and the log says why.

How long are the files kept? In the run's key-value store, subject to your Apify storage retention.

Do you bypass logins or paywalls? No. See the legal note.

You are responsible for having the right to download and use the images you request. Check copyright, licenses and the website's terms. This Actor follows robots.txt rules by default (for page fetches and image downloads), applies rate limits, honors 429 and Retry-After, and does not log in, bypass paywalls, solve CAPTCHAs or get around anti-bot protection. Private and local network addresses are refused.