Comparisons

Weblitz and iText pdfHTML

iText pdfHTML lays HTML out with its own engine, runs no JavaScript and scored 67.5% beside Chrome's PDFs. Weblitz prints as Chrome prints, scripts included, up to 26× faster. measured 2026-11-25 The measurement

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

WeblitziText pdfHTML
Best case: the bench's flexbox pageWeblitz up to 26× faster4.3 ms112 ms
On a 2-core Linux x64 server: the bench's flexbox pageWeblitz up to 16× faster, measured 2026-11-25 in two runs, each run's time11.3 and 12.4 ms205 and 204 ms
A one-page PDF200 letters, one after another1.4 ms9.7 ms
The 17 bench documentsone after another177 ms1.0 s
Engine on a Linux server119 MB18 MB
Its PDFs beside Chrome'sthe same tool for both, the 17 documents99.9%67.5%

On an Apple M4 Pro laptop, .NET 10, both warm, iText pdfHTML in its AGPL-3.0 mode (6.3.4 (iText 9.8.0)), 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. On the best case's page, iText pdfHTML scored 78.5% and Weblitz 100%. 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
iText pdfHTMLNot stated on its pageAGPL (your application's source disclosed) or a commercial licence on quote

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

What iText pdfHTML does better

  • It makes PDF/A, PDF/UA and tagged PDFs from HTML: Weblitz does not tag its PDFs yet. source
  • iText signs PDFs digitally. source
  • Its engine is small: 18 MB on a Linux server. source

Moving from iText pdfHTML

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.

iText pdfHTML
using iText.Html2pdf;

using var stream = new MemoryStream();
HtmlConverter.ConvertToPdf(html, stream, new ConverterProperties().SetBaseUri(baseUrl));
byte[] pdf = stream.ToArray();
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