Skip to main content

7 posts tagged with "playwright"

View All Tags

Top Java PDF Generation Libraries Compared

· 12 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Top Java PDF Generation Libraries Compared in 2025

Java applications frequently need to produce PDF files – invoices, reports, contracts, shipping labels. The library you pick determines how much code you write, what web standards you can use, and what license restrictions apply. The Java ecosystem has several approaches, from low-level programmatic construction to browser-based HTML to PDF conversion. Below are code examples, feature tables, and recommendations for the most popular Java PDF libraries – from programmatic PDF builders to HTML to PDF converters.

HTML to PDF in Java with Playwright and Thymeleaf

· 16 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

HTML to PDF with Playwright in Java

Need to convert HTML to PDF in your Java project? This tutorial shows you how to use Playwright for Java together with Thymeleaf templates to generate clean, well-formatted PDFs. We'll build an invoice generator that renders HTML to PDF using a headless Chromium browser, with full CSS and JavaScript support. The code examples are ready to copy and adapt for your own HTML to PDF generation in Java.

Top C# and .NET PDF Generation Libraries Compared

· 15 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Best C# Libraries for PDF Generation

The .NET ecosystem offers a rich variety of libraries for PDF generation. From creating documents from scratch to converting HTML to PDF or generating reports with complex layouts, C# developers have several proven options to pick from. This article covers the most popular PDF libraries available for C# and .NET, with download statistics, key features, installation guides, and practical code examples to help you choose the right tool for your project.

C# HTML to PDF with Playwright .NET: Full Guide

· 17 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF from HTML using Playwright in C#/.NET

This guide shows you how to use Microsoft Playwright for .NET and C# to generate high-quality PDFs from HTML. You'll build a complete solution that combines Scriban templates with Playwright's browser automation to produce accurate, print-ready documents. The step-by-step tutorial covers everything from project setup to invoice generation, with all the code you need to add PDF generation to your .NET applications.

Top Node.js HTML to PDF Libraries Compared

· 10 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

NPM Trends overview showing the download statistics for PDF generation libraries over the past 12 months

Picking a Node.js PDF generation library isn't straightforward. There are browser-based tools that convert HTML to PDF, programmatic builders that create documents from scratch, and cloud APIs that handle everything remotely. This guide compares the five most downloaded libraries with actual npm numbers and working code examples.

Top Python HTML to PDF Libraries Compared

· 7 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Google Trends overview showing the relative search interest for HTML to PDF conversion libraries over the past 12 months

Five Python libraries handle most HTML to PDF conversions today: Playwright, WeasyPrint, pdfkit, Pyppeteer, and xhtml2pdf. Below we compare them by download numbers, features, and code examples so you can pick the one that fits your project.

How to Generate PDFs in 2025: Methods and Tools Compared

· 10 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Illustration showcasing HTML to PDF conversion in 2025

PDF generation is a core requirement for many web applications – invoices, reports, contracts, certificates. Over the years, various HTML to PDF tools have taken different approaches to the problem. In this post, we look at the evolution of PDF generation solutions – from wkhtmltopdf and PrinceXML (via DocRaptor) to Puppeteer and Playwright – and then walk through a tutorial on using Playwright (Node.js) to generate a sample invoice PDF.