Go to example tasks

Convert a URL to PDF

Turn any web page into a PDF. Give it a URL and get back a downloadable PDF of the page as a browser renders it, with images and styles. Choose the paper size, add a watermark or password, or convert a list of URLs in one run. Download the file or fetch it through the API.

Try for free
HTML to PDF & URL to PDF API - Website Screenshots
HTML to PDF & URL to PDF API - Website Screenshotsautofacts/universal-web-printer
URL
Format
Mode
File
+3 fields
Text
Number
Boolean
List
Object

Input

Start URLs
url:https://en.wikipedia.org/wiki/Web_scraping
Output Format:pdf

Output fields

URL
Format
Mode
File
Download
Size (bytes)
Captured

How it works

Sign up on Apify or log in

The HTML to PDF & URL to PDF API - Website Screenshots Actor is ready to run with the inputs already set for "Convert a URL 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 URL to PDF" task

The HTML to PDF & URL to PDF API - Website Screenshots Actor will start running based on the input automatically. You can also change all the input fields, like start urls and output format, to match your specific use case.

Receive the "Convert a URL 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 URL, format, mode, 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 URL to PDF" task via API.

Image

Integrate "Convert a URL to PDF" into your workflow

Connect "Convert a URL to PDF" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Yes. The page is rendered the way a browser shows it, and backgrounds are printed by default. You can turn background printing off.

Yes: A4, A3, Letter, Legal or Tabloid.

Yes. Add URLs to the list and each page becomes its own PDF. Turn on merge to also get one combined file.

Each result has a download link. The files are also in the run’s key-value store, and you can fetch them through the Apify API.

You pay per page rendered, plus a small extra for options such as watermarks, passwords or merging. Pages that fail to render are not charged. See the Pricing tab for current rates.