Website Screenshot and URL/HTML to PDF Renderer
Pricing
from $3.00 / 1,000 screenshot or pdf captureds
Website Screenshot and URL/HTML to PDF Renderer
Pricing
from $3.00 / 1,000 screenshot or pdf captureds
Rating
0.0
(0)
Developer
Bravona
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Website Screenshot and URL/HTML to PDF Renderer turns public web pages or your own raw HTML into PNG, JPEG or WebP screenshots (full page or viewport) or print-ready PDFs. Each file is saved to the run's key-value store, and a dataset record links to it, with its size, dimensions, page count and HTTP status.
You pay only for captures that succeed. Pages that fail, time out, sit behind a bot wall or a login, or point to a private address get an error record and are never charged.
What does it do?
- Screenshots: full scrollable page (up to 30,000 px) or just the viewport, or one element (
captureSelector). Choose PNG, JPEG or WebP and set the quality. - PDFs from any URL or HTML: A4, Letter, Legal, A3, A5 or Tabloid; portrait or landscape; margins; print backgrounds; print or screen CSS; scale; and a page cap.
- Raw HTML to PNG/PDF. Good for invoices, reports, receipts and email previews. Relative links resolve against your base URL.
- Devices: custom viewport (320–3840 × 240–2160) and 1×, 1.5×, 2× or 3× scale, or presets for desktop, HD desktop, retina laptop, iPhone 15 Pro, Pixel 5 and iPad Pro 11.
- Waiting: DOM content loaded, load, or network idle (the default). You can also wait for a CSS selector or add a fixed delay. Lazy images are loaded by scrolling first.
- Clean captures: optional cookie-banner hiding (CSS only; nothing is clicked or accepted), your own hide selectors and injected CSS. Ads and trackers are blocked by default.
- Safe by design: private, internal, loopback and cloud-metadata addresses are refused, including through redirects, meta refresh and DNS. robots.txt is respected by default. Bot walls, CAPTCHAs and login pages are detected and reported, never bypassed.
Who is it for?
- Marketers and SEO teams: archiving pages and competitor monitoring.
- QA teams: visual checks across viewports.
- Developers: generating PDFs from HTML templates.
- Automation builders: anyone who needs "URL → image/PDF" as one step in a workflow (Make, Zapier, n8n, the API).
Input
| Field | What it does | Default |
|---|---|---|
urls | Public http(s) pages: plain strings "https://…" or { "url": "…" } objects (both work, mixed too) | – |
html, htmlBaseUrl | One raw HTML document (≤ 5 MB) and its base URL | – |
htmlDocuments | Several: [{ "name", "html", "baseUrl" }] | – |
format | png, jpeg, webp or pdf | png |
fullPage | Whole page or viewport only | true |
devicePreset | custom, desktop, desktopHd, laptopRetina, iPhone15Pro, pixel5, iPadPro11 | custom |
viewportWidth / viewportHeight | 320–3840 / 240–2160 | 1280 / 800 |
deviceScaleFactor | 1, 1.5, 2, 3 | 1 |
quality | JPEG/WebP quality 1–100 | 80 |
captureSelector | Capture one element only | – |
maxPageHeight | Full-page height cap in CSS px (240–30000) | 20000 |
waitUntil | domcontentloaded, load, networkidle | networkidle |
networkIdleTimeoutSecs | Longest wait for idle; busy pages are captured anyway | 5 |
waitForSelector | Selector that must appear (else SELECTOR_TIMEOUT) | – |
delaySecs | Extra wait before capture (0–30) | 0 |
scrollToLoadLazyContent | Scroll first so lazy images load | true |
timeoutSecs | Hard limit per URL, load and capture included (5–180) | 60 |
hideCookieBanners | Hide common consent banners with CSS | false |
hideSelectors, injectCss | Your own clean-up CSS | – |
blockAdsAndTrackers | Refuse ~90 ad/analytics/tag-manager domains | true |
pdfPageSize, pdfLandscape, pdfMarginTop/Right/Bottom/Left, pdfPrintBackground, pdfMediaType, pdfScale, maxPdfPages | PDF layout | A4, portrait, 0, true, print, 1, 50 |
captureErrorPages | Capture HTTP 4xx/5xx pages (charged) instead of an error record | false |
respectRobotsTxt | Skip URLs robots.txt disallows | true |
maxCaptures | Safety cap on sources per run (1–5000) | 100 |
maxConcurrency | 0 = automatic by memory | 0 |
Example:
{"urls": ["https://example.com", { "url": "https://www.wikipedia.org" }],"format": "pdf","pdfPageSize": "Letter","pdfMarginTop": "10mm", "pdfMarginBottom": "10mm","hideCookieBanners": true}
Output
Files go in the run's default key-value store (capture-0001-example-com.png, …). There is one dataset record per source. Records arrive as captures finish; sourceIndex gives each one its position in the input:
{"status": "ok", "sourceIndex": 0, "sourceType": "url", "source": "https://example.com","finalUrl": "https://example.com/", "httpStatus": 200, "title": "Example Domain","format": "png", "contentType": "image/png","fileKey": "capture-0000-example-com.png","fileUrl": "https://api.apify.com/v2/key-value-stores/<id>/records/capture-0000-example-com.png","sizeBytes": 34210, "widthPx": 1280, "heightPx": 800, "pageHeightCss": 800,"heightTruncated": false, "pdfPageCount": null, "pdfTruncated": false,"pageRequests": 2, "pageTransferBytes": 2021, "heavyPage": false,"warnings": [], "billable": { "capture": 1, "heavy-page": 0 }, "errorCode": null, "errorMessage": null,"loadMs": 812, "captureMs": 190, "processingMs": 1140, "capturedAt": "2026-11-04T18:00:00.000Z"}
The OUTPUT record in the key-value store sums up the run: sources, ok/failed counts, errors by code, billable and charged events, the charge-limit flag, totals, memory and browser launches.
Error codes (never charged)
| Code | Meaning |
|---|---|
INVALID_URL, INVALID_HTML | Not an http(s) URL, or the HTML is empty or over 5 MB |
BLOCKED_ADDRESS | The URL, a redirect or meta refresh, or its DNS points to a private/internal/loopback/metadata address |
ROBOTS_DISALLOWED, ROBOTS_UNAVAILABLE | robots.txt forbids the URL or could not be read |
AUTH_REQUIRED | HTTP 401/407 or a login page |
CAPTCHA_OR_BOT_WALL | A CAPTCHA or bot-protection page (Cloudflare, DataDome, PerimeterX, Akamai, …). It is reported, not bypassed |
HTTP_ERROR | HTTP 4xx/5xx (unless captureErrorPages is on) |
NETWORK_ERROR | DNS, TLS or connection failure |
UNSUPPORTED_CONTENT | The URL is a download or non-HTML file |
TIMEOUT | Over timeoutSecs |
SELECTOR_TIMEOUT, SELECTOR_NOT_FOUND | waitForSelector never appeared / captureSelector matched nothing |
CAPTURE_FAILED | The browser could not produce the file |
CHARGE_LIMIT_REACHED | Your max total charge was reached; the rest were skipped |
Pricing
Pay per event. Failures cost nothing.
| Event | Price |
|---|---|
| Actor Start | $0.00005 per run, per GB of memory (2 GB default: $0.0001) |
| Screenshot or PDF captured (primary) | $0.003 per successful screenshot or PDF |
| Heavy page add-on (3 MB+) | $0.004, added to a capture when the page downloaded at least 3 MB over the network before capture (pageTransferBytes on the record; blocked ads and trackers not counted) |
A light page costs $0.003; a heavy page $0.007. Failed sources are not charged. See PRICING.md for details.
Works on Apify's free plan; you pay a tiny start fee plus only for results returned (each captured screenshot or PDF, and the add-on for heavy pages). Charges come out of your Apify account's prepaid usage; on the Free plan, once that monthly usage is used up, runs stop until the next billing cycle.
Limits and notes
- Only public, logged-out pages. There is no login, cookie or proxy input, and the actor never solves CAPTCHAs.
- WebP images are cut at 16,383 px tall (a WebP format limit), with a warning. Use PNG or JPEG for taller pages.
- Heavy news and ad-funded sites often hit bot walls, or load slowly and time out. They return error records and aren't charged.
- One output format per run. Run twice to get both a PNG and a PDF.
- Memory: 2 GB (default) runs 2 pages at a time. More memory runs more pages in parallel but costs about the same per capture.
Legal
Capture only pages you are allowed to copy. Respect sites' terms of service and copyright. The actor identifies itself in its user agent and follows robots.txt by default.