PDFPipe

Comparison · 2026

Best HTML to PDF API

A practical comparison of the top managed HTML-to-PDF APIs and open-source alternatives for developer teams in 2026.

Quick comparison

FeaturePDFPipePDFShiftDocRaptorapi2pdfGotenberg
Free tier500/mo50 creditsTest onlyNoneFree (self-host)
Min paid price$19/mo$29/mo$15/moPay-as-you-goInfra only
Render engineReal browserChromiumPrinceXMLChrome or wkhtmlChrome / LO
Flat pricingYesNo (credits)YesNo (per-doc)N/A
Batch endpointYesNoNoNoYes (async)
Store PDFsYesNoNoNoNo
Self-hostNoNoNoNoYes

Detailed breakdown

PDFPipe (this site)

One POST, raw PDF back. No SDK, no queue, no credits.

Free: 500/month

Paid: From $19/mo

Render engine

Real browser

Typical latency

< 3 s

Pros

  • + Highest free tier (500/month)
  • + Full CSS, web fonts, Flexbox, Grid
  • + Store PDFs with stable URLs
  • + Flat pricing, no credit system
  • + Batch endpoint with webhook

Cons

  • - Newer product, smaller ecosystem
  • - No self-hosting option

Bottom line: Best for SaaS teams that want a managed API with a generous free tier and the simplest possible integration.

PDFShift

Simple API, good documentation, credit-based pricing.

Free: 50 credits/month

Paid: From $29/mo (250 credits)

Render engine

Chromium

Typical latency

2–5 s

Pros

  • + Broad SDK coverage
  • + Reliable uptime
  • + Good documentation

Cons

  • - Credit-based pricing creates uncertainty
  • - Very low free tier (50/month)
  • - No batch endpoint

Bottom line: Good choice if you need wide language SDK coverage, but the credit system and low free tier are friction for early-stage teams.

DocRaptor

Enterprise PDF API built on PrinceXML, CSS Paged Media.

Free: Trial renders only (test mode watermark)

Paid: From $15/mo (125 docs)

Render engine

PrinceXML

Typical latency

3–8 s

Pros

  • + PrinceXML for precise print layout
  • + Strong CSS Paged Media support
  • + Accessible (WCAG) PDFs

Cons

  • - Expensive per document at scale
  • - Test mode adds watermarks
  • - PrinceXML syntax differs from browser CSS

Bottom line: Best for regulated industries requiring accessible PDFs (government, legal, publishing). Too expensive for high-volume SaaS.

api2pdf

Aggregator: wraps Chrome, wkhtmltopdf, LibreOffice in one API.

Free: None

Paid: From $0.001/doc (pay-as-you-go)

Render engine

Chrome, wkhtmltopdf, LibreOffice (selectable)

Typical latency

2–6 s

Pros

  • + Pay-per-use, no monthly minimum
  • + Multiple render engine options
  • + Broad language support

Cons

  • - No free tier
  • - Pay-per-use unpredictable for volume
  • - Quality depends on chosen engine

Bottom line: Good for occasional, low-volume use cases or when you need word/spreadsheet-to-PDF. Not ideal for SaaS with predictable volume.

Gotenberg

Open-source Docker container: Chromium + LibreOffice via REST.

Free: Free (self-hosted)

Paid: Infrastructure cost only

Render engine

Chromium, LibreOffice

Typical latency

Depends on your infra

Pros

  • + No per-document cost
  • + Full control over the stack
  • + LibreOffice conversion included

Cons

  • - You maintain it (security patches, scaling, uptime)
  • - Cold-start latency in serverless
  • - No managed SLA

Bottom line: Best when you have ops bandwidth and want zero marginal cost. Every outage, security patch, and scaling event is yours to handle.

How to choose

Your situationBest choiceWhy
You're a SaaS team that wants managed infrastructurePDFPipe or PDFShiftNo ops overhead. PDFPipe has 10x more free documents.
You need accessible PDFs (WCAG, PDF/UA)DocRaptorPrinceXML is the only render engine that produces WCAG-compliant output natively.
You render fewer than 100 documents a monthapi2pdfPay-per-use at $0.001/doc is cheapest at very low volume. No monthly minimum.
You have ops bandwidth and want zero marginal costGotenbergSelf-hosted on your own Kubernetes or Docker stack. Free per document.
You need to convert Word or Excel files, not just HTMLGotenberg or api2pdfBoth include LibreOffice for office-format conversion.
You want the most generous free tier for developmentPDFPipe500 documents a month free, no credit card, no time limit.

Try PDFPipe free

500 documents a month, no credit card. API key issued the moment you sign up.

More comparisons

All comparisons →

Related guide

PDF in Node.js →

Related guide

PDF in Python →