Comparisons

Weblitz and Puppeteer

PuppeteerSharp drives Chrome itself, so its PDFs are Chrome's. Weblitz prints the same documents without a browser, up to 9× faster. measured 2026-11-25 The measurement

The numbers times measured 2026-11-25 scores measured 2026-11-19 sizes measured 2026-11-07

WeblitzPuppeteer
Best case: 200 one-page letters, one threadWeblitz up to 9× faster1.3 ms a letter12.2 ms a letter
On a 2-core Linux x64 server: 200 one-page letters, one threadWeblitz up to 7.5× faster, measured 2026-11-25 in two runs, each run's time3.2 and 3.2 ms a letter24.5 and 24.3 ms a letter
The 17 bench documentsone after another177 ms548 ms
Engine on a Linux server119 MB441 MB
Docker imageWeblitz on Microsoft's .NET 10 runtime; Puppeteer's own image (ghcr.io/puppeteer/puppeteer, Puppeteer 25.16.0)330 MB2.05 GB
Its PDFs beside Chrome'sthe same tool for both, the 17 documents99.9%Chrome itself

On an Apple M4 Pro laptop, .NET 10, both warm, Puppeteer in its open source mode (PuppeteerSharp 25.15.0, Chrome 156), Weblitz unlicensed. A time is the mean of two runs, the libraries in opposite orders; the best case is the measure, among those both printed in full, where Weblitz was furthest ahead, floored. Weblitz's score above is the same tool's as theirs; its own bench gives it 100% on the bench's box-by-box comparison with Chrome's own PDFs. Every measure: the run's data and the scores, page by page; how each was made: the measurements.

Where it runs, and what it costs read 2026-11-07

Runs on, as its vendor saysList price
WeblitzWindows, Linux and macOS (x64, ARM64), Alpine with gcompat; Azure App Service on Windows, checked page for pageIn the SSRS2 licence: USD 799 a year for the whole company, with SSRS2's report engine
Puppeteer with ChromeWindows, macOS, LinuxFree (MIT); you install and patch Chrome

What each vendor's own pages say, read 2026-11-07; list prices in US dollars, excluding tax.

What Puppeteer does better

  • It is Chrome: its PDFs are the reference every score on this site is measured against. source
  • It is free and open source (MIT). source
  • It drives a whole browser: clicking, typing, screenshots and tests, which a printing engine does not do. source

Moving from Puppeteer

One HTML page to PDF bytes, before and after. Weblitz's options carry Puppeteer's page.pdf() names; nothing to download, start or keep alive.

PuppeteerSharp
using PuppeteerSharp;
using PuppeteerSharp.Media;

await new BrowserFetcher().DownloadAsync();
await using var browser = await Puppeteer.LaunchAsync(new LaunchOptions { Headless = true });
await using var page = await browser.NewPageAsync();
await page.SetContentAsync(html);
var pdf = await page.PdfDataAsync(new PdfOptions
{
    Format = PaperFormat.A4,
    PrintBackground = true,
    MarginOptions = new MarginOptions { Top = "20mm", Bottom = "20mm" },
});
Weblitz
using WeblitzPdf;

var pdf = HtmlToPdf.Render(html, new HtmlPdfOptions
{
    Format = "A4",
    PrintBackground = true,
    Margin = new HtmlMargins(Top: "20mm", Bottom: "20mm"),
}).Pdf;
dotnet add package WeblitzPdf --prerelease