DocKiln and Chromium

A direct Puppeteer integration fits applications that already operate a browser pool and control all input pages. Its page.pdf method renders print CSS. Your application supplies account access, job tracking, template storage and delivery.

DocKiln supplies those application components and isolates Chromium in a network-disabled container. Its trusted worker retrieves public page HTML first. External page resources and scripts are blocked, which can change the appearance of a web page. Typst is available for structured templates with repeatable table headings.

Official Puppeteer PDF API · Try the HTML converter.

Should you use Puppeteer directly or DocKiln?

Use Puppeteer directly if your application already owns browser lifecycle, concurrency, access controls and output storage. Use DocKiln when you also need a document workspace, published template versions, queued jobs and scoped downloads. DocKiln uses Chromium for HTML, so it does not replace the underlying browser rendering engine.

What should a fair rendering test include?

Use identical HTML, fonts, paper size and margins. Separate queue time from render time. Compare long tables, text selection, page count and file size, then document hardware and Chromium versions. No cross-provider performance results are claimed here.

Try the HTML converter, download a sample PDF, and review self-hosting responsibilities. Puppeteer API source checked on December 3, 2026.