Product Family

Convert PDF to EXCEL via C#

Native and high-performance PDF file creation without Adobe Acrobat installation using C#.

How to Convert PDF to EXCEL Using C#

In order to convert PDF to EXCEL, we’ll use Aspose.PDF for C++ API which is a feature-rich, powerful and easy to use document manipulation and conversion API for C++ platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.

Package Manager Console Command

PM> Install-Package Aspose.PDF


<version>version of aspose-pdf API</version>

Steps to Convert PDF to EXCEL via C#

.NET developers can easily load & convert PDF files to EXCEL in just a few lines of code.

  1. Initialize a new Document
  2. Create an instance of ExcelSaveOptions class for export
  3. Call Document.Save method with output file path
  4. Pass instance of ExcelSaveOptions as second parameter

System Requirements

Aspose.PDF for .NETis supported on all major operating systems. Just make sure that you have the following prerequisites.



This sample code shows PDF to EXCEL C# Conversion

        public static void ConvertPDFtoEXCEL()
            // load PDF with an instance of Document                        
            var document = new Document("template.pdf");

            // save document in Excel format
            document.Save("output.xls", Aspose.Pdf.SaveFormat.Excel);
  • Convert PDF to EXCEL via Online App