Website Screenshot & PDF Generator avatar

Website Screenshot & PDF Generator

Pricing

from $2.50 / 1,000 screenshot (viewport or element)s

Go to Apify Store
Website Screenshot & PDF Generator

Website Screenshot & PDF Generator

Capture full-page website screenshots (PNG, JPEG, WebP) or PDFs from any list of URLs. Device presets, cookie-banner and ad removal, dark mode, element capture. Pay per capture, failed URLs are free.

Pricing

from $2.50 / 1,000 screenshot (viewport or element)s

Rating

0.0

(0)

Developer

Arpit Goriya

Arpit Goriya

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 hours ago

Last modified

Features

Limited permissions

Share

Capture website screenshots (PNG, JPEG, WebP) or convert web pages to PDF from any list of URLs. Full-page or viewport capture, desktop/laptop/tablet/mobile presets, automatic cookie-banner and chat-widget hiding, ad and tracker blocking, dark mode, single-element capture, and custom CSS/JavaScript. You pay a fixed price per successful capture, and failed URLs are free.

What does Website Screenshot & PDF Generator do?

You give it URLs. For each URL it opens the page in a real Chromium browser, waits for it to load, cleans it up, and saves the file to the run's key-value store. You get:

  • 🖼️ a screenshot or PDF file per URL, with a direct download link;
  • 📋 one dataset row per URL with the final URL after redirects, HTTP status, page title, file size, image width/height (or PDF page count) and a clear error message if something went wrong.

Run it from the Apify Console with no code, on a schedule, through the API, from Make, Zapier or n8n, or from an AI agent through the Apify MCP server.

Why use it?

  • Predictable price. One event per file: $2.50 per 1,000 viewport screenshots, $4.00 per 1,000 full-page screenshots and $3.50 per 1,000 PDFs. Compute is included, and you don't pay for URLs that fail.
  • Clean captures. Cookie-consent banners (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast and more), chat bubbles (Intercom, Drift, HubSpot, Zendesk, Crisp) and ad/tracking scripts are removed before capture.
  • Complete full-page shots. The page is scrolled first, so lazy-loaded images actually show up.
  • Every common format. PNG, JPEG and WebP (with a quality setting) and PDF (A4, Letter and more, with margins, landscape and background options).
  • Reliable. Each URL is handled on its own, so one bad URL never breaks the run. Timeouts, retries and concurrency all have safe defaults.

Use cases

  • Marketing & SEO: archive landing pages, capture competitor pages, build visual reports.
  • QA & monitoring: check how pages render on desktop and mobile, and schedule daily snapshots of key pages.
  • Compliance & evidence: keep timestamped PDF or PNG records of public web pages, terms, prices and ads.
  • Content & social: generate link previews and thumbnails, or capture one chart or section with an element selector.
  • AI agents & automation: give an LLM a visual of a page, or turn articles and docs into PDFs for RAG pipelines.

How to use it

  1. Click Try for free (or Start).
  2. Paste your URLs into URLs to capture. You can also upload a text or CSV file with one URL per line.
  3. Choose the Output format and, if you want, Full-page screenshot and a Device preset.
  4. Click Start. When the run finishes, open the Output tab to preview the screenshots and download the files.

Input example

{
"startUrls": [{ "url": "https://example.com" }, { "url": "https://en.wikipedia.org/wiki/Web_scraping" }],
"format": "png",
"fullPage": true,
"device": "mobile",
"hideCookieBanners": true,
"blockAdsAndTrackers": true,
"darkMode": false,
"delayMs": 1000
}

PDF example:

{
"startUrls": [{ "url": "https://en.wikipedia.org/wiki/Web_scraping" }],
"format": "pdf",
"pdfFormat": "A4",
"pdfMargin": "10mm",
"pdfLandscape": false,
"pdfPrintBackground": true,
"pdfMediaType": "print"
}

All input options

OptionWhat it doesDefault
startUrlsURLs to capture (list, pasted text or uploaded file)required
formatpng, jpeg, webp or pdfpng
fullPageWhole scrollable page instead of the viewportfalse
devicedesktop 1920×1080, laptop 1366×768, tablet 820×1180, mobile 390×844desktop
viewportWidth / viewportHeightOverride the preset's size (px)preset
deviceScaleFactorPixel density 1–3 (2 = retina)preset
qualityJPEG/WebP quality 1–10080
waitUntilload, domcontentloaded, networkidle, commitload
delayMsExtra wait before capture (ms)1000
waitForSelectorWait until this CSS selector exists–
scrollToBottomScroll first to trigger lazy loading (full page / PDF)true
maxFullPageHeightCut extremely long pages at this height (px)15000
pageLoadTimeoutSecsGive up on a page after this many seconds45
hideCookieBannersHide cookie banners and chat widgets (best effort)true
blockAdsAndTrackersBlock ad, analytics and tracking requeststrue
darkModeEmulate prefers-color-scheme: darkfalse
selectorCapture only the first element matching this CSS selector–
customCss / customJsInject your own CSS or run JavaScript before capture–
captureErrorPagesAlso capture pages that return HTTP 4xx/5xxfalse
pdfFormat, pdfLandscape, pdfMargin, pdfPrintBackground, pdfMediaTypePDF layoutA4, false, 0, true, screen
maxConcurrencyPages captured in parallel5
maxRequestRetriesRetries for timeouts and server errors1
proxyConfigurationOptional Apify Proxy or your own proxiesoff

Output example

Each URL produces one dataset item. Successful items link to the file in the key-value store:

