Your account has not been activated. Click here to send an activation email to your email address.
Unfortunately, activation email could not send to your email. Please try again.
How to convert HTML to PDF in ASP.NET Core Linux

Essential PDF now supports HTML to PDF conversion in ASP.NET Core application using .NET Standard 2.0.

Minimum product version:

Minimum .NET core version: 2.0.0

The following assemblies or NuGet package is required for converting HTML to PDF in ASP.NET Core.

Assemblies Required:

  • Syncfusion.Compression.Portable.dll
  • Syncfusion.Pdf.Portable.dll
  • Syncfusion.HtmlConverter.Portable.dll
  • QtBinaries


All the above-mentioned assemblies and QtBinaries can get by downloading the WebKit HTML converter Linux available in the below link.

WebKit HTML Converter Linux (ZIP file):

Please refer below steps after downloading WebKit HTML converter for Linux.

  1. Extract the zip file ( in Linux and open the QtBinaries folder in file explorer.
  2. Provide the execute permission for Syncfusion.WebKitWrapper file inside the QtBinaries. Please refer below screenshot,



  1. Then run the HtmlToPdf sample inside the sample folder for converting HTML to PDF. Open the sample folder (HtmlToPdf.csproj) in Linux terminal, then enter the below commands one by one.

dotnet restore

dotnet build

dotnet run

Code snippet:


Please refer the below UG documentation for more feature details,


Article ID: Published Date: Last Revised Date: Platform: Control:
8481 02/23/2018 02/26/2018 ASP.NET Core PDF
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.