Guides / Comparison

A modern wkhtmltopdf alternative

wkhtmltopdf served a generation of invoice generators, but the project is archived and its patched-WebKit engine never learned flexbox, grid, or modern web fonts. Layouts that look fine in a browser silently break in production PDFs.

RasterKit prints through current Chromium, so the rule becomes simple: if it renders in Chrome, it renders in your PDF. No binaries to compile, no Qt patches, no servers to babysit.

Side by side

wkhtmltopdfRasterKit
Rendering enginePatched WebKit (~2012, archived)Current Chromium, continuously updated
Flexbox / Grid / modern CSSLargely brokenFull support
JavaScript-rendered pagesLimited, flakyFull support with wait controls
HostingSelf-managed binary on your serversManaged API, zero infrastructure
Headers/footers/page numbersBasicChromium print templates
Products includedSingle productScreenshots + PDFs + OG images, one key, one bill

When wkhtmltopdf is the better choice

When RasterKit is the better choice

Try it in two minutes

curl -X POST https://rasterkit.com/v1/screenshot \
  -H "x-api-key: $RASTERKIT_API_KEY" \
  -H "content-type: application/json" \
  -d '{"url": "https://example.com"}' \
  -o screenshot.png

Get your free API key →

Comparison reflects public information as of June 2026. Spot an inaccuracy? Tell us and we'll fix it.