Skip to main content
BitMiracle.Docotic.Pdf.HtmlToPdf package icon

BitMiracle.Docotic.Pdf.HtmlToPdf

Convert HTML to PDF in C# using this Docotic.Pdf add-on. Your C# HTML to PDF conversion will produce the pixel-perfect PDF because the add-on uses Chromium during rendering. You get the same web standards compliance as in Google Chrome (R). Use the add-on to convert HTML to PDF in the C# code of your .NET Core, ASP.NET, Windows Forms, WPF, Xamarin, or Blazor application. The add-on supports .NET 10 - .NET 5, .NET Core 2.0+ and .NET Framework 4.6.1+. You can use the add-on on Windows, Linux, and macOS. It works in Azure and AWS cloud environments and can be used from a Docker container. This HTML to PDF converter provides an async API for C# and VB.NET. You can convert HTML strings and files, SVG images, and HTML with CSS and scripts. You can also specify header and footer templates. The add-on includes advanced capabilities such as converting password-protected URLs, ignoring SSL errors, and delaying the start of conversion. Find an overview of the HTML to PDF capabilities of this C# library at https://bitmiracle.com/pdf-library/html-pdf/ To explore Docotic.Pdf features beyond HTML‑to‑PDF conversion, visit https://bitmiracle.com/pdf-library/help Core library NuGet package: https://www.nuget.org/packages/BitMiracle.Docotic.Pdf/ This is a prerelease version with the newest features and latest bug fixes. We have tested it for regressions, and is safe to use in a production environment.

Total Downloads
450.7K
450,672
Published
Jul 22, 2026
Latest stable version

Install

.NET CLI
dotnet add package BitMiracle.Docotic.Pdf.HtmlToPdf --version 9.9.20095-dev
Package Manager Console
Install-Package BitMiracle.Docotic.Pdf.HtmlToPdf -Version 9.9.20095-dev
PackageReference
<PackageReference Include="BitMiracle.Docotic.Pdf.HtmlToPdf" Version="9.9.20095-dev" />

Frameworks

.NETStandard2.0

Dependencies

[10.0.3, )
System.Text.Json
.NETStandard2.0
[10.0.3, )
[3.0.1, )
BitMiracle.Docotic.Pdf
.NETStandard2.0
[9.9.20095-dev, 9.9.20095-dev]

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

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.