HTML to PDF Converter API: URL & HTML to PDF
Pricing
from $3.00 / 1,000 pdf createds
HTML to PDF Converter API: URL & HTML to PDF
$0.003 per PDF, failures free. Convert web pages or raw HTML to print-quality PDF: A4/Letter, margins, backgrounds, page numbers. Bulk URLs.
Pricing
from $3.00 / 1,000 pdf createds
Rating
0.0
(0)
Developer
Tidyfold Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 days ago
Last modified
Categories
Features
Share
HTML to PDF Converter turns any web page URL or raw HTML into a PDF using headless Chromium, so CSS, images and fonts render as they do in a browser. Convert one page or hundreds in bulk, choose the paper size and margins, and get a download link for each PDF. $0.003 per PDF, failures free.
How to use it
- Add page URLs to URLs, or paste your own HTML into Raw HTML.
- Choose paper size, orientation, margins and whether to print backgrounds.
- Click Start and download each PDF from its link in the dataset.
Features
- Bulk URLs or a raw HTML string (great for invoices and reports rendered from templates)
- Paper sizes A4, Letter, Legal, A3, A5; portrait or landscape; custom margins
- Print or screen CSS, background colors and images, optional page-number footer
- Smart waiting for slow, JavaScript-heavy pages (network idle, load, or extra delay)
- Blocked or missing pages are reported with a clear error and not charged
Use cases
Archiving web pages, saving receipts and order confirmations, generating invoices or reports from HTML templates, compliance and evidence snapshots, turning docs pages into offline PDFs.
Input example
{"urls": ["https://example.com"]}
Output example
{"source": "https://example.com","status": "ok","title": "Example Domain","pages": 1,"bytes": 24117,"pdfUrl": "https://api.apify.com/v2/key-value-stores/<storeId>/records/example-com.pdf"}
How much does it cost to convert 1,000 web pages to PDF?
Pay per event: you pay only for results.
$0.003 per PDF created ($3 per 1,000 PDFs). Pages that fail, time out, or return HTTP 400+ are never charged.
Example: 1,000 PDFs cost $3.00; 100 PDFs cost $0.30.
Apify also charges its standard run-start fee of $0.00005 per GB of run memory (a fraction of a cent per run). The exact prices are always on the Pricing tab, and you can cap any run with Maximum cost per run.
FAQ
Do I pay for pages that fail? No. Pages that fail, time out, or return HTTP 400+ are reported with an error and never charged.
Can I convert my own HTML, like invoices or reports? Yes. Paste raw HTML instead of URLs and get a PDF back.
Can I add page numbers? Yes, there is an optional page-number footer.
More Tidyfold tools
| Tool | Use it for |
|---|---|
| Website Screenshot API: Bulk, Full-Page & Mobile | website screenshot API |
| PDF Table Extractor: PDF to Excel, CSV & JSON | PDF to Excel |
| Invoice & Receipt Parser: PDF to JSON (No AI Key) | invoice parser |
| PDF OCR: Scanned PDF to Text Extractor | PDF OCR |
| NPI Registry Scraper: US Healthcare Provider Leads | NPI registry scraper |
| Contractor License Scraper: Texas, Colorado & Washington | contractor license lookup |
| New Business Leads: Newly Registered LLCs (CO, NY, OR) | new business leads |
| Contact Details Scraper: Emails, Phones & Tech Stack | contact details scraper |
| Bulk WHOIS Lookup: Domain Expiry & Availability (RDAP) | bulk WHOIS lookup |
| Sitemap Extractor: Get All URLs from Any Website | sitemap extractor |
Use it from code or no-code tools
Every run can be started from the Apify API, the Apify Python/JS clients, or connected to n8n, Make, Zapier and Google Sheets through Apify integrations. Results download as JSON, CSV, Excel or XML.
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("tidyfold/web-to-pdf").call(run_input={'urls': ['https://example.com']})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Support
Found a bug or need a field added? Open an issue on the Issues tab. Tidyfold maintains these tools daily and usually replies within 1 business day.