BitMiracle.Docotic.Pdf.HtmlToPdf 9.4.17342

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package BitMiracle.Docotic.Pdf.HtmlToPdf --version 9.4.17342
NuGet\Install-Package BitMiracle.Docotic.Pdf.HtmlToPdf -Version 9.4.17342
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BitMiracle.Docotic.Pdf.HtmlToPdf" Version="9.4.17342" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BitMiracle.Docotic.Pdf.HtmlToPdf --version 9.4.17342
#r "nuget: BitMiracle.Docotic.Pdf.HtmlToPdf, 9.4.17342"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BitMiracle.Docotic.Pdf.HtmlToPdf as a Cake Addin
#addin nuget:?package=BitMiracle.Docotic.Pdf.HtmlToPdf&version=9.4.17342

// Install BitMiracle.Docotic.Pdf.HtmlToPdf as a Cake Tool
#tool nuget:?package=BitMiracle.Docotic.Pdf.HtmlToPdf&version=9.4.17342

HTML to PDF add-on for Docotic.Pdf library

Convert HTML to PDF in C# code 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 conversion. You'll get the same web standards compliance as in Google Chrome ®.

Use the add-on to convert HTML to PDF in C# code of your NET Core, ASP.NET, Windows Forms, WPF, Xamarin, or Blazor application.

  • The add-on supports .NET 8, .NET 7, .NET 6, .NET 5, .NET Standard / .NET Core, and .NET 4.x frameworks
  • You can use the add-on in .NET on Windows, Linux, and macOS. Works in Azure and AWS cloud environments. Can be used from a Docker container.

This HTML to PDF converter provides async API for C# and VB.NET code. You can convert HTML strings and files, SVG images, HTML with CSS and scripts. It is possible to specify header and footer templates.

The add-on also provides advanced capabilities like converting password-protected URLs, ignoring SSL errors and delaying the conversion start.

Core library NuGet package available at

Articles about C# HTML to PDF conversion

Sample code

For more documentation, sample code, and API reference, visit the Docotic.Pdf help page.


Get a free time-limited license using the form on the Docotic.Pdf page to test the library without evaluation mode restrictions.

We offer royalty-free licenses for Docotic.Pdf. Eligible projects and/or people can receive license for the C# PDF library free of payment.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.4.17391-dev 39 6/19/2024
9.4.17358-dev 51 6/13/2024
9.4.17351-dev 58 6/4/2024
9.4.17342 202 5/24/2024
9.3.16793 395 3/11/2024
9.2.16470 806 12/6/2023
9.1.15877 134 12/3/2023
9.0.15478 123 12/3/2023
8.8.16445 130 12/1/2023
8.8.14015 2,373 11/30/2022
8.7.13797 2,777 10/11/2022
8.6.13474 3,062 6/13/2022
8.5.13147 19,922 3/3/2022
8.4.12906 1,500 12/29/2021
8.3.12622 909 10/20/2021
8.2.12561 481 10/6/2021
8.1.12215 2,143 7/9/2021