Skip to content

PDFsharp License Change to AGPL and the 750 EUR Commercial License for Closed Source .NET Apps

PDFsharp and MigraDoc moved from MIT to AGPL with a 750 EUR one time commercial license for closed source use. Here is what changed, what the license covers and how it compares with IronPDF, QuestPDF and iText.

Live demo

Runs in your browser. Nothing is uploaded. One PDF free to try, then a plan.

Your PDF is downloading. That was the free one. The Starter plan converts as many as you need, for $49 a month or $288 a year, half price.

See the plan

PDFsharp and MigraDoc are no longer MIT licensed. Versions 6.5 and 7.0 are published under the AGPL, and closed source, internal, hosted or SaaS use needs a commercial license that pdfsharp.com lists at 750 EUR one time, excluding VAT, for business customers. It covers unlimited developers, projects, servers and deployments, and it includes updates for the 6.5.x and 7.0.x line. Releases up to 6.2 were MIT and receive no further updates. Everything below was read from pdfsharp.com and the project repository on 10 November 2026.

This matters because a great deal of advice about .NET PDF libraries, including plenty of older Stack Overflow answers, still says PDFsharp is the safe free choice with no strings. That was true. If a team picked it on that basis and then upgrades to a current release, the licensing position changes underneath them.

What changed in the PDFsharp license

empira Software GmbH, the company behind PDFsharp and MigraDoc, switched both libraries to dual licensing. The project home page says the libraries are published under the free AGPL license and that you can purchase a commercial license separately if your project needs one. It also says that for 6.2 and older there will be no further updates, and recommends moving to 6.5.0 or the 7.0 preview.

The practical effect is a fork in the road at upgrade time. Stay on 6.2 or earlier and you keep the MIT terms you had, but you also get no bug fixes, no security patches and no support for newer .NET releases. Move to 6.5 or 7.0 and you take on the AGPL or the commercial license.

How much is the PDFsharp commercial license?

The pricing page shows one commercial tier at 750 EUR, marked as excluding VAT and addressed to business customers only. The vendor describes it as perpetual with no subscription model. It lists free use in proprietary, closed source, internal, hosted, SaaS and commercial applications, no impact on your own project license, and unlimited developers, projects, servers and deployments. The sales contact is a form, but the number itself is public, which puts it ahead of iText, whose commercial pricing is quote only.

Two details are worth reading closely. First, the license covers the 6.5.x and 7.0.x release line, so a future major version is a question for the vendor rather than something the 750 EUR obviously buys. Second, the vendor sells a separate product line called PsX for more demanding needs, under its own license that does not change your PDFsharp terms.

Does the AGPL force me to open source my app?

If your project is closed source, yes, in the sense that matters: you cannot use the AGPL version and keep your code private. The pricing page says the AGPL restriction is that your project has to be open source and licensed under the AGPL too. The AGPL also treats users who reach your software over a network as users entitled to the source, which is the clause that catches web applications and SaaS products that assumed they were only using a library behind the scenes.

If your application is open source and you are happy to license it under the AGPL, none of this costs you anything. For internal tools that are never distributed the position is less clear, and the vendor's own pricing page lists internal use as something the commercial license covers, so a company that wants no ambiguity buys it.

PDFsharp vs the other .NET PDF libraries on license cost

LibraryClosed source licenseWhat is countedRenders HTML
PDFsharp and MigraDoc 6.5 and 7.0750 EUR one time (AGPL is free for open source)Nothing, unlimited developers and serversNo
IronPDF$999 to $5,999 perpetual, read 10 November 2026Developers, locations and projects by tierYes, bundled Chromium
QuestPDFFree under 1M USD revenue, then 1,999 USD or moreCompany revenueNo
iText for .NETQuote onlyNegotiatedWith the pdfHTML add-on
Rendering API such as SitePDF$49 to $899 a month, no license to holdRenders per monthYes, current Chromium

On price alone PDFsharp at 750 EUR is now one of the cheapest commercial licenses in .NET, and the flat, uncounted model is attractive for a larger team. The limit is what it does. PDFsharp is a drawing API and MigraDoc adds paragraphs, tables and pagination. Neither contains an HTML parser or a CSS engine, so it fits invoices and reports you lay out in code, and it is the wrong tool for turning a web page or an HTML template into a PDF.

When to buy the license and when not to

Buy the PDFsharp license if your documents are built from data in code, you ship closed source or SaaS, and you want a predictable one time fee with no developer or server count. For a 20 developer team the unlimited scope is the real saving over per seat libraries.

Stay on 6.2 only if you accept running an unmaintained library. For anything touching customer documents, unpatched PDF parsing code is a risk you should weigh against 750 EUR.

Do not buy it for HTML input. If your invoice or statement already exists as HTML and CSS, a library that draws on a canvas means rebuilding the layout by hand. The alternative is to send the HTML to a rendering service and get the PDF back, which removes the library, the license and the headless browser from your build in one step. Our HTML to PDF API comparison shows what that route costs, and the C# PDF library comparison prices every route side by side.

A short checklist before you upgrade

  • Check which PDFsharp version each project references, including transitive references from MigraDoc and from third party packages.
  • Decide per project whether it is open source, closed source, internal or hosted, because the commercial license answer is different for each.
  • Keep the purchase record and the version it covers with your other software licenses, since the license is tied to the 6.5.x and 7.0.x line.
  • If the same service also needs to read data out of incoming scanned PDFs, that is a separate job; teams often extract structured data from scanned documents first and then generate the outgoing PDFs.

The numbers on this page change quietly, so check pdfsharp.com before you budget. Our iText and .NET PDF library cost guide keeps the other vendors in this table current.

Written by the team behind SitePDF, an HTML to PDF API that archives every page it renders. The in-browser converter is free to try, and API plans start at $49 a month, half price billed yearly.

Get started

Render and archive with one API call

A pixel perfect PDF and a dated copy of the page from the same request. Plans from $49 a month, half price billed yearly.

HTML to PDF, in your browser

Buy the plan