Converting HTML to PDF File
9 Jul 20261 minute to read
The HTML to PDF converter is a .NET library for converting webpages, SVG, MHTML, and HTML files to PDF using C#. It uses popular rendering engines such as Blink (Google Chrome) and is reliable and accurate. The result preserves all graphics, images, text, fonts, and the layout of the original HTML document or webpage.
Syncfusion® HTML-to-PDF converter will work seamlessly in various platforms like Azure Cloud or web apps, Azure Functions, Amazon Web Service (AWS), Docker, WinForms, WPF, ASP.NET MVC, ASP.NET Core with Windows, Linux, and macOS.
Key features for HTML Converter
- Converts any webpage to PDF.
- Converts any raw HTML string to PDF.
- Converts HTML form to fillable PDF form.
- Automatically creates Table of Contents.
- Automatically creates bookmark hierarchy.
- Converts only a part of the web page to PDF.
- Supports PDF header and PDF footer.
- Repeats HTML table header and footer in PDF.
- Supports HTML5, CSS3, SVG, and Web fonts.
- Converts any HTML to an image.
- Converts any SVG to image.
- Supports accessing HTML pages using both HTTP POST and GET methods.
- Supports HTTP cookies.
- Supports cookies-based form authentication.
- Thread safe.
- Supports internal and external hyperlinks.
- Sets document properties, page settings, security, viewer preferences, and more.
- Protects PDF document with password and permission.
- Compatible with .NET Framework 4.5 and above.
- Compatible with .NET Core 2.0 and above.