Tools / Website & HTML to PDF Converter (Bulk, Print-Ready)

Website & HTML to PDF Converter (Bulk, Print-Ready)

Convert web pages or your own HTML to clean, print-ready PDFs in bulk with a real Chrome browser. Input: urls, html. Output (JSON/CSV): one row per item with url, title, status, pdfUrl, pageCount, sizeKb, paperFormat.

Run it on Apify Store →

What it's for

Example input

{
 "urls": [
  "https://therealtour360.com",
  "https://en.wikipedia.org/wiki/Real_estate_photography",
  "bad url"
 ],
 "html": "<h1>Invoice #1001</h1><p>Real Tour 360 - test PDF</p>",
 "paperFormat": "Letter"
}

Example output

{
  "url": "(raw html)",
  "finalUrl": null,
  "status": null,
  "title": "",
  "pdfUrl": "https://api.apify.com/v2/key-value-stores/1tW2SsvTEmH1ZzzbV/records/html_mv4rx560m39.pdf",
  "pdfKey": "html_mv4rx560m39.pdf",
  "pageCount": 1,
  "sizeKb": 13,
  "paperFormat": "Letter",
  "landscape": false,
  "ms": 1264
}

Input reference

FieldTypeNotes
urlsarrayPages to convert.
htmlstringConvert this HTML instead of / in addition to URLs.
paperFormatstringPaper size
landscapebooleanLandscape
printBackgroundbooleanPrint backgrounds
marginMmintegerMargin (mm)
mediaTypestring'screen' looks like the site; 'print' uses its print stylesheet.
waitMsintegerExtra wait (ms)
hideCookieBannersbooleanHide cookie banners
maxConcurrencyintegerMax concurrency

Pricing

Pay per event: PDF created $0.003. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Website & HTML to PDF Converter (Bulk, Print-Ready) on Apify →