HeadlinesBriefing favicon HeadlinesBriefing.com

Free HTML to PDF Library for .NET Developers

DEV Community •
×

German Podlessky created Flavor, a new open-source library that simplifies HTML-to-PDF conversion in .NET. Frustrated by expensive licenses and complex browser management, he built a wrapper around PuppeteerSharp that handles resource pooling and cleanup.

The tool supports full CSS3 features including flexbox and grid, plus PDF operations like merging and encryption. Developers can generate documents with minimal code using built-in ASP.NET Core integration. Flavor requires Chromium but eliminates boilerplate code.

Unlike wkhtmltopdf's outdated engine, Flavor uses modern Chrome rendering. It's designed for web developers who need reliable PDF generation without building complex browser orchestration. Available on GitHub and NuGet, the project welcomes community feedback for future improvements.