Pay-per-use · No subscriptions

The DocRaptor Alternative for teams who hate tier maths

Same REST workflow. Chromium rendering. Pay per page, not per tier.

DocRaptor is a solid product, but its tiered subscription model (from $15/mo for 125 docs up to $600+/mo for enterprise) punishes teams with uneven traffic. HTML2DocHub gives you the same REST API shape on real Chromium, billed purely per rendered page — ₹0.08/page with no monthly minimum. Migrate in under an hour.

Why developers choose HTML2DocHub

Pay only for pages you actually render — no $15 floor, no tier over-buy
Chromium rendering handles modern CSS (flexbox, grid, custom properties) out of the box
REST API with the same request shape — migrate in under an hour
Async mode with webhook callback for reports over 50 pages
Signed download URLs — hand links directly to users without proxying
Per-job page count + exact charge shown in the dashboard — no credit accounting
Idempotency keys align with DocRaptor's retry semantics
Works from any language; zero binary dependencies on your server

Code Examples

Before — DocRaptorcurl
curl -X POST https://docraptor.com/docs \
  -u YOUR_DOCRAPTOR_KEY: \
  -H "Content-Type: application/json" \
  -d '{
    "test": false,
    "document_type": "pdf",
    "document_content": "<h1>Invoice</h1>",
    "prince_options": { "media": "print" }
  }' \
  -o out.pdf
After — HTML2DocHubcurl
# 1. POST returns JSON with a signed download_url
curl -X POST https://api.html2dochub.com/v1/render \
  -H "X-API-Key: sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "pdf",
    "html": "<h1>Invoice</h1>",
    "options": { "format": "A4" }
  }'

# 2. Fetch the PDF from the returned URL
curl -L -o out.pdf "$DOWNLOAD_URL"
Python migrationpython
# --- Before: DocRaptor
import docraptor

client = docraptor.DocApi()
client.api_client.configuration.username = DOCRAPTOR_KEY
resp = client.create_doc({
    "test": False,
    "document_type": "pdf",
    "document_content": html,
})
with open("out.pdf", "wb") as f:
    f.write(resp)

# --- After: HTML2DocHub (plain requests, no SDK needed)
import requests

resp = requests.post(
    "https://api.html2dochub.com/v1/render",
    headers={"X-API-Key": HTML2DOCHUB_KEY},
    json={"type": "pdf", "html": html, "options": {"format": "A4"}},
)
resp.raise_for_status()
pdf = requests.get(resp.json()["download_url"]).content
open("out.pdf", "wb").write(pdf)

Simple, transparent pricing

Pay only for pages rendered. No subscriptions. No minimum monthly fee.

1 page PDF:~₹0.10
10 page PDF:~₹0.80
100 pages/day:~₹8/day
See full pricing details

Frequently Asked Questions

How does the rendering quality compare to DocRaptor?+
DocRaptor uses PrinceXML, which has excellent print-CSS features (running headers, footnotes, cross-references). HTML2DocHub uses Chromium, which handles a broader slice of modern web CSS — flexbox gaps, grid, custom properties, and JS-rendered content. For most app-generated documents (invoices, receipts, reports, certificates) Chromium is the better fit. If you depend on Prince-specific features, stay with DocRaptor; otherwise, migrate.
Is there a test/sandbox mode like DocRaptor's `test: true`?+
Test renders aren't free, but charges are pro-rated per page and there's no minimum monthly spend. Your signup credit is enough to render several hundred test pages before you top up.
What happens if a render fails?+
Failed renders are free. You only pay for PDFs that come back with status=completed. DocRaptor has a similar policy but charges against a monthly quota anyway — here, no quota exists.
Will my DocRaptor option names carry over?+
Mostly — format, margin, landscape, print_background, and header/footer templates map 1:1. A few Prince-specific options (like prince_options.baseurl) don't exist because Chromium handles them differently. The docs have a full mapping.
How much will we actually save?+
Teams on DocRaptor's Medium plan ($39/mo, 400 docs) usually land around ₹300–600/mo here (≈$4–8) — a 5–10x reduction. Teams on enterprise tiers see larger savings. Run your expected volume through our pricing page for an exact number.

Start rendering PDFs today

Free account. No credit card required. API ready in minutes.

Get your free API key