Convert XLSX to DOCX via C#

Export Excel® XLSX to DOCX on .NET Framework, .NET Core, Mono or Xamarin Platforms

XLSX to DOCX Conversion on .NET

  1. Open XLSX file using Workbook class
  2. Convert XLSX to PDF and set SaveFormat to Auto
  3. Load the converted PDF file using Document class
  4. Save the document to DOCX format using Save method and set DocX as SaveFormat

Get Started with .NET Total API

Install from command line as nuget install Aspose.Total or via Package Manager Console of Visual Studio with Install-Package Aspose.Total.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

.NET C# Code for XLSX to DOCX Conversion

var book = new Aspose.Cells.Workbook("input.xlsx");
// save XLSX as PDF
book.Save("pdfOutput.pdf", Aspose.Cells.SaveFormat.Auto); 
// load the PDF file using Document class
var document = new Aspose.Pdf.Document("pdfOutput.pdf");
// save document in DOCX format
document.Save("output.docx", SaveFormat.DocX); 

XLSX What is XLSX File Format?

XLSX is well-known format for Microsoft Excel documents that was introduced by Microsoft with the release of Microsoft Office 2007. Based on structure organized according to the Open Packaging Conventions as outlined in Part 2 of the OOXML standard ECMA-376, the new format is a zip package that contains a number of XML files. The underlying structure and files can be examined by simply unzipping the .xlsx file.

Read More

DOCX What is DOCX File Format?

DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.

Read More

Other Conversion Options

XLSX TO DOC (Microsoft Word Binary Format)
XLSX TO PPTX (Open XML presentation Format)