Info
| Version: | 22.0.0 |
| Author(s): | Outside Software Inc. |
| Last Update: | Friday, November 20, 2026 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://www.html-to-pdf.net/ |
| NuGet Url: | https://www.nuget.org/packages/ExpertPdf.HtmlToPdf.NetCore |
Install
Install-Package ExpertPdf.HtmlToPdf.NetCore
dotnet add package ExpertPdf.HtmlToPdf.NetCore
paket add ExpertPdf.HtmlToPdf.NetCore
ExpertPdf.HtmlToPdf.NetCore Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Newtonsoft.Json(>= 12.0.1)
- System.Buffers(>= 4.5.0)
- System.Drawing.Common(>= 4.5.1)
- System.Numerics.Vectors(>= 4.5.0)
- System.Security.Principal.Windows(>= 4.5.0)
- System.Text.Encoding.CodePages(>= 4.5.1)
- System.Threading.Tasks.Extensions(>= 4.5.2)
- Newtonsoft.Json(>= 12.0.1)
- System.Buffers(>= 4.5.0)
- System.Numerics.Vectors(>= 4.5.0)
- System.Threading.Tasks.Extensions(>= 4.5.2)
- Newtonsoft.Json(>= 12.0.1)
- System.Buffers(>= 4.5.0)
- System.Numerics.Vectors(>= 4.5.0)
- System.Threading.Tasks.Extensions(>= 4.5.2)
Tags
It renders the HTML like a browser, with a choice of rendering engines, and gives you full control over the PDF: page settings, headers and footers, bookmarks, links, security, PDF/A, tagged PDF and electronic invoices.
This package contains the library for .NET Framework 4.6.1 to 4.8.1, .NET Core 2.0+ and .NET 5 to .NET 11 (through .NET Standard 2.0). It is the build for x86 and AnyCPU applications; for 64-bit applications use ExpertPdf.HtmlToPdf.NetCore.x64.
Features
- Convert web pages (URLs), HTML strings and HTML files to PDF documents, and to images
- Three rendering engines: WebKit (built in), Blink and Chromium (separate engine packages) with full support for HTML5, CSS3, web fonts and modern JavaScript
- Page size, orientation, margins, fit width, page breaks control (CSS page-break, keep together), repeated table headers
- Headers and footers with HTML content and page numbering
- Automatic bookmarks, table of contents, live internal and external links
- Tagged (accessible) PDF / PDF/UA, PDF/A-1b, PDF/A-2b, PDF/A-3b, PDF/A-3u, PDF/A-3a and PDF/X-1a
- ZUGFeRD 2.x / Factur-X electronic invoices and associated files (PDF/A-3)
- Security: user and owner passwords, print / copy / edit permissions, 40, 128 and 256 bit encryption; digital signatures
- Authentication, cookies, HTTP headers and POST data; select or exclude page elements; JavaScript delay and conversion triggered from JavaScript
- Add text, images, shapes and more HTML to the generated PDF; merge with existing PDF documents
- Thread safe: convert in parallel in web applications and services
Rendering engines
- WebKit - built in, the default engine.
- Blink (Chromium 148) - install ExpertPdf.HtmlToPdf.NetCore.Blink; .NET Framework 4.6.1+ and .NET Core / .NET 5+.
- Chromium (Chromium 154) - install ExpertPdf.HtmlToPdf.NetCore.Chromium.Windows; Windows; runs in its own process.