HTML to PDF: Convert Web Pages & HTML to PDF Files
Pricing
from $4.00 / 1,000 pdf createds
HTML to PDF: Convert Web Pages & HTML to PDF Files
Turn web page URLs or your own HTML into PDF files with a real browser. Choose paper size, orientation, margins and background printing. Get a download link for each PDF. No API key needed. Pay only for PDFs that were created.
Pricing
from $4.00 / 1,000 pdf createds
Rating
0.0
(0)
Developer
KOTARO project
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
🖨️ HTML to PDF — turn web pages and HTML into PDF files
Give it web page links or your own HTML. Get back a PDF for each one, made with a real browser, with a download link. No API key, no setup.
What it does
- 🌐 Convert any public web page by URL
- 📝 Convert your own HTML: invoices, reports, tickets
- 📐 Choose paper size (A4, A3, A5, Letter, Legal), orientation and margin
- 🎨 Keep backgrounds and colours, or turn them off
- 💸 Pay only for PDFs created: failed links are free
Input
| Field | What it is |
|---|---|
urls | Web page links (http or https) |
html | Your own HTML, converted into one PDF |
format | A4, A3, A5, Letter or Legal (default A4) |
landscape | Print sideways (default off) |
printBackground | Include backgrounds (default on) |
margin | Margin on all sides, like 10mm or 0.5in |
Output
One row per item, and the PDF in the run's key-value store:
{"source": "https://example.com/","ok": true,"bytes": 18234,"key": "pdf-0001","pdfUrl": "https://api.apify.com/v2/key-value-stores/.../records/pdf-0001"}
If an item cannot be converted, the row has ok: false and an error that says why.
Good to know
- The page is printed as it loads. Pages behind a login, or pages that block automated browsers, may not convert: this Actor does not log in or solve CAPTCHAs.
- Private and internal addresses are refused, including links inside your HTML.
- Limits: 100 links per run, about 5 minutes per run. Items not reached are listed so you can run them again.
- Only convert pages you have the right to use.