Stefano Tortone

Stefano Tortone

Founder. Making HTML-to-PDF painless

Forums

Devs: Why is generating PDFs still such a pain in 2026?

I'm building a tool to fix this, but I want to validate if I'm the only one who finds this workflow insane.

Every time I need to generate a dynamic invoice or report, I end up with two bad options:

  1. Headless Browsers: Managing Puppeteer/Playwright instances that eat RAM and crash randomly.

  2. Black Box APIs: Sending HTML to an endpoint and praying the CSS renders correctly (usually involves running the script 50 times just to align a div).

I ve spent the recent time building a "Live Preview" editor where you can actually debug the Handlebars/Jinja2 template before generating the PDF. It essentially kills the "change code -> run script -> check PDF" loop.

PDFMyHTML - Stop guessing CSS. HTML to PDF API with Live Preview.

Stop guessing CSS. PDFMyHTML is the developer-first API for high-fidelity HTML-to-PDF conversion, powered by Playwright. Unlike black-box APIs, we offer a Live Template Editor supporting Handlebars & Jinja2. Visualize dynamic JSON data in real-time, debug styles instantly, and integrate with a simple curl command. Includes a free Invoice Generator and "Founder's Deal" for early adopters.