14 LIBRARIES. YOUR EXISTING CODE.

Drop-in replacement
for wkhtmltopdf.

A drop-in replacement for wkhtmltopdf in 14 PDF libraries. Keep your code and templates with pdfkit, Snappy, wicked_pdf, Rotativa and more.

curl -fsSL https://marqius.com/marqius-wkhtmltopdf.sh | bash
Start your 30-day trial

30-day trial.
$10/month or $500 lifetime.

wkhtmltopdf (current)Marqius (drop-in)
Illustrative comparison of the same sample invoice under wkhtmltopdf and Marqius
Proven for real migrations Drop-in across 14 PDF libraries High-fidelity, production-ready PDFs Simple switching guide
KEEP YOUR LIBRARY

14 libraries. One familiar workflow.

Choose the library your app already uses. Open its chapter for the executable setting, commands and an example of the switch. Get the 14 integration examples on GitHub

STACK GUIDES

Switch in minutes
with your stack.

Keep your existing code and integrations. Follow a focused guide for your tool.

pdfkit

Replace the executable and keep your pdfkit setup.

View guide

Snappy

Use Marqius in place of wkhtmltopdf with Snappy.

View guide

wicked_pdf

Switch the binary and keep your Rails configuration.

View guide

Rotativa

Point Rotativa to Marqius and keep your code.

View guide
Switching manual

Step-by-step instructions, examples, and common notes for pdfkit, Snappy, wicked_pdf, and Rotativa.

Download the manual (PDF)

Replace wkhtmltopdf · 0.9 MB

Developer manual (PDF)

15 libraries · 47 pages

Getting started guide (PDF)

Ten minutes · 0.6 MB

Verified checksum (SHA-256)
04

How the switch works

  1. Install Marqius alongside your current program. The installer preserves an existing wkhtmltopdf unless you explicitly choose to take over.
  2. Run your usual HTML through Marqius and compare it with an existing PDF. Check text, fonts, images and page breaks.
  3. Point pdfkit, Snappy, wicked_pdf or Rotativa at the new program, or use the installer’s take-over option.
  4. If you need to reverse the switch, the installer can restore the program it replaced.
05

What we checked

Our internal Linux comparison used 86 documents: 78 print test pages and eight everyday documents. The measured layout match was about 0.99 on a 0–1 scale. Results on your documents may differ, so a trial on your own templates is the decisive check.

A terminal comparison report for a sample PDF.
A terminal comparison report for a sample PDF.
06

Why teams are moving

The wkhtmltopdf repository is archived, and its maintainer warns against converting HTML you do not trust. Marqius is actively maintained and keeps the command-line workflow familiar. Security-sensitive conversions still need isolation.

READY TO CHECK YOUR OWN PDF?

Keep the workflow. Check the result.

Start with a sample document, compare it, and switch when it meets your standard.

Start your 30-day trial
Marqius is proprietary software from Simple AI LLC. It is independent of the wkhtmltopdf project. Other product names belong to their owners and identify the tools discussed in these switching guides.
QUESTIONS & ANSWERS

wkhtmltopdf replacement questions

Which 14 PDF libraries can I keep?

Marqius works in place of the wkhtmltopdf executable with python-pdfkit, django-wkhtmltopdf, KnpLabs Snappy, laravel-snappy, phpwkhtmltopdf, KnpSnappyBundle, CakePdf, wicked_pdf, PDFKit (Ruby), wkhtmltopdf for Node, go-wkhtmltopdf, java-wkhtmltopdf-wrapper, pdf_generator, Rotativa.AspNetCore. Each library has a chapter in the developer manual. Keep your templates and calls, configure the executable where needed, and compare a representative PDF before switching.

Do I have to change my application code?

Usually no if your library launches the wkhtmltopdf program. Keep pdfkit, Snappy, wicked_pdf or Rotativa and change an executable path only if your app pins one. Libraries that load libwkhtmltox directly need a separate integration.

Will my PDFs look identical?

Compare your own documents. Fonts, scripts, page breaks and unusual CSS can produce differences, so render representative PDFs with both programs before switching a production job.

What about pages that need JavaScript?

Test a page that uses your actual scripts. Some JavaScript-heavy pages may need Chrome or Chromium available to the converter; check the resulting charts and content before release.

Which systems are supported?

The current downloads cover Linux x86-64, Linux ARM64 and macOS on Apple silicon. Windows is still in testing.

Can I go back to my old wkhtmltopdf?

Yes. The installer preserves an existing wkhtmltopdf until you explicitly take over. Its uninstall option can restore a program it replaced.

Is Marqius open source or made by the wkhtmltopdf team?

No. Marqius is proprietary software from Simple AI LLC and is independent of the wkhtmltopdf project.

How does the 30-day trial work?

Sign in and start one 30-day trial without a payment card. It does not turn into a paid subscription automatically. The published plans are $10 per month or $500 for a lifetime licence with upgrades included.