Compare

Liuska vs HTML-to-PDF

HTML-to-PDF tools take a web page and print it. Liuska takes a layout description and your data and writes the PDF itself. Which one fits depends on your documents. For data-driven reports, invoices and statements, the comparison below is what matters. If you need arbitrary HTML, see the limits first.

The table scrolls sideways.

Liuska facts come from the repository (README, docs, release workflow). Other columns are cited: numbers in brackets refer to the sources. "Your code" means you build it yourself.
LiuskawkhtmltopdfHeadless Chrome (Puppeteer / Playwright)
InputTemplate JSON + data (JSON or CSV)HTML + CSS, usually generated by your server-side template engineHTML + CSS (+ JS), usually generated by your app
EngineNative layout in Go. Its own PDF 1.7 writerQt 4 WebKit, not updated since 2012 [2]Current Chromium
InstallOne static binary (Windows, Linux, macOS; amd64, arm64)Binary plus Qt/WebKit, system fonts, X libraries on LinuxNode + a browser. Puppeteer downloads Chrome for Testing, ~170 MB (macOS) to ~282 MB (Linux) [3]
Project statusIn development (see limits)Repository archived Jan 2, 2023 [1]Maintained
Tables across pagesBuilt in: header row repeated, rows never split, totalsthead / page-break-inside CSS, mixed resultsPrint CSS
Columns from datacolumnsFrom, autoColumnsYour code (loops in the HTML template)Your code (loops in the HTML template)
Page numbersPage {{page}} of {{pages}} in any text elementJavaScript subst() in separate --header-html / --footer-html filesheaderTemplate / footerTemplate with pageNumber / totalPages classes [4]
Content on every pageHeader/footer bands, plus repeat on any element (tables flow below it)Header/footer HTML filesHeader/footer templates
ChartsNative vector chart element: bar, line, area, pie, donut, scatter, combo, secondary axisA JS chart library plus --javascript-delay, often rasterisedAny JS chart library, rendered by the browser
Number/date formattingcurrency, number, percent, date filters; en-US, fi-FI, de-DE, sv-SEYour codeYour code (or Intl in page JS)
FontsBundled default + fonts you ship, subset into the PDFWhatever is installed on the machineInstalled fonts or web fonts
Untrusted inputNothing executes: no scripting in templates"Do not use wkhtmltopdf with any untrusted HTML" [2]Runs page JavaScript; sandboxing is up to you
Service modeliuska serve: warm engine, concurrent renders, statelessOne process per documentYou manage the browser pool
Speed1 page: 19 ms cold CLI, ~19,500 renders/s warm (Ryzen 9 9950X, details)Not measured on the same machine. The bench harness renders equivalent HTML with wkhtmltopdf when it is installed, so you can compare on your hardware.
Arbitrary HTML/CSSNo: absolute positioning, flowing tables and anchorsYes, with old CSS supportYes, modern CSS
Long text across pagesNo: text boxes grow, only tables paginateYesYes

What Liuska does not do (yet)

If you rely on one of these, keep a browser-based tool for those documents. The migration guide has the details.

Layout

  • No arbitrary HTML/CSS: no flexbox, grid, floats or selectors.
  • No mixed formatting inside one text element (bold plus normal words, inline links).
  • Long text doesn't break across pages. Only tables paginate, and a single row taller than a page is not split.
  • No first-page-only headers yet.

PDF features

  • No PDF/A, no accessibility tagging (PDF/UA).
  • No forms, digital signatures, links, bookmarks or table of contents.
  • TrueType fonts only. No compact numbers (1.2k) yet.

Product

  • The designer canvas shows page 1. The preview shows every page.
  • No hosted service, and serve has no authentication or multi-tenancy. Run it on an internal network.
  • No JavaScript: chart types the engine lacks (maps, gauges) must be rendered to an image by your backend.

Sources

  1. wkhtmltopdf GitHub repository: "This repository was archived by the owner on Jan 2, 2023. It is now read-only." github.com/wkhtmltopdf/wkhtmltopdf, accessed 2026-11-29.
  2. wkhtmltopdf status page: "Qt 4 (which wkhtmltopdf uses) hasn't been supported since 2015, the WebKit in it hasn't been updated since 2012"; "Do not use wkhtmltopdf with any untrusted HTML". wkhtmltopdf.org/status.html, accessed 2026-11-29.
  3. Puppeteer installation guide: "it automatically downloads a recent version of Chrome for Testing (~170MB macOS, ~282MB Linux, ~280MB Windows)". pptr.dev/guides/installation, accessed 2026-11-29.
  4. Puppeteer PDFOptions: headerTemplate / footerTemplate, with classes including pageNumber and totalPages. pptr.dev/api/puppeteer.pdfoptions, accessed 2026-11-29.
  5. Liuska facts: overview, migration guide, template reference, benchmarks.