Introduction of AGPL and commercial license
With the current release we switched PDFsharp and MigraDoc to dual licensing.
As we respect and honor the work of the community, the libraries are published under the free AGPL license.
If required for your project, you can purchase a commercial license separately.
For 6.2 and older versions of PDFsharp and MigraDoc no further updates will be provided – so we recommend updating to 6.5.0 or 7.0.0-preview-2.
Welcome to the home of
PDFsharp and MigraDoc
Add amazing PDF capabilities to your applications
How can we assist you?
- Benefit from our experience and make use of our tailored offers – brought directly to you by the PDFsharp and MigraDoc engineering team
- Use our document builder service and get maintainable C# code generating your documents – written with the know-how of our developers
- Explore our PsX solutions for use cases concerning interactive forms, Factur‑X, text extraction, and more – or order individual contact work
PsX solutions for advanced requirements
Get our easy-to-use solutions for a variety of use cases to multiply the power of PDFsharp. Explore PsX Forms, PsX Factur‑X, PsX Text Extractor and more.
Document builder service for your document template
We will gladly replicate your business documents with PDFsharp or MigraDoc code to get you started quickly and successfully.
Commercial license for closed‑source & enterprise use
Get the commercial license to use PDFsharp and MigraDoc free in proprietary, closed‑source, internal, hosted, SaaS, and commercial applications and services.
Contract work for project development
Our team provides PDFsharp expert assistance, including implementation, optimization, and tailored solutions.
Support levels for your specific needs
Choose a support plan that suits your needs. We offer a variety of options, from small projects to large teams, with flexible response times.
Introducing PDFsharp and MigraDoc
Experience our two popular PDF libraries for .NET.
Flexible and powerful:
Use PDFsharp to create, modify, and merge your PDF documents.
Draw content freely on a page with full control over the PDF file.
Get to know PDFsharp
Intuitive and maintainable:
Use MigraDoc to create PDF documents with an automatic text flow.
Easily change content and layout of the generated document.
Get to know MigraDoc
A .NET library for processing PDF
PDFsharp is an open‑source .NET library for creating and modifying PDF documents.
It provides an easy-to-use API to generate, modify or merge PDF files programmatically. PDFsharp can be used for various applications, including creating reports, invoices, and other types of documents.
Creating documents on the fly
MigraDoc is an open‑source .NET library for creating PDF documents with layout and text flow.
The intuitive object model simplifies the creation of documents, including text formatting, tables, images, sections, styles and more. MigraDoc is widely used for generating documents with a sophisticated layout.
Get to know PDFsharp
Get to know MigraDoc
Our counts
Successful
since
Total NuGet
downloads
Average daily
downloads
Don’t hesitate to contact us
for individual concerns!
Contact us
Frequently asked questions
What are the differences between PDFsharp and MigraDoc?
PDFsharp is a .NET library for creating and modifying PDF documents. You can draw graphics, text, and images freely on a PDF page. This is very flexible, but you are on your own to calculate layout, justified text, etc.
MigraDoc on the other hand easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF or RTF. MigraDoc uses PDFsharp for PDF rendering.
Are there any costs for using PDFsharp or MigraDoc?
You can use PDFsharp and MigraDoc with the included AGPL license for free. However, AGPL comes with the restriction that your project has to be open‑source and licensed with an AGPL license as well.
If your project is closed‑source or not AGPL licensed, you have to buy a commercial license. With the commercial license you can use the libraries in proprietary, closed‑source, internal, hosted, SaaS, and commercial applications and services.
May I include PDFsharp or MigraDoc in my commercial or closed‑source projects?
Of course, you can include the libraries in commercial projects. But consider that the free AGPL licensed version requires your project to be open‑source and licensed with an AGPL license as well.
If your project is closed‑source or not AGPL licensed, you have to buy a commercial license. With the commercial license you can use the libraries in proprietary, closed‑source, internal, hosted, SaaS, and commercial applications and services.
Will PDFsharp and MigraDoc stay open‑source in the future?
Yes, both libraries will stay open‑source and free to use under the AGPL license requirements.
May I modify the source code of PDFsharp or MigraDoc for my purposes?
Yes. You can clone the GitHub repo and modify the code for your needs. But consider that the free AGPL licensed version requires your project to be open‑source and licensed with an AGPL license as well.
If your project is closed‑source or not AGPL licensed, you have to buy a commercial license. With the commercial license you can use the libraries in proprietary, closed‑source, internal, hosted, SaaS, and commercial applications and services.
We also provide support to extend PDFsharp for your specific use case.
What kind of support or development assistance can I get for PDFsharp and MigraDoc?
We have several offers depending on your needs (see Offers).
What about the PDFsharp/MigraDoc community?
Our large PDFsharp/MigraDoc community is essential for the project. The active community provides a lot of support for other users, feedback, bug fixes, optimizations, and new functionality.
The NuGet packages of PDFsharp and MigraDoc have had 60+ million downloads so far, not counting the downloads from SourceForge, CodePlex, and other former sites.
The classic PDFsharp & MigraDoc forum was established in 2006, but nowadays, you can also use discussions on GitHub.
Posts, feedback and new ideas from the community perpetually lead to improvements and new functionality.