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/ExpertPdfHtmlToPdf |
Install
Install-Package ExpertPdfHtmlToPdf
dotnet add package ExpertPdfHtmlToPdf
paket add ExpertPdfHtmlToPdf
ExpertPdfHtmlToPdf Download (Unzip the "nupkg" after downloading)
Dependencies
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 2.0 to 4.8.1. It is the build for x86 and AnyCPU applications; for 64-bit applications use ExpertPdfHtmlToPdf-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.
- Chromium (Chromium 154) - install ExpertPdf.HtmlToPdf.Chromium.Windows; Windows; runs in its own process.