questpdf/questpdf

QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 4th, 2026
Created on January 4th, 2021
Open Issues & Pull Requests: 48 (+0)
GitHub issues: Enabled
Number of forks: 770
Total Stargazers: 14,171 (+0)
Total Subscribers: 100 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.4 days
Mean response time: 105.4 days
90th percentile: 454.3 days
Tracked items: 587

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 5 days, while "tracked-internally" waits about 16 months. Only 7% of issues opened in the past year have been closed. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 38
New in 7 days: 6
Closed in 7 days: 1
Avg open age: 389 days
Stale 30+ days: 30
Stale 90+ days: 29

Recent activity

Opened in 7 days: 5
Closed in 7 days: 0
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • tracked-internally (36)
  • companion-app (24)
  • bug (22)
  • enhancement (9)
  • documentation (1)
  • help wanted (1)
  • question (1)

Detailed Description

QuestPDF is a PDF generation library for C# that lets you design documents using a fluent, component-based API with clean, strongly-typed code.

The library addresses the friction of HTML-to-PDF conversion by providing a native C# approach to document design. Instead of wrestling with HTML templates or external tools, developers write PDF layouts directly in C# using a declarative, composable API. The tool handles complex layouts through features including tables, multi-column flow, headers, footers, watermarks, rich text formatting, images, SVG support, and dynamic content rendering with loops and conditions. Layout control spans alignment, padding, rotation, scaling, and page break management, allowing pixel-perfect document generation.

QuestPDF suits teams already working in C# who need to generate invoices, reports, and data-driven exports as part of their applications. It works well for projects where document design benefits from being version-controlled alongside application code and where strong typing reduces errors. The library is free for individuals, non-profits, open-source projects, and organizations under a revenue threshold, with commercial licensing available for larger enterprises. Developers should evaluate whether the C#-native approach aligns with their workflow compared to HTML-based alternatives.

The project maintains active development with regular feature additions and refinements to its layout engine and visual capabilities. The maintainers engage directly with users through documentation and examples, including detailed tutorials for common use cases like invoice generation. The tool has reached production maturity with a stable API surface and comprehensive feature coverage across layout, styling, positioning, and content flow concerns.