Website to PDF — Convert Web Pages to PDF in Bulk
Pricing
from $4.00 / 1,000 results
Website to PDF — Convert Web Pages to PDF in Bulk
Convert any list of web pages to PDF files with a real Chrome browser. Choose paper size and orientation. Each result links to the stored PDF.
Pricing
from $4.00 / 1,000 results
Rating
0.0
(0)
Developer
Ponderable Hydrometer
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Turn a list of URLs into PDF files. Each page is rendered in a real Chrome browser and printed to PDF, with the page's own print styles applied.
What you can do with it
- Archive pages such as articles, receipts, documentation or terms of service as PDF files.
- Save a page as it prints: the page's own print styles apply, so navigation and ads that the site hides for print stay hidden.
- Batch conversions: list many URLs in one run; each page becomes one PDF in the run's key-value store.
- Create paper-sized files: A4, Letter, Legal, A3 or Tabloid, portrait or landscape.
What you get
One row per converted page: url, finalUrl, title, httpStatus, fileUrl (link to the PDF), contentType, bytes, paperFormat, landscape.
Output sample
{"url": "https://example.com/","finalUrl": "https://example.com/","title": "Example Domain","httpStatus": 200,"fileUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/page-1.pdf","contentType": "application/pdf","bytes": 24512,"paperFormat": "A4","landscape": false}
Input
| Field | Type | Default | Description |
|---|---|---|---|
urls | array | — | Pages to convert, e.g. "example.com" or a full URL. |
paperFormat | string | "A4" | Paper size of the PDF. |
landscape | boolean | false | Use landscape orientation. |
printBackground | boolean | true | Include background colors and images. |
waitSecs | integer | 0 | Seconds to wait after the page loads, for late content. |
timeoutSecs | integer | 30 | Give up on a page after this long. |
Input example
{"urls": ["https://en.wikipedia.org/wiki/PDF"],"paperFormat": "A4","landscape": false,"printBackground": true,"waitSecs": 2}
Raise waitSecs (0-30) if a page fills in content after it loads; raise timeoutSecs (5-120) for slow sites.
Use it from the API or an AI agent
curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~url-to-pdf/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \-H "Content-Type: application/json" \-d '{"urls": ["https://example.com"]}'
Each row has fileUrl, the link to the stored PDF. Through the Apify MCP server: https://mcp.apify.com?tools=ponderable_hydrometer/url-to-pdf.
How it works
Each page is opened in Chromium (Playwright) in a 1280 x 800 window, waited for until the load event (plus waitSecs), and printed to PDF. Pages are processed one after another. Plain domains such as example.com are accepted.
Limits and good to know
- A page that fails, or answers with HTTP 400 or above, produces no row and no result fee. If every URL fails, the run ends as FAILED.
- Public pages only. There is no login, no cookies input and no proxy; pages that need them will fail or print the login screen.
- The Actor does not scroll the page, so content that appears only on scroll may be missing; try a longer
waitSecs. - Headers and footers (page numbers, date) are not added.
- Sites that block automated browsers may fail. This Actor does not solve CAPTCHAs.
- Files are kept in the run's key-value store for your account's data retention period.
FAQ
How big are the PDFs? The bytes field tells you per page. Backgrounds add size; set printBackground to false for lighter files.
Can it convert HTML I paste in? No, only URLs.
Pricing
Pay per result — $4.00 per 1,000 results (one converted page = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.