Our take
Activeregular commits and releases- Activity
- 80
- Community
- 39
- Issues
- 51
- Pull requests
- 67
+20 stars in the last 30 days
- Releases more often than 76% of the projects we track
- Slower to close issues than 95% of the projects we track
QuestPDF is an actively maintained, capable C# PDF library, but adoption should account for its commercial licensing model and reliance on a highly concentrated contributor base.
Good fit if
- Your application is written in C# and you want to generate reports, invoices, or other PDFs in code.
- You need component-based layout, pagination, or PDF operations rather than an HTML-to-PDF workflow.
- Your organization qualifies for the stated free terms, or you have reviewed and accepted the commercial license.
Look elsewhere if
- You need a permissively licensed project with an unambiguous license declaration in the repository metadata.
- Your team requires project work to be broadly distributed across contributors to reduce maintainer concentration risk.
- Your application does not run on a supported .NET version or platform.
All health signals
| Last commit | 2026-09-30 (21 days ago) |
|---|---|
| Commits, last 90 days | 100+ |
| Releases, last 12 months | 23 (latest 2026.9.1, 2026-09-25) |
| Contributors | 34 (top contributor: 94% of commits) |
| Issues closed, last 90 days | 52 (typically closed in 449 days) |
| Pull requests merged, last 90 days | 18 (typically merged in 0 days) |
| Project age | 5 years |
Checked on 2026-10-22 with the GitHub API.
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
14,223Forks
773Change since Nov 16, 2026: +1 stars·-1 forks
Overview
QuestPDF is a production-ready PDF generation library built for C# and .NET. Its fluent, component-based API lets developers describe document layouts in code, addressing the need to create complex, paginated PDFs without relying on HTML-to-PDF conversion.
It targets .NET applications on Windows, Linux, and macOS, with support for .NET 6 and later as well as .NET Framework 4.6.2 and later. The project is actively maintained, though its contributions are highly concentrated in one person, an important factor for teams evaluating long-term dependency risk.
Key Features
- Compose pages with headers, footers, tables, columns, lists, and reusable components.
- Apply precise layout controls, including sizing, spacing, alignment, borders, layers, and positioning.
- Handle pagination, page breaks, repeated content, and conditional rendering.
- Add text, fonts, colors, raster images, SVG, and canvas graphics.
- Create multilingual documents with right-to-left layout and advanced text shaping.
- Perform PDF operations such as merging files, extracting pages, adding attachments, and encryption.
- Generate documents to PDF through a NuGet package and fluent C# API.
Use Cases
- .NET developers can generate invoices from application data using reusable C# components.
- Business systems can produce paginated reports with consistent headers, tables, and footers.
- Teams can create exports whose layout changes are reviewable in source control alongside application code.
- Applications that need multilingual or right-to-left documents can use the library's stated language and layout support.
What you need
Detected in the repository
- C# (main language on GitHub)
- Automated checks on GitHub Actions
Getting Started
Install the NuGet package:
dotnet add package QuestPDF
See the README and Quick Start for document setup and examples.
License in Plain Words
No standard license was detected. Without a license, the default copyright rules apply: you may read the code, but not reuse it. Check the repository or ask the authors.
Alternatives
- maroto: Maroto is a Go library with row-and-column layouts, while QuestPDF is a C# library with a fluent component API.
- HtmlRendererCore: HtmlRendererCore generates PDFs by rendering HTML in .NET, while QuestPDF builds documents through C# components rather than HTML.
- pdfcn: pdfcn provides React PDF components built on Takumi and Forme, while QuestPDF generates PDFs from C# in .NET.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| QuestPDF | C# | – | 14.2k | Active |
| maroto | Go | MIT | 2.8k | Active |
| HtmlRendererCore | C# | MIT | 34 | Inactive |
| pdfcn | TypeScript | MIT | 3k | New |
Considerations
- The GitHub license field is reported as
NOASSERTION. The README describes community and commercial terms, including free use for individuals, non-profits, open-source projects, and organizations under $1M in annual gross revenue. Review the pricing and license terms for your situation. - Project activity is strong, with regular commits and releases, but most of the code comes from one person. The measured median time to close issues is long, so do not assume every reported issue will be resolved quickly.
- The README lists .NET 6+ and .NET Framework 4.6.2+ support. Verify that your target runtime and deployment environment match your application.
- The project describes source availability and a companion preview app, but the README does not establish that the companion app is required to generate PDFs.
Found this useful?
Share it with someone who would like QuestPDF.