Skip to main content

2 posts tagged with "PuppeteerSharp"

View All Tags

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

· 18 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 Convert HTML to PDF in C# and .NET Using PuppeteerSharp

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

Guide to generating PDF from HTML using PuppeteerSharp in C#/.NET

Looking for a reliable way to convert HTML to PDF in C# and .NET? This guide will show you how to use PuppeteerSharp, the powerful .NET port of the Node.js Puppeteer library, to generate high-quality PDFs from dynamic HTML content. Whether you're building invoices, reports, or print-ready web pages, PuppeteerSharp gives you full control over headless Chromium rendering, enabling pixel-perfect PDF output using modern HTML and CSS. We’ll walk you through setting up a C#/.NET project, using a template engine for dynamic content, and exporting a professional invoice PDF as the final result.