IRONSOFTWAREHOME

The NReco.PdfGenerator Alternative for HTML to PDF in C#

NReco.PdfGenerator is a commercial wrapper around the archived wkhtmltopdf engine. IronPDF renders HTML, CSS, and JavaScript with a modern Chromium engine, ships as one NuGet package with no native binary, and adds full PDF editing. Three lines of C#.

  • Modern Chromium engine: flexbox, grid, web fonts, and JavaScript, not Qt WebKit
  • Pure NuGet, no wkhtmltopdf binary to extract, deploy, or locate per OS
  • Editing, merging, signing, and forms in the same library, not generate-only
  • Free 30-day trial, no watermarks, no credit card
NReco.PdfGenerator vs IronPDF
Online DemoSee All Code Examples
// NReco.PdfGenerator: a paid wrapper over the wkhtmltopdf binary
using NReco.PdfGenerator;

var htmlToPdf = new HtmlToPdfConverter();
// License needed for SaaS / multi-server / .NET Core (LT build)
htmlToPdf.License.SetLicenseKey("your_id", "your_license_key");
htmlToPdf.WkHtmlToPdfExeName = "wkhtmltopdf.exe"; // ship per OS
htmlToPdf.PdfToolPath = @"C:\app\wkhtmltopdf"; // deploy binary
byte[] bytes = htmlToPdf.GeneratePdf("<h1>Hello World</h1>");
File.WriteAllBytes("output.pdf", bytes);
// Rendered by Qt WebKit (frozen ~2015): no flexbox or grid.

// IronPDF: modern Chromium, no wkhtmltopdf binary to deploy
using IronPdf;
var renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");
pdf.SaveAs("output.pdf");
NuGet Downloads Badge
PM >
Install-Package IronPdf

Cross Platform Support

One managed NuGet package runs on Windows, Linux, Docker, Azure, and AWS, with no per-platform wkhtmltopdf binary and no separate cross-platform build to license.

Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework
Available for .NET, Java, Node.js, and Python.

NET Logo
Windows Logo
Linux Logo
Mac Logo
Docker Logo
Azure Logo
AWS Logo
Visual Studio Logo
NuGet Logo
ReSharper

.NET Versions:

OS & Processors:

  • Windows (x64, x86)
  • Mac (x64, ARM)
  • Linux (x64)

.NET Project Types:

  • Web (Blazor & WebForms)
  • Desktop (WPF & MAUI)
  • Console (App & Library)

App Environments:

  • Windows (10+, Server UI 2012+, Server Core 2022)
  • Linux (Ubuntu, Debian, CentOS, etc.)
  • Mac (macOS 10+)
  • Docker (Windows, Linux, Azure)
  • Azure (VPS, WebApp, Function)
  • AWS (EC2, Lambda)

IDEs:

Binary Certification

  • DigiCert Signed Binaries

Why developers move from NReco.PdfGenerator to IronPDF

NReco.PdfGenerator is a tidy wrapper that saves you from integrating wkhtmltopdf by hand, but it renders with Qt WebKit, frozen around 2015, so modern CSS such as flexbox and grid does not render reliably. It is free only for single-server, non-SaaS use; SaaS, multi-server, and the cross-platform LT build require a paid license. IronPDF renders HTML with a modern Chromium engine, ships without a native binary, and keeps editing, merging, forms, and signing in the same library.

Get your free 30-day Trial Key instantly.

Everything a wkhtmltopdf wrapper cannot give you

Create PDFs

NReco.PdfGenerator vs IronPDF

NReco.PdfGeneratorIronPDF
Rendering enginewkhtmltopdf / Qt WebKit, frozen ~2015Modern Chromium
Upstream engine statuswkhtmltopdf archived Jan 2023 (0.12.6)Actively maintained
Modern CSS / JSNo flexbox or grid; dated JSFull CSS3, flexbox, grid, JavaScript
Deploymentwkhtmltopdf binary (LT: ship per OS)Pure NuGet, no native binary
SecurityInherits unpatched wkhtmltopdf CVEsMaintained and patched
LicenseFree only single-server non-SaaS; paid otherwiseCommercial, perpetual options
Cross-platformLT build needs license and manual binaryOne package, all platforms
PDF featuresGenerate only (header, footer, page numbers)Edit, merge, sign, forms, extract
SupportEmail / demo key24/5 engineers

Why IronPDF?

Built for developers who would rather pay for a modern engine than a wrapper around an archived one.

Click to view video about Why IronPDF?

