# Bulk URL to PDF archive converter

**Use case:** 

Convert multiple URLs into separate PDFs with full-page capture, custom margins, background printing, and a shared filename prefix.

## Input

```json
{
  "inputType": "urls",
  "html": "<h1>Hello, World!</h1><p>This is a PDF generated from HTML.</p>",
  "url": "https://apify.com",
  "urls": [
    "https://apify.com/",
    "https://apify.com/store"
  ],
  "pageFormat": "A4",
  "landscape": false,
  "marginTop": "8mm",
  "marginBottom": "8mm",
  "marginLeft": "8mm",
  "marginRight": "8mm",
  "printBackground": true,
  "scale": 1,
  "headerTemplate": "",
  "footerTemplate": "",
  "displayHeaderFooter": false,
  "waitForSelector": "",
  "waitForTimeout": 1000,
  "outputFileName": "archive-page",
  "fullPage": true
}
```

## Output

```json
{
  "index": {
    "label": "#",
    "format": "number"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "pdfKey": {
    "label": "PDF Key",
    "format": "text"
  },
  "pdfUrl": {
    "label": "PDF URL",
    "format": "link"
  },
  "fileSizeKb": {
    "label": "Size (KB)",
    "format": "number"
  },
  "success": {
    "label": "Success",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [HTML to PDF Converter](https://apify.com/automation-lab/html-to-pdf-converter) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/html-to-pdf-converter) to learn more, explore other use cases, and run it yourself.