Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
May 31, 2022 18:47
November 22, 2021 10:06
December 23, 2020 17:16
June 24, 2021 12:46

GitHub release (latest by date) GitHub all releases GitHub

Java API for Excel File Formats

Aspose.Cells for Java is an award-winning Excel Spreadsheet Processing API 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®.

Directory Description
Examples A collection of Java examples that help you learn the product features.
Examples.GridWeb A collection of Java examples that help you learn and explore Aspose.GridWeb features.
Plugins Plugins that will demonstrate one or more features of Aspose.Cells for Java.

Download Aspose.Cells for Java Examples, Plugins and Showcases

Excel File Processing Features

Document Features

  • Open Plain or Encrypted Excel files (Excel97, Excel2007/2010/2013) from different sources.
  • Save Excel files (Excel97- Excel2007/2010/2013) in various supported formats.
  • Convert Excel files & spreadsheets to various supported formats.
  • Convert to Tagged Image File Format (TIFF).
  • Read and Write OpenDocument Spreadsheet (ODS) format.
  • Modify the document properties of Excel files.

Worksheet Features

  • Make Worksheet visible or hidden.
  • Ability to show or hide worksheet tabs, scroll bars, gridlines & headers.
  • Apply worksheet zoom level.
  • Keep the selected data visible while scrolling in freeze panes.
  • Ability to preview worksheet page breaks.
  • Protection support for worksheet content, objects as well as scenarios.
  • Perform and apply page setup configuration to worksheets.
  • Perform various actions on individual or group of rows and columns.

Data Management Features

  • Insert data in specific cells at runtime.
  • Fetch data from various data soures and import into worksheets.
  • Retrieve data from cells based on their datatype.
  • Get data from worksheet cells and export to array.
  • Apply conditional formatting.
  • Perform numerous formatting actions on data, such as, font setting.

Charting & Graphics Features

  • Supports creating various kinds of charts.
  • Add custom charts to the worksheet.
  • Add pictures to worksheets at the runtime.
  • Ability to print worksheets.

Advanced Features

  • Use robust Formula Calculation Engine to support formula calculation.
  • Manipulate VBA code or Macros.
  • Create pivot tables as well as change its source data at runtime.

Read & Write Spreadsheet Formats

OpenOffice: ODS
Text: CSV, TSV
Numbers: Apple's iWork office suite Numbers app documents

Save Excel Files As

Fixed Layout: PDF, PDF/A, XPS
Data Interchange: DIF

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), or above

Get Started with Aspose.Cells for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.Cells for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Cells for Java from Maven Repository documentation page.

Convert Table to Range with Options using Java

// For complete examples and data files, please go to
// The path to the documents directory.
String dataDir = Utils.getSharedDataDir(ConvertTableToRangeWithOptions.class) + "Tables/";
// Open an existing file that contains a table/list object in it
Workbook workbook = new Workbook(dataDir + "book1.xlsx");

TableToRangeOptions options = new TableToRangeOptions();

// Convert the first table/list object (from the first worksheet) to normal range

// Save the file + "ConvertTableToRangeWithOptions_out.xlsx");

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License