{
"url": "https://example.com/",
"finalUrl": "https://example.com/",
"httpStatus": 200,
"title": "Example Domain",
"success": true,
"format": "png",
"fileKey": "screenshot-example-com-62b58f10.png",
"fileUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/screenshot-example-com-62b58f10.png",
"contentType": "image/png",
"width": 1920,
"height": 1080,
"bytes": 85517,
"pageCount": null,
"truncated": false,
"device": "desktop",
"fullPage": false,
"capturedAt": "2026-11-27T05:43:56.280Z",
"error": null
}

A failed URL gets an item like this one (shortened), and it is not charged:

{
"url": "https://en.wikipedia.org/wiki/ThisPageDoesNotExist",
"httpStatus": 404,
"success": false,
"fileKey": null,
"fileUrl": null,
"error": "Page responded with HTTP 404. Enable \"Capture error pages\" to screenshot it anyway."
}

You can download the dataset as JSON, CSV, Excel or HTML. The files themselves are in the run's key-value store: keys start with screenshot- or pdf-.

How much does it cost to capture website screenshots?

This Actor uses pay-per-event pricing. Platform compute is included in the price.

EventPricePer 1,000
Screenshot of the viewport or one element (PNG, JPEG or WebP), per successful URL$0.0025$2.50
Full-page screenshot (PNG, JPEG or WebP), per successful URL$0.004$4.00
PDF, per successful URL$0.0035$3.50
Failed URL (timeout, HTTP error, invalid URL, missing element)freefree

Apify also adds a tiny run-start fee (about $0.00005 per GB of memory per run). With the free Apify plan's monthly credit you can make hundreds of screenshots at no cost. To cap spending, set Maximum cost per run in the run options: the Actor stops cleanly when it reaches the limit and never charges more.

Call it from the API

Run synchronously and get the results in one request (replace YOUR_TOKEN):

curl -X POST "https://api.apify.com/v2/acts/arpitgoriya~website-screenshot-pdf/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls":[{"url":"https://example.com"}],"format":"png","fullPage":true}'

JavaScript (apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('arpitgoriya/website-screenshot-pdf').call({
startUrls: [{ url: 'https://example.com' }],
format: 'webp',
device: 'mobile',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => i.fileUrl));

Use it from AI agents (MCP)

This Actor is available as a tool through the Apify MCP server, so Claude, ChatGPT, Cursor, VS Code, n8n and any other MCP client can call it directly. The input schema becomes the tool's parameters automatically.

Load only this Actor as a tool (remote server, sign in with Apify on first connect):

{
"mcpServers": {
"website-screenshots": {
"url": "https://mcp.apify.com?tools=arpitgoriya/website-screenshot-pdf"
}
}
}

Or run the MCP server locally (stdio):

$npx -y @apify/actors-mcp-server --tools arpitgoriya/website-screenshot-pdf

Agents using the default Apify MCP tools (search-actors + call-actor) can also find it by searching the Store. Then ask, for example: "Take full-page mobile screenshots of these 5 landing pages and give me the file links."

Because pricing is pay-per-event, the agent's run costs exactly the events listed in the pricing section, and failed items are free.

Feature comparison

FeatureWebsite Screenshot & PDF GeneratorTypical basic screenshot tool
PNG, JPEG, WebP and PDF✅Often PNG/JPEG only
Price per file known upfront✅ fixed per eventOften billed by compute time
Failed URLs free✅Varies
Full page with lazy-load scrolling✅Often missing images further down the page
Cookie banner & chat widget hiding✅Rare
Ad & tracker blocking✅Rare
Device presets + custom viewport + retina✅Partial
Element (CSS selector) capture✅Rare
Dark mode✅Rare
Custom CSS / JavaScript✅Partial
PDF page size, margins, landscape, print media✅Rare
Per-URL error report✅Varies

FAQ

Is it legal to take screenshots of websites? Capturing publicly available pages is generally fine, but you are responsible for making sure you have the right to capture and use each page, and for respecting the site's terms, copyright and privacy law. The Actor does not log in, does not bypass paywalls or logins, and does not solve CAPTCHAs.

Why did a URL fail? The error field explains it. Common causes: the page took longer than the timeout, the site returned an HTTP error (404, 500), the site blocks automated browsers (403, 429), or the waitForSelector/selector element never appeared. Failed URLs are not charged. For slow sites, raise Page load timeout or Extra delay. For sites that block datacenter IPs, try Apify Proxy (residential).

Some images are missing at the bottom of a full-page screenshot. Keep Scroll page to load lazy content on and add an Extra delay (for example 3000 ms) or use Wait until: networkidle.

A cookie banner is still visible. Banner hiding is best effort and covers the most common consent platforms. Add your own rule in Custom CSS, for example #my-banner { display: none !important; }.

Why does a full-page screenshot cost more than a viewport screenshot? A full-page capture scrolls the whole page so lazy content loads, then renders an image that can be 15,000 px tall. On heavy news and shopping sites that takes several times longer than a viewport shot. Viewport and element screenshots stay at $2.50 per 1,000; full-page screenshots are $4.00 per 1,000.

How long can a full-page screenshot be? Up to Max full-page height (15,000 px by default, 50,000 px max). Longer pages are cut and marked truncated: true. WebP images are limited to 16,383 px on each side, so use PNG or JPEG for very long pages.

Can I capture pages behind a login? No. The Actor only captures pages that are publicly accessible without signing in.

Can I use it in Make, Zapier, n8n or with an AI agent? Yes. Use the Apify integration for your tool, or the Apify MCP server for AI agents. The input and output are plain JSON, and every result has a direct fileUrl.

How fast is it? A typical page takes 2–6 seconds, and 5 pages are captured in parallel by default. Raise Max concurrency (and memory) for large batches.

Other tools from us

Feedback and support

Found a page that doesn't capture well, or need a feature? Open an issue on the Issues tab. We read every issue and reply as quickly as we can.