iLovePDF API pricing
iLovePDF API Pricing: iLoveAPI Cost per HTML to PDF File, Credits and Plans
The iLovePDF API, sold as iLoveAPI, charges in credits, and every tool burns a different number of them. HTML to PDF costs 10 credits a file, so the $38 plan with 10,000 credits a month buys 1,000 PDFs, not 10,000. We read the whole rate card on 26 September 2026, including the yearly and prepaid prices behind the billing toggle, and priced it per PDF at seven volumes. For low volume or a mixed PDF toolbox it is a sensible buy. For HTML documents at volume, the per file maths is the number to check first.
- PDF and archive in one call
- Plans from $29 a month
- Your HTML stays yours
Live demo
Runs in your browser. Nothing is uploaded. One PDF free to try, then a plan.
Your HTML
Live preview
Your PDF is downloading. That was the free one. The Starter plan converts as many as you need, for $29 a month or $174 a year.
See the planShort answer
iLovePDF API pricing is credit based: 2,500 free credits a month, then subscriptions of $38, $98, $185, $329, $618 and $1,009 a month for 10,000 to 500,000 credits, about 20 percent less on yearly billing, or prepaid packs from $52 for 10,000 credits that never expire. HTML to PDF costs 10 credits per file, so a PDF costs $0.038 on the $38 plan and $0.020 on the $1,009 plan. The free tier covers 250 HTML to PDF files a month.
10,000 HTML PDFs a month cost $329 on iLoveAPI and $29 on SitePDF, where the Starter API tier covers 10,000 renders for $29 a month, or $174 billed yearly and each render returns a hosted PDF plus an optional dated archive copy. iLoveAPI earns its price when you also compress, merge, OCR or sign from the same credit pool. The table below shows the gap at each volume, and when it narrows.
Written and fact checked by the SitePDF team.
iLovePDF API cost per month at each HTML to PDF volume, next to SitePDF
iLoveAPI figures read from iloveapi.com/pricing on 26 September 2026: the monthly and yearly subscription ladder, the prepaid packs and the credit cost of each tool. The page shows US visitors prices in dollars. We picked the smallest plan that covers each volume at 10 credits per HTML to PDF file. The fourth column adds page numbers as a second task (another 10 credits a file), which is how you get them on iLoveAPI. SitePDF columns are the Starter API, Growth and Scale tiers from our pricing page; headers, footers and page numbers are part of the same render.
| HTML PDFs a month | iLoveAPI, monthly plan | iLoveAPI, yearly plan (per month) | iLoveAPI prepaid (one off) | iLoveAPI monthly, with page numbers | SitePDF, billed yearly (per month) | SitePDF, monthly |
|---|---|---|---|---|---|---|
| 250 | $0 (2,500 free credits) | $0 | $0 | $38 (10,000 credits) | $14.50 (Starter API) | $29 |
| 1,000 | $38 (10,000 credits) | $30.08 | $52 | $98 (25,000) | $14.50 | $29 |
| 2,500 | $98 (25,000 credits) | $78.58 | $124 | $185 (50,000) | $14.50 | $29 |
| 5,000 | $185 (50,000 credits) | $148.00 | $234 | $329 (100,000) | $14.50 | $29 |
| 10,000 | $329 (100,000 credits) | $263.58 | $440 | $618 (250,000) | $14.50 | $29 |
| 25,000 | $618 (250,000 credits) | $494.75 | $1,110 | $1,009 (500,000) | $49.50 (Growth) | $99 |
| 50,000 | $1,009 (500,000 credits) | $806.92 | $2,280 | $3,289 (500,000 plan + 500,000 prepaid) or a sales quote | $49.50 (Growth) | $99 |
Bold marks the cheaper option at each volume. iLoveAPI yearly prices are billed once a year: $361, $943, $1,776, $3,163, $5,937 and $9,683 for the 10,000 to 500,000 credit plans, shown here divided by 12. Subscription credits expire at the end of each month; prepaid credits do not, and the two can be combined, with subscription credits used first. Not counted in the iLoveAPI columns: storing the PDF. iLoveAPI deletes tasks and files within hours of processing, so your app downloads and keeps every file itself. SitePDF returns a hosted link and keeps an archive copy for 90 days, one year or three years depending on the tier.
How iLoveAPI credits work, and why HTML to PDF costs 10 of them
iLoveAPI sells one currency for every tool across its PDF, image and signature APIs. The pricing page lists what each tool costs: HTML to PDF 10 credits per file, Office to PDF 10 per file, compress 10 per file, merge 5 per task, split 5 per file, PDF OCR 5 per page, PDF to Markdown 5 per page, AI summarizer 30 per page, image compression 2 per file, HTML to image 2 per file and a digital signature 80 credits. Credits are spent three ways, as the FAQ puts it: "per file, page, and task."
That design is convenient if your app does many different things to PDFs, because one balance pays for all of it. It also means the headline number on a plan is not a document count. The $38 plan says 10,000 credits. For HTML to PDF that is 1,000 files, for merges it is 2,000 tasks, for OCR it is 2,000 pages, and for signatures it is 125 envelopes. The calculator on the pricing page does this conversion for you if you pick a tool, but most quick comparisons skip it, and it is the single largest source of wrong estimates for this API.
HTML to PDF is billed per file, not per page, so a 30 page report and a one page receipt cost the same 10 credits. That is a genuine advantage over per page meters for long documents, and it makes the bill predictable: count your documents, multiply by 10, and you have your credit need.
iLoveAPI plans, monthly, yearly and prepaid, as published
| Credits | Monthly subscription | Yearly subscription | Prepaid pack | HTML to PDF files | Cost per HTML PDF, monthly plan |
|---|---|---|---|---|---|
| 2,500 (free, every month) | $0 | $0 | None | 250 | $0 |
| 10,000 | $38 | $361 | $52 | 1,000 | $0.0380 |
| 25,000 | $98 | $943 | $124 | 2,500 | $0.0392 |
| 50,000 | $185 | $1,776 | $234 | 5,000 | $0.0370 |
| 100,000 | $329 | $3,163 | $440 | 10,000 | $0.0329 |
| 250,000 | $618 | $5,937 | $1,110 | 25,000 | $0.0247 |
| 500,000 | $1,009 | $9,683 | $2,280 | 50,000 | $0.0202 |
| More | Contact sales | Contact sales | Contact sales | More than 50,000 | Quote |
The ladder has one oddity worth noticing. Per credit, the 25,000 plan ($98) is slightly more expensive than the 10,000 plan ($38): $0.00392 against $0.00380. The discount only starts at 50,000 credits and becomes meaningful at 250,000. Yearly billing takes about 20 percent off, which the page advertises as "-20%". Prepaid packs cost roughly 25 to 125 percent more than the matching monthly plan but never expire, which suits a seasonal batch (year end statements, a one time migration of old records) better than a subscription whose credits vanish each month.
The free allowance is real and recurring: the API reference says a new developer account "comes with a free 250 files limit to process each month," and the pricing page states it as 2,500 free credits. For HTML to PDF those are the same thing. If your app renders fewer than 250 documents a month, iLoveAPI costs nothing, and nothing on our price list beats that.
What an HTML to PDF call on iLoveAPI can and cannot control
The job runs as a task in four requests: /start/htmlpdf/{region} to get a server and task id, /upload with the page address as cloud_file, /process, then /download. Requests are signed with a JWT built from your project key pair. The official PHP library exposes the render settings on its HtmlpdfTask class, and they tell you a lot about what the tool is built for:
- Viewport:
view_widthdefaults to 1920 pixels, with an optionalview_height. - Waiting:
navigation_timeoutdefaults to 10 seconds, anddelay, the time allowed for JavaScript to run, "must be between 0 and 5" seconds with a default of 2. - Paper:
page_sizeaccepts A3, A4, A5, A6, Letter or Auto;page_orientationportrait or landscape;page_marginin pixels, default 0. - Clean up:
remove_popupsstrips high z-index overlays such as cookie banners, andsingle_pageprints the whole page as one long sheet.
That is a tool designed to capture a web page as it looks in a browser, which is exactly what the consumer iLovePDF site does with it. It is thinner for generating business documents from your own templates. There is no header or footer template, so page numbers, a running company name or "Page 2 of 7" come from a second task (the Pagenumber tool, another 10 credits a file). There is no Legal paper size. There is no "wait until this element exists" option, only a fixed delay capped at five seconds, so a dashboard whose charts finish drawing at second six prints without them. And the official samples convert a URL, which means the page has to be reachable from iLoveAPI's servers; an invoice behind your login needs a signed public link or a file upload.
For comparison, a SitePDF render takes either a URL or a raw HTML string in the same call, accepts header_html and footer_html, A4, Letter or Legal, orientation and margins, a wait_for CSS selector, request headers and cookies for pages behind a login, and allows up to 60 seconds per render. The options are listed in the PDF generator API reference.
iLovePDF API cost per PDF once your pipeline has more than one step
Credits are charged per tool, so every step in a document pipeline is billed again. That is where the gap to a single render widens. Four common pipelines, priced at 10,000 documents a month on the monthly plans:
| Pipeline | Credits per document | Credits for 10,000 | iLoveAPI monthly plan | SitePDF |
|---|---|---|---|---|
| HTML to PDF only | 10 | 100,000 | $329 | $29 (Starter API) |
| HTML to PDF, then page numbers | 20 | 200,000 | $618 | $29, footer in the same render |
| HTML to PDF, page numbers, then compress | 30 | 300,000 | $1,009 (500,000 plan) | $29 plus your own compression step |
| HTML to PDF, then a digital signature on 10 percent | 10 + 8 average | 180,000 | $618 | $29 plus your e-signature provider |
We are not pretending SitePDF does everything in that last column. It renders, hosts and archives. If you need OCR, Office conversion, compression or signatures alongside rendering, iLoveAPI does them from one balance and one integration, and that convenience has real value. The honest reading is narrower: if the bulk of your credits go on HTML to PDF, you are paying a toolbox price for a single tool. For signatures specifically, our e-signature API pricing comparison prices the per envelope vendors on the same job.
Where iLoveAPI is the better buy
There are several cases where we would tell you to stay on iLoveAPI, or to pick it:
- Under 250 documents a month. The recurring free allowance covers them. Our lowest price is $14.50 a month on yearly billing.
- A mixed PDF workload. Merge, split, compress, OCR, PDF/A, Office to PDF, watermarking, image tools and signatures all draw on the same credits, with official libraries for PHP, .NET, Node.js, Python and Ruby.
- Data residency choices. The start call takes a region: US, EU, France, Germany, Poland, India or Singapore. Our renders run in one region.
- Batches that come and go. Prepaid credits never expire, so a once a year job does not need a subscription at all.
- Capturing public web pages as they look. The 1920 pixel viewport, popup removal and single page mode are designed for that.
If your job is turning your own templates, invoices, statements or reports into PDFs at a steady volume, the numbers point the other way, and the control you get over headers, footers and waiting matters more than the toolbox. Two other credit based vendors with the same shape, CloudConvert and PDF.co, are priced on one job in CloudConvert pricing compared, and the full field of HTML to PDF APIs sits in PDF API pricing compared.
How to check your own iLoveAPI bill in ten minutes
Pull last month's tasks from the API's task list endpoint, which filters by tool and status, or count them from your own logs. Group them by tool. Multiply each group by its credit cost from the table above (10 for HTML to PDF, 5 for merge tasks, 5 per page for OCR, and so on) and add them up. That total, not your document count, is what your plan has to cover. If it lands just above a rung, the next plan up is the price, because subscription credits do not roll over.
Then take the HTML to PDF share alone and read it against the SitePDF columns. If HTML to PDF is more than about half your credits and you render more than 2,500 documents a month, moving just that tool usually cuts the bill by 70 to 90 percent while the rest of your pipeline stays on iLoveAPI. Put a few of your real templates through the converter at the top of this page first and compare the output side by side, including a page with late loading charts. If you are weighing other rendering services on price, the best HTML to PDF API comparison sorts them by the job each one fits.
// iLoveAPI (official PHP library): 10 credits per file, +10 for page numbers
$task = new \Ilovepdf\HtmlpdfTask($publicKey, $secretKey); // start/htmlpdf
$task->addUrl('https://app.example.com/invoices/2291/print'); // must be reachable
$task->setPageSize('Letter')->setDelay(5); // JS wait: 0 to 5 s
$task->execute(); // process
$task->download('/var/app/storage/invoices'); // you keep the file
# SitePDF: 1 render, header and footer included
curl https://api.sitepdf.com/v1/render \
-H "Authorization: Bearer $SITEPDF_KEY" \
-d url="https://app.example.com/invoices/2291" \
-d format=Letter -d wait_for="#totals" \
-d footer_html="Page <span class=pageNumber></span> of <span class=totalPages></span>" \
-d archive=true
This is the documented API call shape. Full request and response walkthrough.
Questions about this job
How much does the iLovePDF API cost?
Is the iLovePDF API free?
How many credits does HTML to PDF use on iLoveAPI?
What is the difference between iLovePDF and iLoveAPI?
Do iLoveAPI credits roll over?
Is there a cheaper alternative to the iLovePDF API for HTML to PDF?
Index
More PDF and archiving tools
- Convert HTML to PDF
- Webpage to PDF
- Save webpage as PDF
- URL to PDF API
- Website archiving
- Monitor website changes
- Screenshot API
- React to PDF
- Java PDF library
- C# PDF library
- Python PDF generation
- HTML to PDF Node.js
- Laravel HTML to PDF
- Vue to PDF
- Next.js PDF generator
- Angular to PDF
- Markdown to PDF API
- Django HTML to PDF
- Blazor HTML to PDF
- Spring Boot HTML to PDF
- Airtable to PDF
- Rails HTML to PDF
- PDF generator API
- Website archiving software
- Document generation API
- Legal document automation software
- Document automation software
- Bulk HTML to PDF
- Accessible PDF generation
- ADA compliance audit cost
- 508 compliance testing
- PDF remediation
- VPAT and ACR
- PDF accessibility checker
- Wayback Machine alternative
- Best HTML to PDF API
- DocRaptor alternative
- Puppeteer alternative
- Wkhtmltopdf alternative
- PDFShift alternative
- Urlbox alternative
- PDFCrowd alternative
- Api2Pdf alternative
- Browserless alternative
- APITemplate alternative
- CraftMyPDF alternative
- PDFMonkey alternative
- dompdf alternative
- Gotenberg alternative
- GrabzIt alternative
- Adobe PDF Services API
- PDF SDK pricing
- HTML to image API pricing
- Browserless pricing
- PandaDoc API pricing
- CloudConvert API pricing
- Encodian pricing
- IronPDF pricing
- Salesforce document generation pricing
- SelectPdf, HiQPdf and EvoPdf pricing
- CloudConvert alternative
- CloudConvert pricing
- Direct mail API pricing
- E-signature API pricing
- Sparticuz Chromium Lambda cost
- Browserbase pricing
- Aspose PDF pricing
- PDF API pricing
- How it works
- Features
- Pricing
Get started
Render and archive with one API call
A pixel perfect PDF and a dated copy of the page from the same request. Plans from $29 a month.