# 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 using a flexible, component-based approach.

Repository: https://github.com/QuestPDF/QuestPDF
Canonical: https://ross.abutalabs.com/products/questpdf
Homepage: https://www.questpdf.com
Language: C#
License: NOASSERTION
License Family: other
Topics: pdf, nuget, c-sharp, dotnet-core, library, export, generation, html, invoice, report
Last push: 2026-08-24T17:34:20+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2067, "days_push": 9, "days_rel": 9, "gap_med": 10, "n_releases_24m": 52}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14162, forks 769 (observed 2026-08-28T04:11:05.676186+00:00)

## What it is
QuestPDF is a modern C# library for generating PDF documents programmatically using a fluent, strongly-typed, component-based API. It includes a companion app with hot-reload preview, layout debugging tools, and document operations like merging, encryption, and overlays.

## Use cases
- generate pdf invoices in c#
- create pdf reports from .net code
- generate pdf documents programmatically without html-to-pdf
- design complex pdf layouts with a fluent api
- merge and encrypt pdf files in dotnet
- preview pdf documents while coding with hot reload

## When to choose
- you are a .NET/C# developer building reports, invoices, or exports as code
- you want compile-time safety, refactoring, and version-control-friendly document definitions
- you need production features like encryption, merging, watermarks, and a live preview tool
- your organization is under $1M annual revenue or you qualify for the free community license

## When to avoid
- your organization exceeds $1M annual gross revenue and you need a fully open-source (OSI) license
- you need to parse or extract text from existing PDFs rather than generate them
- you work outside the .NET ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: pdf, templating, developer-tools
- domain: pdf, developer-tools, web-development, files
- platform: dotnet, cross-platform, windows
- tags: pdf-generation, fluent-api, csharp, document-generation, invoices, reports, nuget, source-available, linux, macos

## Member repositories
- QuestPDF/QuestPDF (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:05.676186+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:46.310526+00:00, confidence not recorded.
  - readme: https://github.com/QuestPDF/QuestPDF (fetched 2026-08-28T04:11:05.676186+00:00, sha 49fb2de2cc95)
  - homepage: https://www.questpdf.com (fetched 2026-08-29T08:06:29.722034+00:00, sha e7bcbe4f6309)
  - site_page: https://www.questpdf.com/features-overview.html (fetched 2026-08-29T08:06:29.772514+00:00, sha dac1c9b5462a)
  - site_page: https://www.questpdf.com/companion/features.html (fetched 2026-08-29T08:06:29.777617+00:00, sha 4cc87320057a)
  - site_page: https://www.questpdf.com/quick-start.html (fetched 2026-08-29T08:06:29.769791+00:00, sha 7a4188fa95df)
  - site_page: https://www.questpdf.com/pricing.html (fetched 2026-08-29T08:06:29.774933+00:00, sha fbd8c56bd91f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
