Skip to content

§ Best HTML to PDF API

Best HTML to PDF API in 2026: 7 Tools Compared on Price, Engine and Records

We priced and read the documentation of every serious HTML to PDF API on the market, including our own, and wrote down where each one actually wins. Two of them beat us at specific jobs. Those jobs are named below.

Try the free converter
  • Early access, launching soon
  • No card required
  • Your HTML stays yours

§ Short answer

There is no single best HTML to PDF API, there is a best one per job. For print grade typography and complex pagination, DocRaptor wins because it renders with PrinceXML rather than a browser. For the cheapest possible floor, Api2Pdf charges usage from $1 a month. For simple Chromium rendering with a real free tier, PDFShift starts free at 50 conversions a month. For a rendered PDF that also leaves you a timestamped record of the page, Sitepdf and Urlbox are the two options, and they differ in that Urlbox is screenshot first with archiving sold as a separate product, while Sitepdf returns the PDF and the archive from one call on one plan.

Last updated July 2026. Written and fact checked by the Sitepdf team.

§ 00

Every HTML to PDF API, priced from its own pricing page

All figures below were read from each vendor's official pricing or documentation pages on 14 July 2026. Where a vendor does not publish a number, this table says so rather than guessing. Prices change: check the source before you buy.

Tool Entry paid plan Included volume Free tier Rendering engine Timestamped page archive?
DocRaptor $15/mo 125 documents/mo 5 documents/mo PrinceXML No. It offers document hosting at 1 cent per doc per month, which is storage, not a dated snapshot of the source page.
PDFShift $24/mo 2,500 credits/mo 50 credits/mo, no card Chromium No. Its policy states it does not store requests or generated documents.
Urlbox $19/mo API, CaptureDeck from $29/mo 2,000 renders/mo on the entry API plan 7 day trial, no card Not publicly named Yes. Historical captures, scheduled recurring snapshots, certified timestamps and 1 year retention on CaptureDeck.
Api2Pdf $1/mo plus usage None bundled: billed per MB and per compute second One month of free credit Headless Chrome or wkhtmltopdf No. Output links hold the file for 24 hours.
Adobe PDF Services API No public price, contact sales Not published 500 document transactions/mo Not stated No
PDFCrowd $1/mo annual only, $11/mo billed monthly 10 credits (annual tier), 200 credits at $11 100 trial credits, one month Not stated No. Output is deleted within 30 minutes.
Browserless $25/mo 20,000 units/mo, 1 unit is up to 30s of browser time 1,000 units/mo, no card Chrome, Firefox, WebKit No. It retains session logs, not page snapshots.
Sitepdf $29/mo planned See pricing page, early access locks the rate Free in-browser converter, no card to join Managed Chromium Yes. archive=true on any render, same call, same plan.

A note on credits: PDFCrowd bills by output size (one credit is 0.5MB), and Browserless bills by browser time, so neither "credits" nor "units" translate to a document count. Compare on your own document sizes, not on the headline number, and see how to normalize every billing model into a cost per thousand documents before you sign. Sitepdf pricing is planned, not shipped, and is labelled as such everywhere on this site. A note on scope: this table covers APIs that render HTML or a URL you supply. Template services such as PDFMonkey, APITemplate.io and CraftMyPDF are a different category, since you store the template with the vendor and send data to fill it, so they are compared on their own pages rather than priced here against renderers.

§ 01

Which HTML to PDF API is best for print grade documents?

DocRaptor, and it is not close. It renders with PrinceXML rather than a browser engine, and Prince implements the CSS Paged Media specification properly: running headers and footers that repeat with the correct content, real widow and orphan control, cross references, page counters, and named page rules. If you are producing books, legal filings, technical manuals or anything where a typesetter would have opinions, a Chromium based renderer will fight you and Prince will not.

Chromium, and therefore Sitepdf, PDFShift and every headless browser tool, implements a narrower slice of paged media. We handle margins, page size, orientation and header and footer templates, and that covers invoices, statements and reports comfortably. It does not cover a 400 page manual with running chapter titles. Buy DocRaptor for that. We would.

§ 02

Which one is cheapest?

Api2Pdf, on paper: a $1 a month base charge and then usage billed per megabyte of bandwidth and per compute second. There is no bundled volume, which is the catch. Your bill is a function of how heavy your pages are and how long they take to render, so it is genuinely cheap for light, fast pages and unpredictable for anything else. Files also expire from the output link after 24 hours, so if you need the document later, you store it yourself.

If you want cheap and predictable, PDFCrowd's ladder is the widest in the market, but read the credit definition carefully: one credit is 0.5MB of output, so a 1.2MB PDF costs three credits, not one. A plan advertised as 1,000 credits is not a plan for 1,000 documents unless your documents are small.

And if what you actually want is free, be honest with yourself about production. PDFShift's 50 conversions a month and Adobe's 500 document transactions a month are the two real free tiers here, and both are evaluation sized. Every render costs someone real browser compute; nobody gives that away at volume.

