VOOZH about

URL: https://apify.com/reinventingai/url-to-pdf

โ‡ฑ URL to PDF ยท Apify


Pricing

from $30.00 / 1,000 pdf converteds

Go to Apify Store

Convert webpages, dashboards, invoices, and authenticated app screens into clean PDFs with advanced controls. Supports JavaScript waits, cookies, headers, print settings, PDF/A, PDF/UA, watermarks, attachments, and post-processing. Ideal for reports, archives, and automation workflows.

Pricing

from $30.00 / 1,000 pdf converteds

Rating

0.0

(0)

Developer

๐Ÿ‘ Mark Fulton

Mark Fulton

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

a month ago

Last modified

Share

Convert webpages, dashboards, reports, invoices, and authenticated app screens into clean downloadable PDFs.

This Apify Actor is built for anyone who needs a reliable URL to PDF converter for automation workflows, reporting, archiving, client deliverables, or printable web content. It supports simple one-page exports and more advanced document generation from JavaScript-heavy or logged-in pages.

Great for

  • saving webpages as PDF
  • exporting dashboards and analytics views
  • generating invoice or contract PDFs from web apps
  • archiving articles, landing pages, and reports
  • producing compliance-friendly PDFs with metadata, PDF/A, or PDF/UA options

Under the hood it uses Gotenberg Chromium and exposes advanced controls in Apify, including:

  • page size, margins, landscape, scale, single-page mode
  • print backgrounds, screen vs print media emulation, emulated media features
  • JavaScript waits (waitDelay, waitForExpression, waitForSelector)
  • cookies and custom HTTP headers for authenticated pages
  • strict failure rules for HTTP status codes, resource loading, and console exceptions
  • header and footer HTML
  • document outline, tagged PDFs, PDF/A, PDF/UA, metadata, flattening, encryption
  • embeds/attachments
  • split, watermark, stamp, and rotate post-processing

Input

Use url for one page or urls for several pages in one run.

Minimal example

{
"url":"https://example.com"
}

Backgrounds + JS wait

{
"url":"https://example.com/dashboard",
"printBackground":true,
"waitForSelector":"#app-ready",
"outputFilename":"dashboard-export"
}

Authenticated page with cookies

{
"url":"https://app.example.com/invoice/123",
"cookies":"[{\"name\":\"session\",\"value\":\"abc\",\"domain\":\"app.example.com\",\"path\":\"/\",\"secure\":true,\"httpOnly\":true}]",
"printBackground":true
}

Header/footer HTML

{
"url":"https://example.com/report",
"headerHtml":"<html><head><style>html{-webkit-print-color-adjust:exact;font-size:16px;margin:0 20px;}</style></head><body><p>Monthly Report</p></body></html>",
"footerHtml":"<html><head><style>html{-webkit-print-color-adjust:exact;font-size:16px;margin:0 20px;}</style></head><body><p>Page <span class=\"pageNumber\"></span> of <span class=\"totalPages\"></span></p></body></html>"
}

Watermark + PDF/A

{
"url":"https://example.com/contract",
"watermarkSource":"text",
"watermarkExpression":"CONFIDENTIAL",
"watermarkOptions":"{\"opacity\":0.18,\"rotation\":45,\"points\":48}",
"pdfa":"PDF/A-3b",
"pdfua":true,
"generateTaggedPdf":true
}

Attach files into the PDF

{
"url":"https://example.com/invoice",
"embeds":"[{\"url\":\"https://example.com/factur-x.xml\",\"fileName\":\"factur-x.xml\",\"mimeType\":\"text/xml\",\"relationship\":\"Alternative\"}]"
}

Important notes

1. Asset-based features use URLs in this actor

Apify actor inputs do not provide a native file-upload widget.

Because of that, file-backed Gotenberg features are exposed through URL-based inputs:

  • embeds expects attachment URLs
  • watermarkFileUrl downloads the watermark image/PDF
  • stampFileUrl downloads the stamp image/PDF
  • headerHtml and footerHtml accept inline HTML strings

2. Some runs return ZIP instead of PDF

If you use split post-processing and Gotenberg returns multiple files, the actor stores a ZIP in the default key-value store instead of a single PDF.

3. Private-network targets are blocked by default

For safety, the bundled Gotenberg service starts with private-IP access disabled. This actor is meant for public web URLs, authenticated web apps, and downloadable public assets, not intranet SSRF-style access.

Output

Each successful item includes:

  • requestedUrl
  • gotenbergTrace
  • outputType (pdf or zip)
  • output.key
  • output.fileName
  • output.sizeBytes
  • output.url

Generated files are stored in the default key-value store.

Standby mode

The actor also exposes a lightweight standby API:

  • GET /
  • GET /convert?url=https://example.com&printBackground=true
  • POST /convert with JSON body

You might also like

PDF Scraper

onidivo/pdf-scraper

Scrape and extract text from PDF links.

๐Ÿ‘ User avatar

Onidivo Technologies

512

Extract text from PDF

akash9078/pdf-text-extractor

Efficiently extract text content from PDF files, ideal for data processing, content analysis, and automation workflows. Supports various PDF structures and outputs clean, readable text.

๐Ÿ‘ User avatar

Akash Kumar Naik

107

URL to PDF Converter

rainminer/url-to-pdf-converter

Converts any web page into a high-quality PDF document ready to download file hosted on Apify. Print any web page to PDF with this actor.

Pdf to json

shahabuddin38/pdf-to-json

Convert PDF files into structured JSON with optional OCR, table extraction, key-value detection, and metadata parsing. Ideal for invoices, receipts, contracts, statements, forms, and document automation workflows. Supports digital and scanned PDFs for API-ready data extraction.

10

Convert Image to PDF and PDF to Image

akash9078/image-pdf-converter

Convert images (JPG, PNG, BMP, and more) into high-quality PDFs, or extract images from PDF files in seconds. Imageโ€“PDF Converter Pro delivers fast, reliable, and professional results for all your document and image conversion needs.

๐Ÿ‘ User avatar

Akash Kumar Naik

37

Html To Pdf Api

simplifysme/html-to-pdf-api

๐Ÿ“„ Convert any HTML page or URL to high-quality PDF documents via API. Perfect for reports, invoices, documentation, web page archiving, and automated document generation.

๐Ÿ‘ User avatar

SimplifySME Toolbox

1

HTML to PDF Converter

rainminer/html-to-pdf-converter

Convert raw HTML or web page URLs into downloadable PDF files using a real browser. Render CSS, images, tables, invoices, reports, and dynamic layouts, then save the generated PDF to the Apify Key-Value Store with dataset metadata.

Pdf Json Extractor

p6t_p10n/pdf-json-extractor

Convert any PDF into structured JSON using AI and OCR (Tesseract or Google Vision). Supports custom schemas, validation, and auto-repair. Ideal for invoices, contracts, receipts, and automation workflows. Fast, accurate, and easy to integrate.

๐Ÿ‘ User avatar

Peerapat Pongnipakorn

2

Fast Pdf Processor

contemporary_fruit/pdf-processor-actor

This API is a PDF Processing Service allowing users to upload a PDF to: Extract Text: Reads all text from the PDF and returns it as structured JSON data per page. Merge Pages: Creates a new PDF containing only the specific pages selected by the user. (260 characters)