DROP-IN REPLACEMENT FOR GOTENBERG

Keep your Gotenberg 8 code.

Gotenberg 8 no longer gets fixes, and version 9 changed the API your code calls. Marqius Kern is a drop-in replacement that answers both versions on one server. Change one line, and your invoices, reports and archived documents keep coming out as before.

  • Gotenberg’s own tests, in public
  • 12 client libraries and apps tested
  • 8.x and 9.x on one server
THE CHOICE GOTENBERG 8 LEAVES YOU

Stay unpatched, rewrite, or change one line.

Stay on Gotenberg 8Move to Gotenberg 9Switch to Marqius Kern
Your codeUnchangedRewritten: new routes and field names, new library versionsUnchanged
FixesNone, security fixes includedYesYes, for the 8.x and the 9.x API
Your documentsAs todayChecked again after the rewriteChecked once, side by side, before you switch
The workNone now; the risk growsA project for every app that calls itOne line in your compose file or manifest

Gotenberg’s security policy gives security updates to the latest version only. Gotenberg 9, released on 5 November 2026, answers 8.x requests with errors, so every app written for 8 needs changes to move up.

SWITCH IN ONE LINE

Change the image. Keep everything else.

In your Docker Compose file, Kubernetes manifest or Cloud Run service, one line changes:

- image: gotenberg/gotenberg:8
+ image: marqius/kern

Your code, your client library, its settings and the address it calls stay as they are. To go back, change the line back.

Read the switching guide: Docker Compose, Kubernetes, Cloud Run, Paperless-ngx and each client library.

See the API reference: every route and form field of Gotenberg 8.40.0 and 9.10.3 that Marqius Kern answers, with samples in curl, Python and JavaScript.

Developer guides: Python, PHP, Node.js, .NET, Go, Java, Kotlin, Rust, Swift and Ruby

WHAT CHANGES FOR YOU

The same documents, without the upkeep.

  • Smaller and quicker. Ready in 0.14 seconds.
    16× smaller A 41 MB image instead of 665 MB.
    40× quicker The first invoice in 9 milliseconds instead of 367.
    15× less memory 9 MB of memory instead of 144 MB.
  • Your code keeps working. The same routes, form fields, defaults and answers as Gotenberg 8 and 9. Apps built for either version keep running, side by side, on one server.
  • Maintained, both versions. Fixes for the 8.x API you run today, and the 9.x API when you move.
  • Nothing to babysit. No browser and no office suite inside: one program, started for each document, with nothing left running in between and nothing to restart.
  • Your documents stay with you. Self-hosted: nothing leaves your servers, and plans cover your whole organisation on any number of servers, with no charge per document.
  • A company that answers. Business plans include a reply within one working day and answers to your security questionnaire.
PROOF IN PUBLIC

Other people’s tests, run against both.

Every test below was written by someone else: Gotenberg’s own team, the authors of the client libraries, and the apps built on Gotenberg. Each runs unchanged against Gotenberg and against Marqius Kern, and every result is public, differences included.

TestsPass on Marqius Kern
Gotenberg’s own tests, version 8552551
Gotenberg’s own tests, version 9540495
12 client libraries and apps (Python, PHP, .NET, Go, Kotlin, Java, Rust, Swift; Paperless-ngx, solidtime, InvoiceShelf, Haystack)1,007 that pass on Gotenberg1,005
Real Word, Excel, PowerPoint and HTML documents, printed the same as Gotenberg258209, and none worse

See every test on the scoreboard

The tests that differ, and why:

  • Two Paperless-ngx tests expect the words of a merged PDF/A file to move, as LibreOffice moves them; Marqius Kern keeps them where they were.
  • One of Gotenberg 8’s tests expects a large PDF before it is optimised; Marqius Kern’s is small already.
  • Gotenberg 9’s tests that watch Chromium or LibreOffice themselves (their logs, memory limits, macros, a page’s own network requests) find no Chromium or LibreOffice to watch.
  • A few of Gotenberg 9’s Office options answer ‘not yet’ (paper size, locale, tracked changes), and HTML is converted on the Chromium routes only.
BEFORE YOU SWITCH

Check your own documents first.

Run Gotenberg and Marqius Kern side by side and send them the documents your business depends on. One command converts each with both servers and marks every difference on the pages: GO, REVIEW or NO-GO. The switching guide shows it.

What Marqius Kern does not do, so you can plan for it:

  • Pages that need a real browser, such as canvas drawings and charts that measure the page as they draw, print without those parts.
  • LibreOffice’s rarer formats, such as Visio and WordPerfect, are refused with the reason. Word, Excel, PowerPoint, CSV, RTF, OpenDocument and plain text are read.

Where you need those, keep Gotenberg beside it and send just those requests there.

LICENCE

Free for open source. Licensed for business.

Personal, teaching and open-source use is free with a Community licence, including open-source projects’ CI runs and documentation builds.

  1. Get your free key on marqius.com/licence/marqius-kern, then sign in with Google.
  2. Tick “I’ll use Marqius Kern only for personal, teaching or open-source work”.
  3. Get my free key, then Copy key.
  4. Set it as the variable MARQIUS_LICENCE on your server.

Anything done by or for a business, including internal tools and client work, needs a paid licence. See the plans and prices.

QUESTIONS & ANSWERS

Questions

Is there a drop-in replacement for Gotenberg?

Yes. Marqius Kern answers Gotenberg’s API, both 8.x and 9.x, with the same routes, form fields and defaults. Change the image name in your compose file or Kubernetes manifest and keep everything else.

Does Gotenberg 8 still get security updates?

No. Gotenberg’s security policy gives security updates to the latest version only, and version 9 changed the API that 8.x code calls. Marqius Kern answers the 8.x API, maintained.

Why does Gotenberg 9 answer my requests with 404?

Gotenberg 9 moved its routes and renamed its form fields: 8.x routes answer 404 and 8.x field names 400. Code written for 8 needs rewriting for 9, or a server that answers both, such as Marqius Kern.

Does any of my code change?

No. Marqius Kern answers Gotenberg’s routes, form fields and defaults, so the only change is the image line of your compose file or manifest. Your client library keeps its settings.

Does it work with Paperless-ngx?

Yes. Change the image of the gotenberg service in Paperless-ngx’s compose file and keep its command. Office files and emails are archived as before.

My code is written for Gotenberg 9. Does it work too?

Yes. One server answers both versions: each request is answered in the version its routes and fields belong to, so apps on 8 and apps on 9 can share it.

How do I check my documents before switching?

Run both servers side by side and compare their PDFs with one command, as the switching guide shows. You see every difference marked on the page before anything changes in production.

Which languages does it print?

Every language. Arabic and Hebrew are built in. Fonts for Chinese, Japanese, Korean, Thai and emoji are fetched once, the first time a document needs them, or come inside the image tagged fonts for servers without internet access.

Can we go back?

Yes, at any time: change the image line back. Nothing else was changed.

READY WHEN YOU ARE

Change one line. Keep your documents.

Start with the documents your business sends every day: compare them side by side, then switch.