Aspose.Cells Java for xlsx4j


xlsx4j is an open source (ASLv2) Java library for creating and manipulating Microsoft Open XML Excel xlsx files similar to docx4j for manipulating Microsoft Open XML Word docx files. It is similar to Microsoft’s OpenXML SDK, but for Java. docx4j uses JAXB to create the in-memory object representation. You’ll need to take the time to understand JAXB, and the Open XML file structure.


Aspose.Cells for Java

Aspose.Cells for Java is an award-winning Excel Spreadsheet component that allows Java developers to embed the ability to read, write and manipulate Excel® spreadsheets (XLS, XLSX, XLSM, XLSB, XLTX, SpreadsheetML, CSV, ODS), HTML, MHTML, PDF and image file formats into their own Java applications without needing to rely on Microsoft Excel®.

Aspose.Cells for Java is a mature, scalable and feature rich component that offers many functions that are way beyond the simple data exporting capabilities of other vendors. With Aspose.Cells for Java developers can export data, format spreadsheets to the most granular level, import images, create charts, apply and calculate complex formulas, stream Excel® data, save in various formats and much more - all this without the need of Microsoft Excel® or Microsoft Office Automation.


Why not xlsx4j

xlsx4j only can parsing and saving Microsoft Open XML Excel xlsx files,Aspose.Cells for Java can process all Excel file formats(XLS, XLSX, XLSM, XLSB, XLTX, SpreadsheetML, CSV, ODS) and supports various file format conversions.

Aspose.Cells Java for xlsx4j

Project Aspose.Cells for xlsx4j shows how different tasks can be performed using Aspose.Cells Java APIs in comparison with xlsx4j. The project also covers the features that are only available in Aspose.Cells APIs but not in xlsx4j for dealing with spreadsheets.

This project is helpful for developers who want to compare xlsx4j with Aspose.Cells OR migrate from xlsx4j to Aspose.Cells.

System Requirements and Supported Platforms

System Requirements

Following are the system requirements to execute Aspose.Cells Java for xlsx4j:

  • Java 1.4 or above installed.
  • Downloaded Aspose.Cells component.
  • Downloaded docx4j libraries.

Supported Platforms

Following are the supported platforms:

  • Aspose.Cells 8.3.0 or above.
  • docx4j 3.1.0 or above libraries.
  • Java IDE (Eclipse, NetBeans, IntelliJ, …).


Following releases of running examples are available to download on all of the below mentioned social coding sites:


To configure Aspose.Cells for Java API, include the Aspose repository URL and Aspose.Cells for Java API maven dependency in your pom.xml as following:

Aspose Maven Repository




        <name>Aspose Maven Repository</name>




Aspose.Cells for Java Maven Dependency








Note: Please use the available latest version of the Aspose API.

Support, Extend and Contribute


From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.

This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.

You can log any issues or suggestions related to Aspose.Cells Java for xlsx4j using any of the following platforms:

Extend and Contribute

Aspose.Cells Java for xlsx4j is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.

Source Code

You can get the latest source code from one of the following locations

Sample Code Examples

This section includes the following topics