Website Screenshot Generator avatar

Website Screenshot Generator

Pricing

from $2.00 / 1,000 captured website screenshots

Go to Apify Store
Website Screenshot Generator

Website Screenshot Generator

Supports custom viewport dimensions, full-page or viewport screenshots, PNG/JPEG formats, configurable loading delays, Apify Proxy integration. Saves screenshot images to the Apify Key-Value Store and screenshot URLs, capture status, website details, dimensions, and timestamps to the Apify Dataset.

Pricing

from $2.00 / 1,000 captured website screenshots

Rating

0.0

(0)

Developer

Data Pilot

Data Pilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Categories

Features

Limited permissions

Share

📸 Website Screenshot Generator is a powerful Apify Actor designed to capture a Website Screenshot of any public web page in a real headless Chromium browser. This tool provides Website Screenshot output including PNG or JPEG images, full-page or viewport captures, custom viewport sizes, and a dataset record for every URL with its status and image link. Whether you're archiving pages, monitoring visual changes, generating thumbnails, or documenting a site for reports, the Website Screenshot Generator delivers reliable results efficiently.

With multiple URLs per run, adjustable viewport size, full-page mode, a configurable wait before capture, image format choice, and Apify Dataset and Key-Value Store delivery, this Website Screenshot actor makes bulk screenshot capture simple. It records a success or failure status for each URL, so you always know which Website Screenshot worked.


📋 Table of Contents


🔥 Features

  • Real Browser Rendering – Loads each page in headless Chromium (Playwright), so JavaScript-rendered content is captured. This is the core of Website Screenshot generation.
  • Multiple URLs per Run – Capture a list of pages in one run.
  • Full-Page or Viewport Capture – Capture only the visible area or the entire scrollable page with fullPage.
  • Custom Viewport Size – Set viewportWidth and viewportHeight (default 1920×1080).
  • PNG or JPEG – Choose the image format with imageFormat.
  • Configurable Wait – Wait before capturing so content has time to render (delaySeconds).
  • Automatic URL Fixing – Adds https:// to URLs that have no scheme.
  • Per-URL Status – Each URL gets a SUCCESS or FAILED record with an error message when it fails.
  • Image Storage – Saves every image in the run's Key-Value Store and gives you a link.
  • Basic Anti-Detection Settings – Hides the common browser automation flag.
  • Apify Proxy Support – Optional Apify Proxy for the headless browser.
  • Detailed Logging – Logs progress for every Website Screenshot captured.

📊 Data Source

The URLs You Provide

  • Source: Any public web page URL you list in urls
  • Access Method: Headless Chromium via Playwright, with optional Apify Proxy
  • Coverage: Pages that a normal browser can open without logging in
  • Output: An image per URL, saved in the run's Key-Value Store, plus one Dataset record per URL
  • Access: No login or API key used

⚙️ How It Works

The Website Screenshot Generator accepts a list of URLs and capture settings. It starts one headless Chromium browser, opens each URL in turn, waits for the page to render, takes the screenshot, saves the image to the Key-Value Store, and records the outcome. All records are pushed to the Apify Dataset as one batch at the end.

Key Processing Steps:

  1. Input Parsing – Read urls, fullPage, viewportWidth, viewportHeight, delaySeconds, and imageFormat
  2. URL Cleaning – Remove empty entries and add https:// where missing
  3. Proxy Setup – Configure Apify Proxy if enabled
  4. Browser Launch – Start headless Chromium with your viewport size
  5. Page Load – Open each URL and wait for the page to start loading, then wait the configured delay (at least 2 seconds)
  6. Capture – Take the screenshot (full page or viewport) as PNG or JPEG
  7. Storage – Save the image to the Key-Value Store and build its link
  8. Record Building – Create one record per URL with status and details
  9. Dataset Push – Push all Website Screenshot records at once

📥 Input

FieldTypeDefaultDescription
urlsarray["https://gemini.google.com/"]Pages to capture. https:// is added if missing.
fullPagebooleanfalseCapture the full scrollable page instead of just the viewport.
viewportWidthinteger1920Browser width in pixels.
viewportHeightinteger1080Browser height in pixels.
delaySecondsnumber3.0Seconds to wait after the page starts loading before capturing (minimum 2).
imageFormatstring"png""png" or "jpeg". Any other value falls back to png.
proxyConfigurationobject{"useApifyProxy": true}Apify Proxy configuration.

Example Input:

{
"urls": ["https://example.com", "https://apify.com"],
"fullPage": true,
"viewportWidth": 1440,
"viewportHeight": 900,
"delaySeconds": 4,
"imageFormat": "png"
}

Mobile-Sized Viewport:

{
"urls": ["https://example.com"],
"viewportWidth": 390,
"viewportHeight": 844,
"imageFormat": "jpeg"
}

📤 Output

One Website Screenshot record is pushed per URL:

FieldTypeDescription
urlstringThe URL that was captured
statusstringSUCCESS or FAILED
screenshotKeystring or nullKey of the image in the Key-Value Store (null if failed)
screenshotUrlstring or nullLink to the image in the run's Key-Value Store (null if failed)
fullPagebooleanWhether full-page mode was on
widthintegerViewport width used
heightintegerViewport height used
formatstringpng or jpeg
capturedAtstringISO 8601 UTC timestamp
errorMessagestring or nullError text when the capture failed

Image keys look like example_com_1.png: the domain, the position of the URL in your list, and the file extension.

