Convert DOCX to XLS via Java or Online App

On Premise Java API to convert DOCX to XLS without using Microsoft® Word or Microsoft® Excel

 

You can converting DOCX to XLS via Aspose.Total for Java is a simple two step process. By using feature-rich, document manipulation and conversion API Aspose.Words for Java , you can export DOCX to HTML. After that, by using Aspose.Cells for Java , you can convert HTML to XLS.

Convert DOCX to XLS via Java or Online App

  1. Open DOCX file using Document class
  2. Convert DOCX to HTML by using Save method
  3. Load HTML document by using Workbook class
  4. Save the document to XLS format using Save method

Get Started with Java File Automation APIs

You can easily use Aspose.Total for Java directly from a Maven based project and include libraries in your pom.xml.

Alternatively, you can get a ZIP file from downloads .

Free Online Converter for DOCX to XLS

Convert Protected DOCX to XLS via Java

Using the API, you can also open the password-protected document. If your input DOCX document is password protected, you cannot convert it to XLS without using the password. The API allows you to open the encrypted document by passing the correct password in a LoadOptions object. The following code example shows how to try opening an encrypted document with a password:

Convert DOCX to Protected XLS file via Java

After you convert DOCX to XLS, you can also encrypt and password protect your XLS documents. In order to encrypt your document, open it using Workbook class and specify XOR Encryption Type and Strong Encryption type (RC4, Microsoft Strong Cryptographic Provider) encryption by using the setEncryptionOptions method. You can also set a password to your XLS by using the Password property of WorkbookSettings class.

What is DOCX File Format

DOCX is a file format for Word documents, developed by Microsoft. It is a XML-based format that allows for more complex document structures than the older DOC format, and supports features such as document encryption, digital signatures, and watermarks. DOCX files are also smaller in size than their DOC counterparts, making them more efficient to store and transmit.

Read More

What is XLS File Format

Microsoft Excel is a spreadsheet application that was first released in 1987. It is part of the Microsoft Office suite of productivity software. Excel allows users to create and format spreadsheets, perform mathematical calculations, and create charts and graphs. Excel files are saved in a proprietary binary format called .xls. This format is not compatible with other spreadsheet applications, such as Google Sheets. Excel files can also be saved in .xlsx, a newer XML-based format that is compatible with other spreadsheet applications. When an Excel file is saved in .xls format, it is saved as a legacy binary file. This means that the file can only be opened in Excel and will not be compatible with other spreadsheet applications. Legacy binary files are larger in size than .xlsx files and can take longer to open.If you need to share an Excel file with someone who does not have Excel, you can save the file in .csv format. This format can be opened in a text editor, such as Microsoft Notepad, and will be compatible with other spreadsheet applications.

Read More
n >}}

What is DOCX File Format

DOCX is a file format for Word documents, developed by Microsoft. It is a XML-based format that allows for more complex document structures than the older DOC format, and supports features such as document encryption, digital signatures, and watermarks. DOCX files are also smaller in size than their DOC counterparts, making them more efficient to store and transmit.

Read More

What is XLS File Format

Microsoft Excel is a spreadsheet application that was first released in 1987. It is part of the Microsoft Office suite of productivity software. Excel allows users to create and format spreadsheets, perform mathematical calculations, and create charts and graphs. Excel files are saved in a proprietary binary format called .xls. This format is not compatible with other spreadsheet applications, such as Google Sheets. Excel files can also be saved in .xlsx, a newer XML-based format that is compatible with other spreadsheet applications. When an Excel file is saved in .xls format, it is saved as a legacy binary file. This means that the file can only be opened in Excel and will not be compatible with other spreadsheet applications. Legacy binary files are larger in size than .xlsx files and can take longer to open.If you need to share an Excel file with someone who does not have Excel, you can save the file in .csv format. This format can be opened in a text editor, such as Microsoft Notepad, and will be compatible with other spreadsheet applications.

Read More