URL to PDF Converter - Web Page & HTML to PDF API
Pricing
from $1.80 / 1,000 results
URL to PDF Converter - Web Page & HTML to PDF API
URL to PDF converter: web page URLs in, print-quality PDFs out, one row per URL with a direct PDF link and page count. A4, Letter, Legal, A3, landscape, margins, backgrounds, print CSS or one long page. Cookie banners hidden, bulk lists, failures free. $1.80 / 1,000 PDFs.
Pricing
from $1.80 / 1,000 results
Rating
0.0
(0)
Developer
Giovanni Rich
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
9 hours ago
Last modified
Categories
Features
Share
URL to PDF converter and web page to PDF API for bulk lists: paste page URLs (one or 50,000) and get a print-quality PDF of every page, with a direct PDF link, page count, title and HTTP status on one dataset row per URL. A4, Letter, Legal, A3, A5 or Tabloid, portrait or landscape, margins, backgrounds on or off, the site's print stylesheet or the screen look, header and footer with page numbers, or one long page with no page breaks for archiving.
Built for archiving web pages, compliance and legal evidence, invoices and reports, offline reading, documentation exports, research and RAG pipelines that ingest PDFs. Real headless Chromium (Playwright): JavaScript-heavy sites render like in a browser, lazy images are loaded first and cookie banners are hidden.
$1.80 per 1,000 PDFs + Apify usage, no start fee. Failed URLs and HTTP 4xx / 5xx pages are never charged.
What you get
- One row per URL:
pdfUrl(direct link to the file),pageCount,title,statusCode,finalUrl,paperFormat,landscape,mediaType,printBackground,marginMm,bytes,loadTimeMs,charged,createdAt. - The PDF files in the run's key-value store (download from the Storage tab or the API).
- A
RUN_SUMMARYrecord: saved / charged / failed counts, total pages, failures with reasons, input warnings.
Sample output
Real rows from the prefilled input (3 URLs, A4 portrait, screen CSS, backgrounds on), Apify cloud run on 3 Dec 2026, 3 PDFs / 21 pages, 23.8 s total run time incl. browser start:
| url | title | pageCount | bytes | loadTimeMs |
|---|---|---|---|---|
| https://en.wikipedia.org/wiki/Web_scraping | Web scraping - Wikipedia | 12 | 315,195 | 2,896 |
| https://docs.apify.com/academy/web-scraping-for-beginners | Web scraping basics for JavaScript devs | 7 | 2,757,046 | 3,207 |
| https://www.python.org/about/ | About Python™ | 2 | 270,416 | 1,376 |
One row (local test run, 3 Dec 2026):
{"url": "https://en.wikipedia.org/wiki/Web_scraping","finalUrl": "https://en.wikipedia.org/wiki/Web_scraping","statusCode": 200,"title": "Web scraping - Wikipedia","pdfUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/en.wikipedia.org-095e3e295e.pdf","key": "en.wikipedia.org-095e3e295e.pdf","pageCount": 12,"paperFormat": "A4","landscape": false,"mediaType": "screen","printBackground": true,"marginMm": 10,"bytes": 164333,"loadTimeMs": 4306,"charged": true,"createdAt": "2026-12-03T17:55:20.776Z"}
Quick start (3 steps)
- Paste your URLs into Page URLs (bare domains like
example.comwork too). - Choose Paper size, Landscape and Margin, or switch on One long page.
- Click Start. Open the PDFs view and click a link to download.
How to use
| Goal | Input |
|---|---|
| A4 PDFs of a URL list | {"urls": ["https://en.wikipedia.org/wiki/PDF"]} |
| US Letter, landscape, printer-friendly | {"urls": [...], "paperFormat": "Letter", "landscape": true, "printBackground": false, "mediaType": "print"} |
| Archive copy that looks exactly like the site, one page | {"urls": [...], "onePage": true} |
| Page numbers and URL in the footer | {"urls": [...], "headerFooter": true} |
| Fit a wide dashboard | {"urls": [...], "landscape": true, "scale": "0.8"} |
| Mobile layout as PDF | {"urls": [...], "device": "mobile"} |
| Weekly archive of your pages | Save the input as a task and add a Schedule |
Other options: waitUntil, delayMs, waitForSelector, hideCookieBanners (on), hideSelectors, darkMode, scrollToBottom (on, loads lazy images), blockTrackers (on, skips analytics / ad / chat scripts), blockMedia, viewportWidth / viewportHeight, maxConcurrency, pageTimeoutSecs, maxRetries, proxyConfiguration.
Pricing
$1.80 per 1,000 PDFs (result event, $0.0018 each, however many pages a PDF has) plus Apify platform usage (the browser's compute time). No start fee.
| PDFs | Event price |
|---|---|
| 100 | $0.18 |
| 1,000 | $1.80 |
| 10,000 | $18.00 |
Measured usage on 3 Dec 2026 (default 4 GB memory): the prefilled 3-URL run used $0.0059 of platform usage, so a first run on the Apify free plan costs about $0.011 in total. Usage per page is the same browser work as a screenshot: about $1.30 per 1,000 heavy brand home pages in our 40-site test, less for light pages.
Not charged: URLs that fail to load (DNS errors, timeouts, direct file downloads) and pages that answer HTTP 4xx / 5xx (still saved, with charged: false).
Price compared (Apify Store, checked 3 Dec 2026)
| Actor | Users (30 days) | Price per 1,000 |
|---|---|---|
| This actor | new | $1.80 + usage |
| moonweil/url-screenshot-api (screenshots + PDF) | 163 | $4.00 + $0.001 start |
| autofacts/universal-web-printer | 7 | $4.00 per render |
| automation-lab/html-to-pdf-converter | 14 | $5.75 + $0.005 start |
| rainminer/html-to-pdf-converter | 5 | $9.99 |
| power_on/screenshot-url-pdf | 7 | $10.00 |
| apify/html-to-pdf-converter | 8 | free actor, usage only (converts HTML you paste, not URL lists) |
Rival speed was not measured.
Use cases
- Web archiving and evidence: dated PDF copies of terms pages, product pages, prices or public notices.
- Reports and documentation: turn docs, dashboards or blog posts into shareable PDFs.
- Offline reading and research: batch-convert reading lists.
- RAG / document AI pipelines: feed PDFs to tools that expect documents.
- Agencies: monthly PDF snapshots of client sites.
Integrations
Run it from the Apify API, Make, Zapier, n8n or the Apify MCP server. Python:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("rel8ble/url-to-pdf-converter").call(run_input={"urls": ["https://en.wikipedia.org/wiki/PDF"], "paperFormat": "Letter"})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["url"], row["pageCount"], row["pdfUrl"])
PDF links need your Apify token (or open them from the console) unless you make the run's storage public.
Related actors
- Website Screenshot API - the same engine, PNG / JPEG screenshots.
- PDF Text Extractor - text out of existing PDF files.
FAQ
Can it convert pages behind a login? No. Public pages only, no cookies or accounts.
Why does a page look different from my browser's "Print"? By default the actor uses the screen stylesheet so the PDF looks like the website. Set mediaType to print to use the site's print stylesheet instead.
A URL points straight at a PDF file. That is a download, not a page: it is reported in RUN_SUMMARY and not charged.
Some big shops show an error page. A few sites block data-centre IPs. You get their error page with charged: false; turn on Apify Proxy (residential) for those.
Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble