Pay-per-use · No subscriptions

The Api2Pdf alternative that drops the credit maths

One engine (Chromium). Flat per-page pricing. Dashboard ledger instead of credit packs.

Api2Pdf sells credit bundles that get consumed at different rates by different engines (Chromium vs. LibreOffice vs. wkhtmltopdf). HTML2DocHub does one thing — HTML to PDF on real Chromium — for a flat ₹0.08 per rendered page. No credits, no minimum monthly spend, no engine-selection cliff.

Why developers choose HTML2DocHub

Flat ₹0.08/page pricing — no credits, no tiered engine costs
Real Chromium — the same engine your users already use
Wallet ledger in the dashboard — every credit and debit visible
Async mode with webhook callback for long-running renders
Failed renders are free — you never pay for an error
REST API that looks close enough to Api2Pdf's that migration is mechanical
Signed S3 URLs — hand the link directly to end users
Idempotency keys so retried queue jobs don't double-bill

Code Examples

Before — Api2Pdf (Chrome HTML endpoint)curl
curl -X POST https://v2.api2pdf.com/chrome/html \
  -H "Authorization: YOUR_API2PDF_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>Hello</h1>",
    "inlinePdf": true,
    "fileName": "out.pdf",
    "options": { "marginTop": "1in" }
  }'
After — HTML2DocHubcurl
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>Hello</h1>",
    "options": { "format": "A4", "margin_top": "25mm" }
  }'
# Response: { "download_url": "https://...", "output_pages": 1, "final_cost": 0.10, ... }
Node — swap the clientjavascript
// --- Before: api2pdf-node-client
const Api2Pdf = require("api2pdf");
const a2p = new Api2Pdf("YOUR_API2PDF_KEY");
const result = await a2p.chromeHtmlToPdf({ html, inlinePdf: true });
const pdfUrl = result.FileUrl;

// --- After: plain fetch (no SDK needed)
const res = await fetch("https://api.html2dochub.com/v1/render", {
  method: "POST",
  headers: {
    "X-API-Key": process.env.HTML2DOCHUB_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    type: "pdf",
    html,
    options: { format: "A4" },
  }),
});
const { download_url } = await res.json();

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

Why does HTML2DocHub only support Chromium?+
Because 95%+ of HTML-to-PDF use cases (invoices, receipts, reports, statements, certificates) are best served by a Chromium-quality renderer. Supporting three engines like Api2Pdf means you pay for complexity you don't use, and picking between them becomes a config maintenance burden. We picked the one that handles modern web CSS correctly and charge a flat rate.
What about Office document conversion (docx, xlsx)?+
We don't convert Office formats. If you need LibreOffice-based conversion, Api2Pdf or CloudConvert are better fits. HTML2DocHub is focused on HTML/URL to PDF and HTML to image.
How does the pricing compare?+
Api2Pdf sells credit packs (e.g., $9/month for 500 credits, where a Chrome HTML PDF = 1 credit). HTML2DocHub charges ₹0.08 per rendered page (~$0.001 at current rates). For a 2-page PDF, Api2Pdf charges 1 credit ≈ $0.018; HTML2DocHub charges ~$0.002 — roughly 9x cheaper per document.
Can I test it before committing?+
Every new account gets a starter credit — enough for around 100 pages. No card on file required.
Is there a rate limit?+
Yes, per API key — default 60 req/min, configurable. Create a dedicated key for high-throughput batch jobs and we'll bump the limit.

Start rendering PDFs today

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

Get your free API key