Free Html to Pdf Converter For .NET (ASP.NET, MVC, Windows Forms)

Converting from html to pdf is not an easy task. There are some tools that can do that, but most of them cost thousands of dollars.

Select.Pdf offers a Community Edition (FREE) of the powerful Html To Pdf Converter for .NET that can be found in the full featured pdf library Select.Pdf for .NET. The free html to pdf converter offers most of the features the professional sdk offers, the most notable limitation is that it can only generate pdf documents up to 5 pages long.

The community edition contains ready to use samples, coded in C# and VB.NET for Windows Forms and ASP.NET. Select.Pdf Html To Pdf Converter for .NET works on any Windows OS and on Windows Azure.

Html to Pdf Converter For .NET - Community Edition Features

Building the Sample

The sample project attached presents most of the SelectPdf Html To Pdf Converter Features. A reference to the Select.Pdf Html To Pdf for .NET was a added as a NuGet Package. Alternatively, the free product can be downloaded from http://selectpdf.com/community-edition/.

SelectPdf Free Html To Pdf Converter is very easy to use. Below is a small sample code. A lot more can be found in the sample project attached.

// instantiate the html to pdf converter 
HtmlToPdf converter = new HtmlToPdf();    // convert the url to pdf  PdfDocument doc = converter.ConvertUrl(url);    // save pdf document  doc.Save(file);    // close pdf document  doc.Close();