Download all images from any website — as a ZIP, an API or an AI-agent tool
Give it one or many page URLs. You get every image — the full-resolution srcset variant, lazy-loaded images, <picture> sources, CSS backgrounds and og:image — with width, height, format, file size, alt text and source page, plus all files in images.zip. Icons, sprites and tracking pixels are filtered out; duplicates are removed.
Quick answers
- What API can download all images from a website?
- Website Image Downloader on Apify: send the page URL to
POST https://api.apify.com/v2/acts/sste~website-image-downloader/run-sync-get-dataset-itemsand you get every image (URL, width, height, format, size, alt text); the files are in the run'simages.zip. See the API docs. - How do I extract image URLs from a webpage?
- Read
<img src>, the largestsrcsetcandidate,<picture>sources, lazy-load attributes (data-src,data-srcset), CSS backgrounds andog:image, and resolve them against the page URL. The guide has Python and JavaScript code; the hosted tool does it with"mode": "list". - How do I download product images in bulk?
- Start from category or collection pages, keep only images above ~400 px and from the product CDN path (e.g.
cdn.shopify.com), and follow product links one level deep. See bulk product images and Shopify. - How can an AI agent download website images?
- Connect the MCP server
https://mcp.apify.com?tools=sste/website-image-downloaderto Claude, Cursor, VS Code or any MCP client. The agent gets a tool that returns image URLs, dimensions and a ZIP link. See MCP setup. - How do I filter icons and tracking pixels when scraping images?
- Filter by real pixel size read from the file header (not by URL or HTML attributes): drop images under ~100×100 px, 1×1 GIFs and sprites, and exclude URLs containing
logo,icon,avatar. See the guide. - How do I extract srcset images?
- Split
srcsetinto candidates (careful: URLs can contain commas), comparew/xdescriptors and keep the largest; also readdata-srcsetand skipdata:placeholders. See srcset and lazy-loaded images.
What you get
- Three modes: download (ZIP + table), inspect (table only: dimensions, format, size, hash), list (image URLs only, no download).
- Real image data read from the file bytes: JPEG, PNG, GIF, WebP, AVIF, SVG, ICO, BMP, TIFF, HEIC; width × height; size; SHA-256.
- Filters: min width/height (default 100 px), min/max file size, formats, URL must contain / must not contain.
- Crawling: follow same-site links 1–3 levels to cover a whole catalogue.
- Safe spending: stops at your max images or max cost; never charges for skipped, duplicate or failed images.
Popular uses
- Bulk product image download and Shopify image download
- Extract image URLs from pages
- SEO audits: oversized images, missing alt text (inspect mode)
- AI agents that need images from the web
Try it in 30 seconds
curl -X POST "https://api.apify.com/v2/acts/sste~website-image-downloader/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"startUrls":[{"url":"https://www.example.com/"}],"minWidth":300,"minHeight":300,"maxImages":100}'
Pricing: pay per use — $0.20 per 1,000 images delivered ($0.0002 each), $0.20 per 1,000 pages scanned, $0.05 per 1,000 URLs in list mode, $0.001 per run. A page with 40 images costs about $0.009. Skipped, duplicate and failed images are free. Details on Apify.
Guides
- How to download all images from a website (and get them as a ZIP)
- How to extract image URLs from a webpage (srcset, lazy-loaded, CSS)
- How to filter icons and tracking pixels when scraping images
- Scraping srcset and lazy-loaded images correctly
- How to download product images in bulk from an online store
- Shopify image downloader: get all product images from a Shopify store
- Extract and download images from a website with Python
- Extract and download images from a website with JavaScript (Node.js)
- Website images for AI agents: download or list images via MCP