.NET 5.0 .NET Core 2.0 .NET Standard 2.0 .NET Framework 4.6.1
dotnet add package sautinsoft.exceltopdf --version
NuGet\Install-Package sautinsoft.exceltopdf -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="sautinsoft.exceltopdf" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add sautinsoft.exceltopdf --version
#r "nuget: sautinsoft.exceltopdf,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install sautinsoft.exceltopdf as a Cake Addin
#addin nuget:?package=sautinsoft.exceltopdf&version=

// Install sautinsoft.exceltopdf as a Cake Tool
#tool nuget:?package=sautinsoft.exceltopdf&version=

Nuget Nuget Passed windows macOS linux docker aws microsoftazure

.NET SDK to convert Excel (xls, xlsx) to PDF


SautinSoft.Excel is .NET assembly (SDK) to convert Excel (.xls and .xlsx) workbooks to PDF, RTF, DOCX, Word.

Top Features

System Requirement

  • .NET Framework 4.6.1 - 4.8.1
  • .NET Core 2.0 - 3.1, .NET 5, 6, 7
  • .NET Standard 2.0
  • Windows, Linux, macOS, Android, iOS.

Getting Started with Excel to PDF .Net

Are you ready to give Excel to PDF .NET a try? Simply execute Install-Package sautinsoft.exceltopdf from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Excel to PDF .NET and want to upgrade the version, please execute Update-Package sautinsoft.exceltopdf to get the latest version.

Convert XLS to PDF

ExcelToPdf x = new ExcelToPdf();
// Set PDF as output format.
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Pdf;
string excelFile = Path.GetFullPath(@"..\..\test.xls");
string pdfFile = Path.ChangeExtension(excelFile, ".pdf"); 
x.ConvertFile(excelFile, pdfFile);

Convert XLS to DOCX

ExcelToPdf x = new ExcelToPdf();
// Set DOCX as output format.
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Docx;
string excelFile = Path.GetFullPath(@"..\..\test.xls");
string docxFile = Path.ChangeExtension(excelFile, ".docx"); 
x.ConvertFile(excelFile, docxFile);

Merge PDF

ExcelToPdf x = new ExcelToPdf();
FileInfo pdfFile = new FileInfo(Path.ChangeExtension(excelFile, ".pdf"));
string singlePdf = Path.Combine(pdfFile.Directory.FullName, "Single.pdf");
x.MergePDFFileArrayToPDFFile(new string[] { pdfFile.FullName, pdfFile.FullName }, singlePdf);


Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 is compatible.  netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 862 3/29/2023 3,248 11/14/2022 10,548 4/4/2022 22,370 7/22/2021 5,521 1/20/2021 9,323 6/16/2020 4,054 3/18/2020 733 3/6/2020 5,450 7/23/2019 1,195 5/22/2019 1,088 3/27/2019 1,769 11/22/2018 3,653 5/16/2018 4,716 7/21/2017 1,779 3/13/2017

+ Fixed issue with unsupported sheet type in Excel reader.
+ Fixed issue with date category labels in PDF writer.
+ Improved the algorithm for determining the auto width of the table.
+ Fixed minor issues from our customers, thereby the component became more error-free.