Skip to main content Skip to footer
Java Excel API Library Examples

High-Speed Java Excel Spreadsheet API Library

Programmatically create, edit, import, and export Excel spreadsheets in your Java applications. Deploy nearly anywhere.

  • Create, load, edit, and save Excel .xlsx spreadsheets
  • Save to XLSX, PDF, HTML, CSV, JSON, Images, and SpreadJS files
  • 2x+ faster and less memory than Apache POI
  • No dependencies on Microsoft Excel
  • Includes a JavaScript Data Viewer to view and optionally interact with data documents on the client
Download Free Trial (V 8.1.2) Request A Demo

Java Excel API Library Overview

Document Solutions for Excel, Java Edition, allows developers to load, create, modify, calculate, save, and convert Excel spreadsheets at scale. Read and write .XLSX files, create and share reports with defined templates, and deploy spreadsheets across 8.0+ Java applications.

Ultimate Java Excel Spreadsheet API Library Solution

Generate .xlsx Files using a Java Excel API

Advanced API Features for Seamless Spreadsheet Management

Based on the powerful Excel Object Model, this feature-rich API enables seamless creation, editing, conversion, and export of Excel files in Java. It supports formulas, charts, pivot tables, data validation, styling, and high-performance processing for enterprise applications

Build Professional Excel Reports Using .XLSX Template in Java

Define Excel templates in Java to automate and quickly generate comprehensive .xlsx reports such as invoices, sales reports, receipts, shipping labels, purchase orders, and more. Bind data from multiple data sources, create reports using chart templates, sparklines, tables, while also supporting Microsoft Excel formulas for fast data calculation and conditional formatting.

Build Professional .NET Excel Reports Using .XLSX Template
Cross-Platform Java Excel API Library

Cross-Platform Java Development: Write Once, Run Anywhere

With full support for Windows, Linux, and macOS, you can create Excel-compatible spreadsheet applications using a single Java codebase. Document Solutions for Excel, Java Edition, works seamlessly in desktop and web apps, with no dependency on Microsoft Excel. Create, load, edit, calculate, and export spreadsheets in Java, and deploy locally or to the cloud—compatible with platforms like Azure, AWS, and AWS Lambda

Complete Client-Server Spreadsheet Solution

Document Solutions for Excel also includes a client-side Data Viewer, a JavaScript component that allows developers to build cross-platform web applications to view Excel .xlsx, CSV, SpreadJS, Arrow, and Parquet data files across browsers. The optional Professional Viewer additionally includes interactive operations and the ability to display data visualization objects.

Note - for advanced client-side editing functionality, developers can use the separate SpreadJS JavaScript spreadsheet to provide a complete Excel-like editing experience on the client. Changes can then be sent back down to the server for any further processing using Document Solutions for Excel.

JavaScript Client-Side Data File Viewing and or Advanced Spreadsheet Editing Controls

Java Excel API Library Quick Start Guide

Quick Start Guide
1. Download the Latest DsExcel Release .jar file.

Download Release Here or from MVN Repository - DsExcel

2. Install/Add the Java Excel API package and dependencies, then import the namespaces.
import com.grapecity.documents.excel.*;
import com.grapecity.documents.excel.drawing.*;
3. Create a new Java Excel workbook using the Workbook class and add content using the IRange interface.
Workbook workbook = new Workbook();
IWorksheet worksheet = workbook.getWorksheets().get(0);
worksheet.getRange("A1").value = "Hello World"
4. Save the Java Excel workbook to a local Excel (XLSX) using the save method.
workbook.save("DsExcelGenerated.xlsx");

Learn more with our complete quick start guide for Document Solutions for Excel, Java Edition.

Easy Licensing & Distribution

Access your Document Solutions Distribution Key(s) through your MESCIUS account after purchase.

Licensing FAQs

Document Solutions offers flexible tiered licensing options for single-location, multi-location or cloud use, and individual and team licenses.

Learn More About Licensing

Request a Trial Key

Our sales team can provide 30-day trial Distribution Keys for Document Solutions for Excel and the JavaScript Data Viewer, Document Solutions Data Viewer, upon request, allowing you to deploy our APIs during your trial period.

Contact Our Sales Team

Have Questions? We're Here to Help

Email [email protected] to discuss your project needs with our product specialists or request a personalized demo with the Product Manager.

Contact Support

Trusted by the World's Leading Companies

"The speed to build what we needed and the level of ease of use of controls are why we chose GrapeCity [now known as MESCIUS]. It was a perfect fit."

Spiro Skias - CGI