HTML to PDF β€” Render URL or HTML to PDF avatar

HTML to PDF β€” Render URL or HTML to PDF

Pricing

from $0.005 / pdf generated

Go to Apify Store
HTML to PDF β€” Render URL or HTML to PDF

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

hiper soft

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

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.

HTML to PDF input β€” configure the options in the Apify Console

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" }
FieldTypeDescription
urlstringPage to render (or use html).
htmlstringRaw HTML to render.
formatstringA4, Letter, Legal…
landscapebooleanLandscape orientation.
printBackgroundbooleanInclude backgrounds.
scalestringRender scale (0.1–2).
marginTop/Bottom/Left/RightstringPage margins (e.g. 10mm).
headerHtml / footerHtmlstringOptional header/footer templates.

Output

HTML to PDF output β€” the results as a clean dataset

{ "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

FieldTypeDescription
sourcestringThe URL or html.
formatstringPage format used.
bytesintegerPDF size.
resultUrlstring (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.