This page is about printing web pages you give it to PDF, many at a time, and getting a link to each PDF. It is not a tool to merge or cut PDFs afterwards, and it does not get past bot checks or log-in pages.
Teams that archive pages, send reports as PDF or keep dated copies of terms and price pages need a list of addresses turned into files without opening each one by hand.
Short version: a few pages for yourself → your browser's own Print, then Save as PDF. A list of addresses, or HTML text, as PDFs with page numbers and a link per file → HTML to PDF on Apify.
urls takes the addresses; datasetId and urlField read them from another Actor's dataset (use {{resource.defaultDatasetId}} to run right after it). Up to 200 per run by default (maxItems).html turns your own markup into a PDF.format (A4 by default in the filled-in input), landscape, margins, printBackground, headerTemplate and footerTemplate with pageNumber and totalPages, extraCss (for example to hide a cookie banner), waitForSelector, waitMs and lazyLoadScroll for pages that load late. mediaType is print by default.onlyChanged and schedule the run: a page whose visible text is the same as last time is skipped and free; a changed page gets a new PDF.url, status, error, pdfUrl, pages, bytes, title and changed. The PDFs are stored in the run's key-value store and pdfUrl is the public link.The input on the Actor's page is already filled in: two pages, A4, with margins and a page-number footer. Two PDFs cost $0.006, plus $0.00005 for the run start, $0.00605 in all.
Good to know:
timeoutSeconds (60 by default, 5 to 300); concurrency is 2 by default (1 to 5).allowScripts.Price: $0.003 per PDF, plus $0.00005 per run. A PDF is charged only after it is saved; errors, rejected links, bot-check pages and pages skipped by onlyChanged are free. For 100 pages that is $0.30 plus the start fee.
Try the two example pages on Apify
curl -X POST "https://api.apify.com/v2/acts/northbell~html-to-pdf/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls":["https://example.com","https://www.rfc-editor.org/rfc/rfc1149.html"],"format":"A4"}'
Each row has status ok, error or skipped. To merge the PDFs into one file or cut pages out, use the PDF merge, split and compress page. To save a page as an image instead, see the website screenshot API page.
Source: the pages and HTML you give it, printed with headless Chrome. Not affiliated with or endorsed by Google.