Example Website Screenshot Record:

{
"url": "https://example.com",
"status": "SUCCESS",
"screenshotKey": "example_com_1.png",
"screenshotUrl": "https://api.apify.com/v2/key-value-stores/<STORE_ID>/records/example_com_1.png",
"fullPage": true,
"width": 1440,
"height": 900,
"format": "png",
"capturedAt": "2026-10-30T09:00:00+00:00",
"errorMessage": null
}

🧰 Technical Stack

  • Browser: Playwright with headless Chromium
  • Storage: Apify Key-Value Store for images, Apify Dataset for records
  • Proxy: Apify Proxy, optional via useApifyProxy
  • Logging: Apify Actor logging system
  • Platform: Apify Actor serverless environment

📊 Data Fields Explained

  • url / status / errorMessage: Which page, whether the capture worked, and why not if it failed
  • screenshotKey / screenshotUrl: Where to find the image
  • fullPage / width / height / format: The settings used for the capture
  • capturedAt: When the capture was taken

🎯 Use Cases

  • Visual Archiving – Keep dated images of web pages
  • Change Monitoring – Capture pages on a schedule and compare them
  • Thumbnails & Previews – Generate preview images for links or directories
  • QA & Responsive Testing – Capture pages at different viewport sizes
  • Reports & Documentation – Add page screenshots to reports and audits
  • Competitor & Ad Research – Record how public pages look at a point in time

🚀 Quick Start

1. Prepare Input

Go to Apify Console and enter:

{
"urls": ["https://example.com"],
"fullPage": false
}

2. Run the Actor

Click Start. The Actor will:

  • Launch headless Chromium
  • Open each URL and wait for it to render
  • Capture and store each Website Screenshot
  • Push one record per URL to the Dataset

3. Monitor Progress

Console shows:

🛡️ Apify Proxy connected for headless browser.
📸 Preparing to capture screenshots for 1 URL(s)...
[1/1] Loading: https://example.com
✅ Successfully captured: example_com_1.png
🎉 Successfully captured and pushed 1 record(s) to dataset!
Done!

4. View & Download Results

  • Dataset Tab: One record per URL with status and image link
  • Key-Value Store Tab: The image files, which you can download
  • Export: Dataset as JSON, CSV, Excel, or HTML
  • API Access: Available via the Apify API

⚙️ Configuration

Full-page capture:

{
"urls": ["https://example.com/long-page"],
"fullPage": true
}

Slow pages, longer wait:

{
"urls": ["https://example.com/dashboard"],
"delaySeconds": 8
}

Direct connection without proxy:

{
"urls": ["https://example.com"],
"proxyConfiguration": { "useApifyProxy": false }
}

📈 Performance

Processing Speed

  • URLs are processed one after another in a single browser
  • Each page takes at least the wait time (minimum 2 seconds) plus load and capture time
  • Navigation times out after 25 seconds, and the screenshot step after 15 seconds

Resource Usage

  • Memory: Higher than HTTP-only Actors because a real browser runs. Full-page captures of very long pages use more memory.
  • Network: Loads each page fully, except media files, which are blocked
  • Proxy: Optional Apify Proxy

⚠️ Important Notes

  • Public Pages Only: Capture only pages you are allowed to access. Do not use the Actor on pages behind a login or on private content.
  • robots.txt and Terms: The Actor does not check robots.txt. Respect each site's terms of service.
  • Copyright & Privacy: Screenshots may contain copyrighted material or personal data. Store and share them responsibly.
  • Legal: Not legal advice

Data Quality

  • SUCCESS Means a Screenshot Was Taken: If a page fails to finish loading within the navigation timeout, the Actor logs a note and still captures whatever is on screen, and the record is marked SUCCESS. Always check important images, since a slow or blocked page can produce a blank or partial screenshot.
  • Popups & Banners: The Actor does not dismiss cookie banners, popups, or consent dialogs, so they can appear in the image.
  • Blocking & Captchas: Some sites block automated browsers or show a captcha. Basic anti-detection settings are used, but results are not guaranteed.
  • Image Access: screenshotUrl points to the image in the run's Key-Value Store. Whether others can open it depends on your Apify storage access settings, and run storages are kept according to Apify's data retention rules. Download images you need to keep.
  • Proxy Failures: The Actor falls back to a direct connection only if the proxy cannot be configured. If the proxy is configured but fails during loading, that URL may end as FAILED.
  • Freshness: Each image shows the page at the moment of capture

Best Practices

  • Increase delaySeconds for pages that load content slowly
  • Use fullPage only when you need the whole page
  • Use the same viewport size across runs when comparing images over time
  • Check the status and errorMessage fields before using an image

Terms of Use:

  • Use for legitimate archiving, monitoring, testing, and documentation purposes
  • Respect the terms of service of the sites you capture
  • Do not use for unlawful or unauthorized capture of private content
  • Use data responsibly and in compliance with applicable laws

Disclaimer: Website Screenshot Generator is provided as-is for informational and testing purposes. Users are responsible for compliance with all applicable laws and the terms of the websites they capture. This is not legal advice.


⚖️ Website Screenshot Excellence

This Actor is optimized for Website Screenshot capture with:

  • ✅ Real headless Chromium rendering
  • ✅ Full-page and viewport modes
  • ✅ Custom viewport size and PNG or JPEG output
  • ✅ Per-URL success and failure records
  • ✅ Image storage with direct links
  • ✅ Production-ready code