Convert a web page to PDF
Pretty Theory Data
Saves a web page as an A4 PDF with backgrounds, ready to download, archive or attach. Prefilled with a Wikipedia article.
Input
Output fields
Sign up on Apify or log in
The Website Screenshot, PDF and OG Image API Actor is ready to run with the inputs already set for "Convert a web page to PDF". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Convert a web page to PDF" task
The Website Screenshot, PDF and OG Image API 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.
Receive the "Convert a web page to PDF" 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 page, status, format, and more.
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 a web page to PDF" task via API.

The task returns one row with the page URL, status, a public file link to a PDF of the page, its size in bytes and the page title.
Yes. Replace the prefilled URL, or add more URLs to the list, in Apify Console or through the API. Each URL gives one file.
The task runs a pay per event Actor at $0.002 per successful screenshot. Failed pages are not charged. There is no monthly fee for the Actor.
No. It loads one public page per URL with a headless browser. It does not log in or crawl.
Open the task in Apify Console and add a schedule, or call the run endpoint with your token. Results land in a dataset and key-value store.