Pixel-perfect rendering

  • Chromium-grade HTML/CSS/JS ➝ what you see in the browser is what’s in the PDF.
  • Fonts, SVGs, image, complex layouts - consistent across environment.
  • Handles header/footers, page number, margins, and pagination edge cases.

Up & running in 5 mins

  • PM > Install-Package IronPdf
    and one dependency covers generate, edit, merge, watermark, sign, and secure
  • No second package to add, no third licence to reconcile, no glue code between libraries that disagree.
  • Instant licence key, full API access, and a commercial licence with no copyleft strings attached.

Cross-platform

  • .NET 10, 9, 8 LTS, Framework 4.62+
  • OS: Windows, Linux, macOS.
  • Cloud/containers: Azure, AWS, Docker/Kubernetes, serverless.
Platform that supported

Great documentation

  • Copy-paste your first PDF
  • Task-based examples for HTML ➝ PDF, merge/split, stamping, forms, signing.
  • Troubleshooting for fonts, page breaks, headless/ cloud deploys.

Perpetual license & 24/5 support

  • Perpetual license - buy once, use forever. Optional updates and renewals.
  • 24/5 engineer support (24/7 in Premium) Real humans, median chat response <1 min
  • 30-day money-back guarantee Not the right fit? Full refund, no questions.

For builders

  • Features you'll actually use:
    • merge/split
    • TOC/bookmarks
    • headers/footers/margins
    • watermarks/stamps
    • forms (fill/extract)
    • attachments
    • images
    • permissions
    • compressing
    • digital signing
  • Works everywhere: Windows, Linux, macOS, Docker, Azure, AWS, cloud.

For buyers

  • Trusted by 2M+ engineers • 14M+ NuGet installs.
  • Teams report 40% dev-time saved vs DIY/OSS wrappers.
  • Redistribution/SaaS options available.
  • Procurement-friendly: perpetual license, optional renewals, invoice available, multiple payment options (including local).
  • 30-day money-back guarantee.

What our Customers say about IronPDF?

Agorus40%SAVING

quote_symbolWhere in the past we might have to go out and use one plug-in or one package for OCR, and another one for PDF, having them all integrated into one low-cost package was really great for us.

David JonesDavid JonesLead Software EngineerRead the case study

Green2View

Green2View savings chartSAVING20%

Green2view achieved 20% savings, 30% faster document turnaround, and 100% compliance.

Read the case study
WILLAN

WILLAN savings chartLESS ADMIN WORK40%

It just works—automated PDF generation delivers pixel-perfect financial reports every time.

Read the case study

Every time developers ask, it's a YES! from IronPDF

Is IronPDF a modern alternative to NReco.PdfGenerator for HTML to PDF?YES!

Can I avoid the archived wkhtmltopdf engine NReco wraps?YES!

Can I convert HTML to PDF without shipping a wkhtmltopdf binary?YES!

Does IronPDF render flexbox, grid, and modern CSS that Qt WebKit cannot?YES!

Can I use it in SaaS and multi-server deployments under one clear license?YES!

Can I edit, merge, sign, and extract from PDFs, not only generate them?YES!

Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?YES!

Can I convert an HTML string to PDF in one line of C# code?YES!

Can I convert a URL to PDF with authentication, cookies, and custom headers?YES!

Can I generate a PDF from Razor, CSHTML, or ASPX views?YES!

Can I add custom headers, footers, page numbers, and watermarks during conversion?YES!

Can I run HTML to PDF conversion in Docker, Azure Functions, or AWS Lambda?YES!

Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?YES!

Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?YES!

Can I set custom viewport dimensions and print media CSS to control responsive layouts?YES!

Is IronPDF compatible with Azure Functions?YES!

Can I permanently redact sensitive text and images from PDF documents?YES!

Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?YES!

Can I access PDF DOM through ObjectModel property?YES!

Can I programmatically fill, read, and flatten interactive AcroForm?YES!

Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?YES!

Can I secure a document with 256-bit AES password encryption and set user permissions?YES!

Can I apply and verify digital signatures on a PDF using X.509 certificates?YES!

Can I test IronPDF in my live project for free now?YES! Click here to start your 30-day free trial

World-Class Engineering,
24-Hour Support

Talk to an Expert

20 Million NuGet Installs and Only Accelerating

20M+2026

Ready to Get Started?

Nuget Downloads 20,389,208Version:2026.8just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
Key in blue circle

Get your free 30-day Trial Key instantly.

bullet_checkedNo credit card or account creation required
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge related to IronPDF Product Demo

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required