Skip to main content
HtmlRenderer.PdfSharp package icon

HtmlRenderer.PdfSharp

PDF document generator from HTML snippet, 100% managed (C#), High performance library using PdfSharp. Features and Benefits: --- * 100% managed code depends only on PdfSharp library, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable.

Total Downloads
6.9M
6,850,712
Published
Dec 12, 2025
Latest stable version

Install

.NET CLI
dotnet add package HtmlRenderer.PdfSharp --version 1.5.1
Package Manager Console
Install-Package HtmlRenderer.PdfSharp -Version 1.5.1
PackageReference
<PackageReference Include="HtmlRenderer.PdfSharp" Version="1.5.1" />

Frameworks

.NETFramework4.6.2

Dependencies

HtmlRenderer.Core
.NETFramework4.6.2
[1.5.1, )
PDFsharp
.NETFramework4.6.2
[1.50.5147, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.