HTML to PDF — Render URL or HTML to PDF
Pricing
from $0.005 / pdf generated
HTML to PDF — Render URL or HTML to PDF
Render any URL or raw HTML into a pixel-accurate PDF with headers, footers, margins and page size. Generate invoices, reports and receipts from templates in an n8n or Make workflow.
Pricing
from $0.005 / pdf generated
Rating
0.0
(0)
Developer
hiper soft
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
8 days ago
Last modified
Categories
Share
Render any URL or raw HTML into a pixel-accurate PDF — with page size, orientation, margins, backgrounds and header/footer templates. Generate invoices, reports, receipts and certificates from templates inside an n8n, Make or Zapier workflow.

What it does
- Renders a URL or raw HTML to PDF with a real browser engine.
- Control page format, orientation, margins, scale and backgrounds.
- Optional header/footer templates (page numbers, dates).
Use cases
- Document generation — turn an HTML invoice/report template into a PDF in a workflow.
- Archiving — save web pages as PDF.
- Automation — the PDF step for n8n/Make pipelines (no self-hosted renderer needed).
Input
{ "url": "https://example.com/invoice", "format": "A4", "printBackground": true, "marginTop": "12mm" }
| Field | Type | Description |
|---|---|---|
url | string | Page to render (or use html). |
html | string | Raw HTML to render. |
format | string | A4, Letter, Legal… |
landscape | boolean | Landscape orientation. |
printBackground | boolean | Include backgrounds. |
scale | string | Render scale (0.1–2). |
marginTop/Bottom/Left/Right | string | Page margins (e.g. 10mm). |
headerHtml / footerHtml | string | Optional header/footer templates. |
Output

{ "source": "https://example.com/invoice", "format": "A4", "bytes": 48213, "resultUrl": "https://api.apify.com/v2/key-value-stores/.../records/document.pdf", "ok": true }
Output schema
| Field | Type | Description |
|---|---|---|
source | string | The URL or html. |
format | string | Page format used. |
bytes | integer | PDF size. |
resultUrl | string (URL) | Link to the PDF. |
FAQ
Can I generate invoices from a template? Yes — send your filled HTML in html and get the PDF back.
Can I use it in n8n? Yes — run it from the Apify node in your workflow, or via integrations and the Apify API.
Notes
Original clean-room implementation.