All comparisons

PixDoc vs wkhtmltopdf

wkhtmltopdf uses an outdated WebKit engine that struggles with modern CSS. PixDoc renders with Chromium for pixel-perfect output and needs no binary installation.

Feature comparison

FeaturePixDocwkhtmltopdf
SetupAPI key, one HTTP callInstall binary + system dependencies
Rendering EngineChromium (latest)QtWebKit (deprecated, 2012-era)
CSS SupportFull CSS3, flexbox, grid, variablesPartial CSS3, no flexbox/grid
ScalingAuto-scales, managed infrastructureCLI process per render, manual scaling
TemplatesBuilt-in template engine with variablesNone — preprocess HTML yourself
ScreenshotsBuilt-in endpoint for PNG/JPEG/WebPPDF only
Async / WebhooksBuilt-in webhook deliveryNot available
PricingFlat $29/mo for 5,000 rendersFree and open source

Code comparison

See how much simpler it is to generate a PDF with PixDoc.

With wkhtmltopdf

# Install binary (varies by OS)
sudo apt-get install wkhtmltopdf

# Generate PDF from HTML file
wkhtmltopdf --enable-local-file-access \
  --page-size A4 \
  --margin-top 10mm \
  --margin-bottom 10mm \
  --encoding UTF-8 \
  input.html output.pdf

# From URL
wkhtmltopdf https://example.com output.pdf

With PixDoc

curl -X POST https://pixdoc.dev/api/v1/pdf \
  -H "Authorization: Bearer pd_live_..." \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Invoice #1042</h1>"}' \
  -o invoice.pdf

Ready to simplify your PDF workflow?

Start generating PDFs, screenshots, and OG images in minutes. No browser management, no infrastructure, no per-document fees.