Go to example tasks

Convert web pages to PDF (A4, Letter)

Prints web pages to PDF in A4, Letter, Legal, A3 or A5 with backgrounds kept, for archiving, reports or sharing. Works for a list of URLs in one run and returns a link to each PDF. This example prints a public demo quotes page as A4.

Try for free
Website Screenshot & HTML to Image / PDF
Website Screenshot & HTML to Image / PDFklarto/website-screenshot-pdf
#
Page
Status
File
+9 fields
Text
Number
Boolean
List
Object

Input

URLs:https://quotes.toscrape.com/
Format:pdf
PDF page size:A4

Output fields

#
Page
Status
File
HTTP
Title
Format
Width
Height
Bytes
Charged
Error
Note

How it works

Sign up on Apify or log in

The Website Screenshot & HTML to Image / PDF Actor is ready to run with the inputs already set for "Convert web pages to PDF (A4, Letter)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert web pages to PDF (A4, Letter)" task

The Website Screenshot & HTML to Image / PDF Actor will start running based on the input automatically. You can also change all the input fields, like URLs, format, and more, to match your specific use case.

Receive the "Convert web pages to PDF (A4, Letter)" 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, 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 web pages to PDF (A4, Letter)" task via API.

Image

Integrate "Convert web pages to PDF (A4, Letter)" into your workflow

Connect "Convert web pages to PDF (A4, Letter)" 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

The web page to PDF task prints A4, Letter, Legal, A3 and A5 pages.

Converting a web page to PDF costs $0.005 per page URL. Failed pages and pages with HTTP errors are free.

Yes. The web page to PDF task skips URLs that robots.txt disallows by default; those pages are free.