HTML to PDF Converter - Web Pages & Raw HTML, Bulk avatar

HTML to PDF Converter - Web Pages & Raw HTML, Bulk

Pricing

from $1.60 / 1,000 pdf createds

Go to Apify Store
HTML to PDF Converter - Web Pages & Raw HTML, Bulk

HTML to PDF Converter - Web Pages & Raw HTML, Bulk

Convert web pages or raw HTML (invoices, reports) to PDF in bulk: A4, Letter and more, margins, landscape, page numbers, backgrounds, cookie banners hidden. $2 per 1,000 PDFs.

Pricing

from $1.60 / 1,000 pdf createds

Rating

0.0

(0)

Developer

Emmanuel Vingadassalon

Emmanuel Vingadassalon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Turn web pages or your own HTML into clean PDF files, in bulk: invoices, reports, certificates, articles, documentation. Choose the paper size, margins, orientation and page numbers; backgrounds are kept and cookie banners are hidden. Every PDF gets a download link.

  • URLs or raw HTML. Print a list of pages, or paste an HTML document (an invoice template, a generated report) and get it back as a PDF.
  • Print-quality layout. Real Chromium rendering, A4, Letter, Legal, A3, A5 or Tabloid, landscape, custom margins, page / total numbers, print or screen CSS.
  • Clean documents. Cookie banners and consent walls are hidden, ads and trackers are blocked.
  • Cheap. $2 per 1,000 PDFs, where other HTML to PDF Actors charge $6 to $10.
  • No result, no charge. Pages that fail to load, invalid URLs and internal addresses are free.

What can I use it for?

  • Invoices, quotes and certificates: generate a PDF from your HTML template through the API, from Make, Zapier or n8n.
  • Archiving and compliance: keep dated PDF copies of web pages, terms of service or competitor offers.
  • Reports and documentation: turn dashboards, articles or docs pages into shareable PDFs.
  • Offline reading: save long articles as PDF for your e-reader.

Input

{
"urls": ["https://www.iana.org/help/example-domains", "https://en.wikipedia.org/wiki/PDF"],
"html": "<h1>Invoice #2026-001</h1><p>Web audit: 120 EUR</p>",
"format": "A4",
"landscape": false,
"margin": "10mm",
"pageNumbers": true
}

Use urls, html or both: each URL and the HTML document give one PDF each.

Output

One row per document, and the PDF files in the run's key-value store:

FieldMeaning
pdfUrlDownload link of the PDF (signed: opens without an Apify login)
url / sourceThe page printed, or html for your raw HTML
titleTitle of the page
pagesNumber of pages of the PDF
bytesFile size
format, landscapePaper settings used
loadTimedOuttrue when the page kept loading: it was printed after 20 more seconds
errorWhy a document could not be created, or why it was not charged

Pricing

$0.002 per PDF created ($2 per 1,000 PDFs) plus Apify's small run-start fee. No subscription, lower prices on higher Apify plans. Invalid URLs, pages that fail to load and internal addresses are free. Error pages (HTTP 400 and above) and empty pages left by a bot protection are free too: their PDF is still saved.

Security

Raw HTML is rendered in an isolated browser. Every request it makes (images, scripts, styles) can only reach public internet addresses: internal networks, localhost, cloud metadata addresses and file: URLs are refused. JavaScript can be turned off with the "Run JavaScript" option.

Use it from AI agents (MCP)

Add html-to-pdf to the Apify MCP server in your MCP client (Claude, Cursor, VS Code...).

Integrations

Apify API, schedules, webhooks, Make, Zapier, n8n. Export the results table as JSON, CSV or Excel; the PDFs stay in the run's key-value store for your Apify plan's data retention period.

Same developer, same pay-per-result pricing, outputs that chain together:

FAQ

Need an image instead of a PDF? Use Website Screenshot.

Something wrong or missing? Open an issue on the Issues tab.