---
type: WebPage
title: Drop-in replacement for wkhtmltopdf in 14 libraries | Marqius
description: A drop-in replacement for wkhtmltopdf in 14 libraries. Keep your
  code and templates with pdfkit, Snappy, wicked_pdf, Rotativa and more. Try
  Marqius.
resource: https://marqius.com/wkhtmltopdf/
tags:
  - marqius
  - products-and-guides
status: stable
sources:
  - id: official-page
    resource: https://marqius.com/wkhtmltopdf/
generated:
  by: process:marqius-site-build
  at: 2026-11-20T10:14:46.432Z
x_marqius:
  language: en
  source_sha256: e70e76f50e14da8076ef663b9f3abbfffe6e1b1c0e3eac73a77d3ee2055dc24a
  extraction: public-main-content
---

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](https://marqius.com/app/sign-in/?plan=trial)

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

wkhtmltopdf (current) Marqius (drop-in)

**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](https://github.com/marqius-wkhtmltopdf/marqius-wkhtmltopdf-examples)

- [Python **python-pdfkit** Open library guide](https://marqius.com/download/developer-manual.pdf#page=7)

 

- [Python **django-wkhtmltopdf** Open library guide](https://marqius.com/download/developer-manual.pdf#page=13)

 

- [PHP **KnpLabs Snappy** Open library guide](https://marqius.com/download/developer-manual.pdf#page=16)

 

- [PHP · Laravel **laravel-snappy** Open library guide](https://marqius.com/download/developer-manual.pdf#page=18)

 

- [PHP **phpwkhtmltopdf** Open library guide](https://marqius.com/download/developer-manual.pdf#page=20)

 

- [PHP · Symfony **KnpSnappyBundle** Open library guide](https://marqius.com/download/developer-manual.pdf#page=23)

 

- [PHP · CakePHP **CakePdf** Open library guide](https://marqius.com/download/developer-manual.pdf#page=26)

 

- [Ruby · Rails **wicked\_pdf** Open library guide](https://marqius.com/download/developer-manual.pdf#page=29)

 

- [Ruby **PDFKit (Ruby)** Open library guide](https://marqius.com/download/developer-manual.pdf#page=31)

 

- [Node.js **wkhtmltopdf for Node** Open library guide](https://marqius.com/download/developer-manual.pdf#page=33)

 

- [Go **go-wkhtmltopdf** Open library guide](https://marqius.com/download/developer-manual.pdf#page=35)

 

- [Java **java-wkhtmltopdf-wrapper** Open library guide](https://marqius.com/download/developer-manual.pdf#page=38)

 

- [Elixir **pdf\_generator** Open library guide](https://marqius.com/download/developer-manual.pdf#page=41)

 

- [.NET **Rotativa.AspNetCore** Open library guide](https://marqius.com/download/developer-manual.pdf#page=44)

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](https://marqius.com/wkhtmltopdf/python/)

### Snappy

Use Marqius in place of wkhtmltopdf with Snappy.

[View guide](https://marqius.com/wkhtmltopdf/laravel-php/)

### wicked\_pdf

Switch the binary and keep your Rails configuration.

[View guide](https://marqius.com/wkhtmltopdf/rails-ruby/)

### Rotativa

Point Rotativa to Marqius and keep your code.

[View guide](https://marqius.com/wkhtmltopdf/dotnet/)

**Switching manual**

Step-by-step instructions, examples, and common notes for pdfkit, Snappy, wicked\_pdf, and Rotativa.

[Download the manual (PDF)](https://marqius.com/download/replace-wkhtmltopdf.pdf)

Replace wkhtmltopdf · 0.9 MB

[Developer manual (PDF)](https://marqius.com/download/developer-manual.pdf)

15 libraries · 47 pages

[Getting started guide (PDF)](https://marqius.com/download/getting-started.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.

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.

[Read the security guide](https://marqius.com/wkhtmltopdf/security/)[Read wkhtmltopdf’s status](https://wkhtmltopdf.org/status)

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](https://marqius.com/app/sign-in/?plan=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.

Source for this page [^official-page].

[^official-page]: https://marqius.com/wkhtmltopdf/

[Browse this section](index.md) · [Knowledge index](../index.md)
