§ COMMUNITY EDITION FREE · .NET FRAMEWORK + .NET CORE + .NET 5–10

Free HTML to PDF for .NET.
The Community Edition that ships in production.

SelectPdf Community Edition is the free HTML to PDF converter for .NET — the same engine as our commercial library, with full HTML5/CSS3, a real JavaScript runtime and custom headers and footers — capped at five PDF pages per document. Free for any use, including production. It is a free product, not the commercial trial.

SELECTPDF · COMMUNITY
.NET FRAMEWORK · .NET CORE
FREE
5
PAGES MAX

Per generated PDF. A few advanced features need the commercial library.

HTML5 · CSS3 · JS v26.3
§WHAT YOU GET

The free HTML to PDF converter for .NET, in six bullets.

  • Convert any URL or HTML file to PDF
  • Convert raw HTML strings to PDF
  • No external dependencies
  • Powerful JavaScript engine
  • HTML5 / CSS3 support
  • Customizable headers and footers
§VERY EASY TO USE

Four lines of C#. One PDF.

Instantiate the converter, call ConvertUrl, save the result, close the document. The Community Edition exposes the same surface as the commercial library — porting later is a no-op.

HtmlToPdf.cs
// 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();
HtmlToPdf.vb
' instantiate the html to pdf converter
Dim converter As New HtmlToPdf()

' convert the url to pdf
Dim doc As PdfDocument = converter.ConvertUrl(url)

' save pdf document
doc.Save(file)

' close pdf document
doc.Close()
RESOURCES
Samples & docs

The Community package contains ready-to-use samples, coded in C# and VB.NET, for Windows Forms and ASP.NET.

Invoice PDF generated by the free SelectPdf Community Edition HTML to PDF converter for .NET
Real PDF — generated from HTML by SelectPdf
§FULL FEATURE LIST

The Community Edition feature set.

The conversion options the free HTML to PDF converter for .NET exposes — within the five-page limit. What needs the commercial library is listed next.

Output
  • Generate PDF documents up to 5 pages
  • Convert any web page to PDF
  • Convert any raw HTML string to PDF
  • Set PDF page settings (size, orientation, margins)
  • Resize content during conversion to fit the PDF page
  • Set PDF document properties
  • Set PDF viewer preferences
  • Set PDF security (passwords, permissions)
Layout
  • Set conversion delay and web page navigation timeout
  • Custom headers and footers
  • Support for HTML in headers and footers
  • Automatic and manual page breaks
  • Repeat HTML table headers on each page
  • Support for @media types screen and print
  • Support for internal and external links
  • Generate bookmarks automatically based on HTML elements
Networking & runtime
  • Support for HTTP headers
  • Support for HTTP cookies
  • Support for web pages that require authentication
  • Support for proxy servers
  • Enable / disable JavaScript
  • Modify color space
  • Multithreading support
  • HTML5 / CSS3 / web fonts support
§NEEDS THE COMMERCIAL LIBRARY

What's not in the free edition.

The Community Edition is a free product with limited functionality — it is not the commercial trial. These features require the full SelectPdf Library for .NET (which has its own free, watermarked trial).

Scale & targeting
  • Create PDF documents with more than 5 pages
  • Convert only a section of the page by HTML element ID
  • Manually start the conversion from JavaScript
  • Run a JS startup script before conversion
  • Hide parts of the web page during conversion
  • Custom headers and footers on specific pages
Work with PDFs
  • Load and modify existing PDF documents
  • Add HTML, text, images to a PDF (PdfHtmlElement / PdfTextElement / PdfImageElement)
  • Resize/scale content of existing PDFs
  • PDF portfolios management
  • Form-field filling
  • Accessible / tagged PDF (PDF/UA-1) and PDF/A-3
  • Specify the open action (jump to page, run script)
Extract & convert
  • Extract text from PDF (PDF to Text converter)
  • Search for text in a PDF
  • Convert PDF pages to images (PDF to Image converter)
  • Get web-elements location in the PDF
§COMPATIBILITY

Where it runs.

.NET Framework and .NET Core through to .NET 10, on Windows — in-process, including Azure Web Apps.

Frameworks.NET Framework 2.0+ / 4.0+, .NET Core, and .NET 5 through .NET 10
EnginesWebKit, WebKit Restricted, Chromium (from .NET 2.0) · Blink (.NET 4.6.1+)
OSWindows only — x86 and x64
CloudAzure Web Apps — fully supported
Page limit5 pages per generated PDF document
SamplesC# and VB.NET — Windows Forms and ASP.NET
LicenseFree for any use, including commercial
§FAQ

The free .NET edition, answered.

Yes. The SelectPdf Community Edition — the free HTML to PDF converter for .NET — is free for personal and commercial projects, with no royalties and no per-document fees.
The Community Edition generates PDF documents up to five pages long. The five-page cap is the main limit, but it is not the only one — some features such as loading and modifying existing PDFs, PDF to Text, PDF to Image and form filling need the commercial library; see what is not in the free edition.
No. The Community Edition is a separate free product with limited functionality — it is not the trial. The commercial SelectPdf Library has its own free trial: the full library, no limits, with a watermark on every page.
Documents over five pages, loading and modifying existing PDFs, PDF to Text, PDF to Image, searching text in a PDF, form filling, PDF portfolios, web-elements location, accessible / tagged PDF (PDF/UA-1) and PDF/A-3, converting only a page section, and starting the conversion from JavaScript all require the commercial SelectPdf Library for .NET.
It supports .NET Framework 2.0+ / 4.0+, .NET Core, and .NET 5 through .NET 10, and ships the WebKit, WebKit Restricted, Blink and Chromium engines. WebKit, WebKit Restricted and Chromium run from .NET Framework 2.0 onward; Blink requires .NET Framework 4.6.1 or later.
Yes. The library runs in-process on Windows (x86 and x64), including Azure Web Apps. Not on .NET / not on Windows? Reach for the SelectPdf Online API instead — identical rendering, over REST.
The Community Edition package ships ready-to-use samples coded in C# and VB.NET for Windows Forms and ASP.NET, plus online documentation.
Swap in a commercial license key — the API is identical, so existing code keeps working with no changes. Or move to the SelectPdf Online API to run from any language or OS.