# Convert web pages to PDF in bulk

**Use case:** 

Paste a list of URLs and get one clean PDF per page, with cookie banners, ads and floating bars removed. Pick the paper size (Letter, A4, Legal and more) and portrait or landscape. Each PDF gets a download link, so you can archive pages, attach them to reports or feed them into other tools.

## Input

```json
{
  "urls": [
    "https://crawlee.dev",
    "https://docs.apify.com/academy",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "format": "pdf",
  "fullPage": true,
  "device": "desktop",
  "hideCookieBanners": true,
  "blockAds": true,
  "hideFloatingBars": true,
  "darkMode": false,
  "detectChanges": false,
  "monitorName": "default",
  "changeThresholdPercent": 1,
  "changeBasis": "either",
  "scaleFactor": 1,
  "waitUntil": "load",
  "delaySecs": 1,
  "scrollToBottom": true,
  "maxFullPageHeight": 12000,
  "quality": 85,
  "pdfFormat": "Letter",
  "pdfLandscape": false,
  "pdfUseScreenMedia": true,
  "maxConcurrency": 0,
  "navigationTimeoutSecs": 45,
  "maxRetries": 2
}
```

## Output

```json
{
  "screenshotUrl": {
    "label": "Capture",
    "format": "image"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Page title",
    "format": "text"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "number"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "device": {
    "label": "Device",
    "format": "text"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "fileSizeBytes": {
    "label": "Bytes",
    "format": "number"
  },
  "changeDetected": {
    "label": "Changed",
    "format": "boolean"
  },
  "visualDiffPercent": {
    "label": "Visual diff %",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Screenshot & PDF - Full Page, Mobile, Change Detection Actor is ready to run with the inputs already set for "Convert web pages to PDF in bulk". [Sign up or log in](https://console.apify.com/create-task-from-example/8iQFzjL18So7WYsX0) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Convert web pages to PDF in bulk" task

The Website Screenshot & PDF - Full Page, Mobile, Change Detection Actor will start running based on the input automatically. You can also change all the input fields, like URLs, output format, and more, to match your specific use case.

### 3. Receive the "Convert web pages to PDF in bulk" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as capture, URL, page title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Convert web pages to PDF in bulk" task via API](https://apify.com/cuestadata/website-screenshot-pdf.md).

## FAQ

### What does the bulk web page to PDF task produce?

The bulk web page to PDF task saves one PDF per URL and returns a download link, the page title, HTTP status and file size for each page.

### How much does converting web pages to PDF cost?

Converting web pages to PDF costs about $2 per 1,000 successful captures, plus a tiny start fee per run. Failed pages are not charged.

### Can I convert pages to PDF on a schedule or through an API?

Yes. Save the bulk web page to PDF task, then add an Apify schedule or call it from the Apify API, Make, Zapier or n8n.

## About this Actor

This example demonstrates how to use [Website Screenshot & PDF - Full Page, Mobile, Change Detection](https://apify.com/cuestadata/website-screenshot-pdf.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cuestadata/website-screenshot-pdf.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/cuestadata/website-screenshot-pdf.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
