talira

Compare

PuppeteerPlaywrightWeasyPrint@react-pdf/renderer
What it isJavaScript API for Chrome and FirefoxFast and reliable end-to-end testing for modern web appsRenders HTML and CSS to PDF, from Python or the command linePDFs, made with React
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.820.900.800.69
Stars95841100208979116859
Last commit2026-11-152026-11-142026-11-132026-11-03
LicenceApache-2.0Apache-2.0BSD-3-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
API———No
Plugins———No
MCP server—Yes—No
CompanyGoogle
public company (NASDAQ:GOOGL)
Microsoft
public company (NASDAQ:MSFT)
CourtBouillon—
Features
  • page.pdf() and createPDFStream() print to PDF
  • headless by default
  • waits for fonts before printing
  • Chrome and Firefox via DevTools Protocol or WebDriver BiDi
  • downloads a compatible Chrome on install (puppeteer-core does not)
  • screenshots, navigation, form input and scraping
  • page.pdf() in headless Chromium
  • paper formats, width/height and margins with units
  • header and footer templates with pageNumber and totalPages
  • tagged (accessible) PDF option
  • document outline option
  • emulateMedia to print with screen CSS
  • Chromium, Firefox and WebKit automation
  • bindings for Node.js, Python, Java and .NET
  • All 9 features
  • HTML and CSS to PDF
  • CSS layout engine designed for pagination
  • headers, footers and page layouts via CSS paged media
  • table of contents
  • PDF form inputs
  • alternate print stylesheets
  • command-line interface
  • React components for Document, Page, View, Text, Image and more
  • StyleSheet API with flexbox layout via Yoga
  • render in the DOM (PDFViewer), as a blob or download link, or to a file/stream in Node
  • custom fonts
  • images and SVG
  • form fields
  • hyphenation
  • page-break control and fixed elements
Limitations
      • Doesn't run JavaScript in the HTML it converts
      • Doesn't output images (PNG): PDF is its only output format