From a NuGet package to your first PDF in three lines of C#
EvoPdf Next renders HTML, CSS and JavaScript to PDF with a Chromium-based engine packaged as a .NET library. It runs on Windows, Linux and macOS, in web, console and desktop applications, on Azure and in Docker. It produces PDF/UA and PDF/A documents directly from your HTML. Add the package, paste the code and you have a PDF.
Version 14.60.0. Evaluate without registration; the demo output is watermarked until you set a license key. Perpetual licenses from 450 USD. Developers are never counted.
Everything about the HTML to PDF converter · Documentation · Samples on GitHub
dotnet add package EvoPdf.Next.HtmlToPdf.Windows
Windows package shown. EvoPdf.Next.HtmlToPdf.Linux and EvoPdf.Next.HtmlToPdf.MacOS work the same way.
using EvoPdf.Next; // URL to PDF var converter = new HtmlToPdfConverter(); byte[] pdf = converter.ConvertUrl( "https://www.evopdf.com"); File.WriteAllBytes("UrlToMemory.pdf", pdf); // HTML string to PDF, with base URL converter = new HtmlToPdfConverter(); pdf = converter.ConvertHtml("<b>Hello World</b>", "https://www.evopdf.com"); File.WriteAllBytes("HtmlToMemory.pdf", pdf);
- Windows 10 / 11 / Server 2016–2025, x64 and ARM64
- Linux 64-bit, x64 and ARM64
- macOS 12+ on Apple Silicon
- .NET 6 → 10, .NET Standard 2.0
- .NET Framework 4.6.2 – 4.8.1
- Azure App Service, Functions, Cloud Services & VMs · Docker
A browser's rendering, a document's structure
Rendered by Chromium
HTML5, CSS3, JavaScript, web fonts and SVG render exactly as they do in the browser, with screen or print media, JavaScript executed and asynchronous content awaited. The engine ships inside the package and is updated with the library.
PDF/UA and PDF/A from the HTML
Tagged, accessible PDF/UA documents and archival PDF/A documents generated from the HTML structure and checked with validators. Headers and footers written in HTML, page numbers, bookmarks and tables of contents built from the headings.
Built for servers
Conversions run in parallel, each document in its own private browser. One setting controls how many run at once, the memory per conversion is known and nothing is written to disk. Thousands of conversions in a row end with the same footprint as the first hundred. The converter works normally on machines with no outbound internet access.
One API on every platform
The same code on Windows, Linux and macOS, x64 and ARM64, from .NET Framework 4.6.2 to .NET 10. Deployment guides for Azure App Service, Azure Functions and Docker, with Dockerfiles ready to build.
Perpetual licenses, with a year of updates and support
The HTML to PDF license covers the converter, Next and Classic. After purchase you receive a license key by email. Set it in your code and the demo stamps disappear.
Deployment License
- For your own application, not for applications you distribute to customers
- Updates and standard support for the first year
Company License
- Redistribute inside your own applications to your customers, at no extra cost
- Updates and priority support for the first year
See it run, then read the details
The online demo is the ASP.NET application you download, running on our servers, with the source code of every demo in the documentation. The product page describes every feature of the converter, the packages for each platform and the deployment options.