Chromium-based, modern CSS/JS support. wkhtmltopdf uses deprecated WebKit with known bugs.
Start free — 5 credits, no card →Fully managed. No servers to maintain, no security patches, no memory leaks.
Start free — 5 credits, no card →DOCX template engine with AI field detection. wkhtmltopdf is HTML-to-PDF only.
Start free — 5 credits, no card →Auto-scales with demand. wkhtmltopdf is single-server with limited throughput.
Start free — 5 credits, no card →Replace deprecated wkhtmltopdf with a modern Chromium-based HTML to PDF API. Full CSS3, JavaScript support, form filling, batch processing, and zero security vulnerabilities. One API call, no binaries to install, no Docker to maintain.
wkhtmltopdf has been a go-to HTML-to-PDF tool for over a decade. It's free, open source, and gets the job done for simple use cases. But it was deprecated in January 2023, and that matters for production systems.
wkhtmltopdf is free and open source under the LGPL license. It uses WebKit-based rendering, has a simple command-line interface, and works well for basic HTML-to-PDF conversion. If you have a stable, low-volume setup, it still does the job.
The GitHub repository was archived in January 2023. No new releases, security patches, or bug fixes are planned. It requires self-hosting and server management. Memory leaks and concurrency issues are common at scale. There's no API access, no MCP/AI agent support, no form filling, and no visual template editor.
Before we talk about alternatives, it's worth acknowledging what wkhtmltopdf does well. These are real advantages that matter for certain use cases.
wkhtmltopdf is licensed under LGPL. There are no per-document fees, no subscription costs, and no vendor lock-in. If you're cost-sensitive and can handle self-hosting, this matters.
For the HTML/CSS it supports, the rendering is solid. It handles basic layouts, tables, and images well enough for many document types.
One binary, one command, one output file. No API keys, no authentication, no rate limits. The simplicity is genuine.
If your HTML is simple and your volume is low, wkhtmltopdf works. It's been doing this for over a decade.
Self-hosted means no one else sets your rate limits. Generate as many PDFs as your hardware can handle.
wkhtmltopdf served its purpose well, but here's where it falls short for modern document automation.
The GitHub repository was archived in January 2023. No new releases, security patches, or bug fixes are planned. You're running software that will never improve.
wkhtmltopdf is a command-line tool. There's no Model Context Protocol server, no API integration for AI agents like Claude or GPT. You'd have to build all of that yourself.
wkhtmltopdf generates PDFs from HTML. It cannot detect or fill form fields in existing PDFs. DocuQueue handles this natively.
All templates must be hand-coded HTML/CSS. No visual editor, no drag-and-drop, no way for non-technical users to design templates.
You manage the server, the binary, Docker containers, memory allocation, and security patches. That's DevOps time and ongoing maintenance cost.
Verified memory leak of 20-60KB per call. Not thread-safe — concurrent requests can cause PDF cross-contamination. Processes hang indefinitely with no built-in timeout.
No REST API, no webhooks, no cloud deployment option. Everything runs locally on your infrastructure.
No batch processing, no async job queues, no URL-to-PDF with JavaScript rendering, no DOCX templates. The feature set has been frozen since 2012.
Here's how DocuQueue compares to wkhtmltopdf on the features that matter for modern document automation.
No servers to manage. wkhtmltopdf requires self-hosting with Docker or bare metal setup.
Built-in Model Context Protocol server. Connect Claude, GPT, or any AI agent. wkhtmltopdf has none.
Detect and fill PDF form fields with JSON data. wkhtmltopdf has no form filling support.
Send a URL, get a PDF. Full JavaScript rendering. wkhtmltopdf has limited URL support with frozen WebKit.
Design templates visually. wkhtmltopdf requires hand-coded HTML/CSS only.
REST API, no binaries, no Docker. wkhtmltopdf requires self-hosting and ongoing maintenance.
| Feature | wkhtmltopdf | DocuQueue |
|---|---|---|
| Cost | Free (self-hosted) | Free tier (25 credits/mo), $9/mo starter |
| Infrastructure | Self-hosted (Docker or bare metal) | Managed platform |
| MCP Server | None | Built-in |
| Form Filling | No support | Auto-detect & fill |
| URL-to-PDF | Limited (frozen WebKit) | Full Chromium rendering |
| Visual Editor | None | Template editor |
| Maintenance | Self-maintained (deprecated) | Managed (actively maintained) |
| Status | Deprecated (Jan 2023) | Active development |
Whether you use Python with pdfkit or Node.js with puppeteer, switching to DocuQueue is straightforward. Here's how to migrate your HTML to PDF code.
import pdfkit # Requires wkhtmltopdf binary on system html = "<h1>Invoice #1042</h1>" options = { 'page-size': 'A4', 'margin-top': '20mm', 'margin-bottom': '20mm', } pdfkit.from_string( html, 'invoice.pdf', options=options )
import requests html_content = "<h1>Invoice #1042</h1>" response = requests.post( "https://docuqueue.com/api/v1/convert-html", headers={"api-key": "YOUR_KEY"}, json={ "html": html_content, "format": "A4", "margin": { "top": "20mm", "bottom": "20mm" } } ) # Save PDF open("invoice.pdf", "wb").write(response.content)
const response = await fetch( "https://docuqueue.com/api/v1/convert-html", { method: "POST", headers: { "api-key": "YOUR_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ html: "<h1>Invoice #1042</h1>", format: "A4", margin: { top: "20mm", bottom: "20mm" }, }), } ); // Save PDF const buffer = await response.arrayBuffer(); fs.writeFileSync("invoice.pdf", Buffer.from(buffer));
Common questions about wkhtmltopdf and DocuQueue for HTML-to-PDF conversion.
A step-by-step guide to migrate your wkhtmltopdf integration to DocuQueue's modern HTML to PDF API.
Create a free account and get your API key from the dashboard.
Swap wkhtmltopdf calls for a single REST API POST request.
Verify formatting matches your requirements with modern CSS rendering.
Delete wkhtmltopdf and Docker from your server. Done.
Self-hosted Chromium PDF engine. DocuQueue gives you the same quality without Docker or infrastructure.
Headless Chrome library for PDF generation. DocuQueue wraps it in a managed API with templates and batch processing.
HTML-to-PDF API at $49/mo. DocuQueue offers more features including URL conversion, templates, and form filling at a lower price.
Fill PDF form fields programmatically. Auto-detect fields, fill with JSON data, and return completed PDFs.
5 free credits to start. No credit card required.
Get Started Free