Best URL to PDF APIs in 2026

We compared every major way to convert URLs and HTML to PDFs — from dedicated APIs to self-hosted Puppeteer to legacy wkhtmltopdf.

Last updated: April 2026

Quick Comparison

Side-by-side capabilities at a glance.

ProviderFreePricingHTMLConfigBatchMCP
RendexPick100/month$69/mo for 10K conversions
PDFShift50/month$9/mo for 500 conversions
Puppeteer (Self-Hosted)Unlimited (self-hosted)Free + infra costs
ScreenshotOne100/month$79/mo for 10K calls
wkhtmltopdfUnlimited (self-hosted)Free (open source)

Detailed Reviews

An honest look at each option.

1. Rendex

Recommended

Rendering API that converts URLs and HTML to PDF on Cloudflare's edge. Full page configuration, batch support, and MCP server.

Strengths

  • URL and HTML input — identical PDF output
  • Full page config: size, margins, orientation, headers/footers
  • Batch PDF generation — up to 500 URLs per request
  • MCP server for AI agent PDF workflows
  • Edge-deployed, sub-3s generation, 100 free/month

Weaknesses

  • New entrant — less established track record

Best overall for URL-to-PDF. Full config, HTML input, batch, lowest pricing, and MCP support.

2. PDFShift

Dedicated HTML/URL to PDF API. Established player in PDF generation, focused specifically on high-quality PDF conversion.

Strengths

  • Purpose-built for PDF — deep expertise
  • Good page configuration
  • Custom headers/footers
  • Watermark support

Weaknesses

  • Only 500 at $9/mo vs Rendex 10K at $69/mo
  • No batch processing
  • No MCP or AI agent support
  • PDF only — no screenshot output

Solid PDF-focused service, but significantly fewer conversions per dollar. Good for low-volume PDF-only workflows.

3. Puppeteer (Self-Hosted)

Google's headless Chrome library. Use page.pdf() with full control over page configuration and rendering.

Strengths

  • Full Chromium — pixel-perfect PDFs
  • Complete control over page config
  • Free and open source
  • Custom headers/footers with HTML

Weaknesses

  • Requires Chromium (~400 MB)
  • High memory per instance
  • Cold starts in serverless
  • You manage scaling and crashes

Best for teams with infra who need complete control. Impractical at high volume.

4. ScreenshotOne

Screenshot API with PDF output as a format option. Primarily designed for URL screenshots.

Strengths

  • Full Chromium rendering
  • PDF alongside screenshot formats
  • Enterprise features — batch, webhooks, S3
  • 7 language SDKs

Weaknesses

  • 4x more expensive than Rendex
  • PDF is secondary, not primary
  • No edge deployment
  • Only 100 free/month

Capable of PDF generation but at premium pricing. Better value with Rendex.

5. wkhtmltopdf

Open-source CLI converting HTML to PDF using an older WebKit engine. Widely used but unmaintained since 2020.

Strengths

  • Free and open source
  • Well-documented config options
  • Lightweight vs Chromium
  • Wide language bindings

Weaknesses

  • Unmaintained since 2020
  • Old WebKit — no Flexbox, no Grid
  • Poor JavaScript support
  • Security vulnerabilities
  • Rendering quality below Chromium

Legacy tool — do not choose for new projects. Modern CSS doesn't render. Migrate to Chromium-based.

Related Use Cases

URL to PDF
Convert any webpage to PDF
Invoice Rendering
Generate PDF invoices from HTML

Frequently Asked Questions

What is the best API for converting URLs to PDFs?

Rendex. Full page configuration (A4, Letter, custom, margins, headers/footers), HTML input, batch, $6.90/1K, 100 free/month.

Should I use wkhtmltopdf for new projects?

No. Unmaintained since 2020, old WebKit with no Flexbox/Grid. Use Rendex or Puppeteer.

Can I generate PDFs from HTML without a URL?

Yes. Rendex, PDFShift, and Puppeteer accept raw HTML. Pass a template, get a PDF — no hosted page needed.

Ready to generate PDFs?

100 free conversions/month. No credit card required.