How Ironhide compares to every major HTML-to-PDF stack.
One complete comparison chart across Puppeteer / Headless Chrome, archived wkhtmltopdf, WeasyPrint, and PrinceXML / DocRaptor—covering container footprint, measured memory, modern CSS, security isolation, and 3-year cost.
1. Architecture, Fidelity & Operations
| Dimension | Ironhide HTML to PDF | Puppeteer / Chrome | wkhtmltopdf | WeasyPrint | PrinceXML / DocRaptor |
|---|---|---|---|---|---|
| Binary & Container Footprint | 15 MB CLI/shared lib (73 MB .a) • 5.6 MB Wasm (~2 MB gz) | ~350–500 MB Chromium + OS libs | Patched Qt + X11 / xvfb libs | Python + Pango / Cairo / GObject | Self-hosted binary (Prince) / HTTP API (DocRaptor) |
| Memory Under Load | 20–24 MB measured peak RSS* | 500 MB–1 GB+ per browser pool | Unbounded QtWebKit process | Python + Cairo heap per worker | Native process (Prince) / remote server |
| Cold Start & Latency | 88–154 ms cold CLI* | 500–2,000 ms cold spawn (warm pool faster) | Subprocess spawn per doc | Python interpreter + layout | Subprocess (Prince) / network RTT (DocRaptor) |
| Modern CSS & Paged Media | Grid, Flexbox, @page, SVG | Full Blink print engine | 2012 QtWebKit (No Grid/Flex) | Strong @page; partial Grid/modern CSS | Strong CSS Paged Media + proprietary extensions |
| JavaScript Execution | Off by default (opt-in bounded --js; not a live SPA browser) |
Full V8 browser DOM | Legacy QtWebKit JS | None | Supported (custom JS runtime) |
| Cross-OS Byte Determinism | Bit-identical SHA-256 everywhere | Drifts with OS fonts & Chrome | Host font & Qt drift | Host Pango/Cairo & font drift | Depends on host font stack |
| Untrusted HTML / SSRF Safety | Zero network/FS + hard budgets | Heavy container & flag hardening | Archived; unpatched CVEs & SSRF | Requires custom url_fetcher |
Prince CLI flags / PII sent to DocRaptor cloud |
| Runs in Browser & Edge Wasm | Yes — Browser Wasm & paid Edge Workers | No | No | No | No |
| Language Integration | 9 SDKs (8 native + Wasm) & standalone CLI | Node/Python/Go over DevTools IPC | CLI shelling only | Python only | CLI wrappers / REST API |
| PDF Standards | PDF 1.7 + --tagged + outlines (no PDF/A or CMYK yet) |
PDF 1.4/1.7 + tagged | Untagged PDF 1.4 | PDF 1.7, PDF/A, tagged | PDF 1.7, PDF/A, PDF/UA, CMYK |
*Measured with release html-to-pdf v1.0.0 across all 5 showcase templates (1–2 page Latin docs with 3 bundled DejaVu TTF fonts, cold CLI process spawn + PDF write on Linux x86_64 Ryzen 9 7950X, 7 samples): 88–154 ms median wall time and 20.2–23.4 MB peak RSS. Larger multi-hundred-page documents scale with page and asset size.
2. Licensing & 3-Year Cost Comparison
| Engine | Pricing & License Model | License + Typical Hosting Profile (3 Years) | Scaling & Embedding Caveats |
|---|---|---|---|
| Ironhide HTML to PDF | Free personal + 30-day eval • $499 once (all v1.x) | $499 license + minimal app-server RAM | Unlimited servers, Lambda workers, devs, PDFs; royalty-free embedding; zero telemetry |
| Puppeteer / Headless Chrome | Open source (Apache-2.0 / BSD) | $0 license + dedicated browser-pool RAM & ops | Large container images, browser pool RAM spikes, zombie process cleanup & version drift |
| wkhtmltopdf | LGPL (archived in 2023) | $0 license + security & migration liability | Unpatched QtWebKit CVEs; breaks on modern CSS Flexbox/Grid |
| WeasyPrint | BSD-3-Clause (open source) | $0 license + OS/container maintenance | Python-only; native GTK/Pango/Cairo/Fontconfig packaging friction on Alpine, Windows & Lambda |
| PrinceXML | ~$3,800+ per server / OEM quote | $3,800–$15,000+ license + hosting | Per-server licensing clashes with autoscaling/Lambda; separate OEM contract for embedding |
| DocRaptor (Hosted API) | Monthly subscription + per-doc metering | $5,400–$36,000+ metered API spend | Volume overages, API latency, sensitive customer HTML/PII leaves your VPC |
3. Honest Trade-Offs — When to Switch (and When to Stay)
Keep Chrome for heavy JS/SPA charts & web scraping
If your pipeline renders static HTML/CSS templates (invoices, reports, labels, receipts), you don't need a 450 MB browser fleet. Keep Puppeteer/Playwright when you depend on full V8 DOM execution (e.g., Chart.js/D3 client apps or scraping live third-party pages).
Modernize without 5× container bloat
Teams stuck on archived wkhtmltopdf dread migrating to headless Chrome because Docker images balloon from 80 MB to 600 MB. Ironhide gives you CSS Grid, Flexbox, and native @page headers in a 15 MB binary with zero X11/Qt dependencies.
Zero Pango/Cairo ops & multi-language reach
WeasyPrint is a great choice for strictly Python projects on Debian where OSI open source or PDF/A is required. Pick Ironhide to eliminate GTK/Pango/Cairo/Fontconfig packaging pain, get modern CSS Grid/Flexbox print fidelity, or share one engine across Python, Go, Node, .NET, Java, Rust, C++, and Wasm.
Flat company-wide pricing for elastic fleets
Stay on PrinceXML if you need PDF/A, CMYK press output, or proprietary -prince-* book extensions. Switch to Ironhide to eliminate $3,800/server contracts or monthly per-PDF API bills while keeping customer PII strictly inside your own process.