I recently performed a PoC regarding HTML to PDF conversion and wanted to share my results.
My favorite by far is OpenHtmlToPdf
Advantages of this tool:
- Very good HTML compatibility (e.g. it was the only tool in my example that correctly repeated table headers when a table spanned multiple pages)
- Fluent API
- Free and OpenSource (Creative Commons Attribution 3.0 license)
- Available via NuGet
Other tools tested:
- ExpertPDF (http://www.html-to-pdf.net/)
- IronPDF (http://ironpdf.com/)
- iTextSharp (https://sourceforge.net/projects/itextsharp/)
- NReco PDF Creator for .NET
(http://www.nrecosite.com/pdf_generator_net.aspx)
- HTML renderer for PDF Sharp
(https://www.nuget.org/packages/HtmlRenderer.PdfSharp/)
- SelectPDF community edition (http://selectpdf.com/community-edition/)