One caveat on that Adobe number: it belongs to a different kind of product. Adobe Document Generation merges a Word template with JSON rather than rendering HTML, so it is not a drop-in swap for anything else in this table. The document generation API page compares that whole camp, including Foxit, Docmosis, Carbone and Conga, against the HTML renderers here.

§ 03

Which HTML to PDF API keeps a record of what it rendered?

Only two: Urlbox and Sitepdf. This is worth stating plainly because it is the axis most buyers do not think about until an auditor makes them.

Everyone else hands you a file and forgets the page. DocRaptor will host the finished document for a cent per document per month, but that is a copy of your PDF in storage, not a dated snapshot of the source page with a capture time attached. PDFShift and PDFCrowd deliberately store nothing, which is a genuine privacy strength and a genuine gap if you need provenance; we unpack that tradeoff in the PDFShift comparison. Api2Pdf drops the file after 24 hours.

Urlbox is the real competitor on this axis and we will not pretend otherwise: it does historical captures, scheduled recurring snapshots, certified timestamps and a year of retention. The differences that matter are shape and price. Urlbox is a screenshot and render platform where the archive lives in CaptureDeck, a separate product on its own plan, and its rendering engine is not publicly named. Sitepdf is PDF first: the document and the timestamped archive come back from the same /v1/render call, on one plan, with managed Chromium named and documented. If your job is "capture pages for the record", look hard at both, starting with our line by line Urlbox comparison. If your job is "generate the document my customer needs, and keep the record my auditor will want", that is the call we built.

§ 04

How to actually choose, in four questions

Does a typesetter care about your output? If yes, DocRaptor. Print typography is a different problem from web rendering and Prince solves it.

Do you need the page as a dated record? If yes, it is Urlbox or Sitepdf, and nothing else on this list. Compare them on whether you want archiving as a second product or as a flag on the render you were already doing.

Are you already running headless Chrome? Then your real comparison is not between vendors at all, it is between a vendor and your own fleet. We ran that math in the Puppeteer alternative breakdown and it does not always favor us.

Will this go through a security review? Then the comparison shifts to data handling, because a renderer sees every document you send it. Ask each vendor what they store, for how long, whether renders are isolated, and whether a DPA exists, before you integrate rather than after. The security questions worth asking covers the eight that decide most reviews, plus why running the renderer inside your own network carries a server-side request forgery risk that buying removes.

Is this a one off? Then use the free in-browser converter on this site, pay nobody, and get on with your day.

What the Sitepdf call looks like, for comparison against the vendors above.
curl https://api.sitepdf.com/v1/render \
  -H "Authorization: Bearer $SITEPDF_KEY" \
  -d url="https://example.com/invoice/8412" \
  -d format=A4 \
  -d wait_for=".total" \
  -d archive=true

# one request returns both:
#   pdf_url    the document your customer gets
#   archive    the timestamped snapshot your auditor gets

The API is in early access; this is the documented call shape it opens with. Full request and response walkthrough.

§ 05

Questions about this job

What is the best HTML to PDF API?
It depends on the job. DocRaptor is best for print grade typography because it uses PrinceXML. Api2Pdf is cheapest at low volume. PDFShift has the most usable free tier. Urlbox and Sitepdf are the only two that keep a timestamped archive of the page they rendered. Pick on the axis that matters to you, not on a leaderboard.
Is there a free HTML to PDF API?
There are real free tiers, but they are evaluation sized. PDFShift gives 50 conversions a month with no card, and Adobe gives 500 document transactions a month. Beyond that, every render costs the vendor browser compute, so production use is paid everywhere. Treat any promise of unlimited free API rendering with suspicion.
What is the difference between an HTML to PDF API and a library like Puppeteer?
The library is free software you host: you run the browser fleet, patch it, and own its memory leaks. The API is a service: someone else runs the fleet and you send one HTTP request. Output quality is comparable because most APIs use the same Chromium engine. The real difference is who carries the operational cost.
Which HTML to PDF API is cheapest?
Api2Pdf has the lowest floor at $1 a month plus usage, though with no bundled volume your bill scales with page weight and render time. PDFCrowd offers the widest cheap ladder, but its credits are billed by output size at 0.5MB per credit, so credits do not equal documents.
Do any PDF APIs store the pages they convert?
Most explicitly do not, and treat that as a privacy feature. PDFShift states it does not store requests or generated documents, and PDFCrowd deletes output within 30 minutes. Urlbox and Sitepdf are the exceptions: both deliberately keep timestamped captures for teams that need provenance rather than privacy.
Why does this comparison include the vendor who wrote it?
Because leaving ourselves out would be dishonest and you would notice. We have named the two jobs where competitors beat us: print typography, where DocRaptor wins on PrinceXML, and dedicated page archiving at scale, where Urlbox is a serious product. Every figure here comes from the vendor's own pricing page and is dated.

§ Early access

Get on the early-access list

The API opens to the list first, in order. Early access locks the planned launch rates for 12 months. No card required, launching soon.

Render + archive, one API