Skip to main content

7 posts tagged with "playwright"

View All Tags

Top Java Libraries for PDF Generation in 2025

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

Top Java Libraries for PDF Generation in 2025

Creating high-quality PDF documents is essential for Java applications. Whether generating invoices, reports, or dynamic business documents, choosing the right PDF library impacts your application's performance, maintainability, and licensing costs. The Java ecosystem offers diverse approaches – from direct programmatic construction to browser-based HTML to PDF conversion. This analysis explores the most popular Java PDF libraries available in 2025, providing comparisons, code examples, and guidance to help you select the optimal solution.

How to Convert HTML to PDF in Java Using Playwright and Thymeleaf

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

HTML to PDF with Playwright in Java

Need to convert HTML into polished PDFs in your Java project? This tutorial will show you how to use Playwright for Java together with Thymeleaf templates to generate clean, professional-looking PDFs. Whether you're creating invoices, reports, or other dynamic business documents, this solution allows you to render HTML to PDF with pixel-perfect precision using a headless browser. With easy-to-follow code examples and a straightforward setup, it's a practical and modern approach to HTML to PDF generation in Java.

Top PDF Generation Libraries for C# and .NET in 2025

· 14 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 in 2025. Whether you need to create documents from scratch, convert HTML to PDF, or generate reports with complex layouts, C# developers have multiple robust options. This article explores the most popular and powerful PDF libraries available for C# and .NET, providing download statistics, key features, installation guides, and practical code examples to help you choose the right tool for your project.

How to Generate PDF from HTML Using Playwright in C# and .NET

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

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

This detailed guide shows you how to use Microsoft Playwright for .NET and C# to generate high-quality PDFs with perfect rendering. Learn how to implement a complete solution that combines Scriban templates with Playwright's powerful browser automation to create pixel-perfect documents. Whether you're building invoices, reports, or any business documents, this step-by-step tutorial provides all the code and explanation you need to integrate PDF generation into your C#-based .NET applications.

Top PDF Generation Libraries for Node.js in 2025

· 8 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

As we progress through 2025, the Node.js ecosystem continues to offer robust solutions for PDF generation. This article explores the most popular and powerful libraries available today, helping you make an informed decision for your next project. We provide detailed download statistics and simple code examples to give you insights into their real-world usage.

Top Python HTML to PDF Libraries in 2025

· 6 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

In this article, we present the top Python libraries for converting HTML to PDF based on their popularity. We explore their unique features and benefits, provide detailed download statistics and simple code examples to give you insights into their real-world usage. This data-driven approach helps you understand which libraries are widely trusted by the developer community, so you can choose the perfect tool for your projects.

How to Generate PDFs in 2025

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

Illustration showcasing HTML to PDF conversion in 2025

Generating PDFs has become a crucial feature for many modern web applications, from creating invoices to producing complex data-driven reports. Over the years, various HTML to PDF tools have emerged, each with its own approach and capabilities. In this post, we’ll take a brief look at the evolution of PDF generation solutions – from wkhtmltopdf and PrinceXML (via DocRaptor) to Puppeteer and Playwright – and then walk through a short tutorial on using Playwright (Node.js) to generate a sample PDF in 2025.