
High-Performance Java & Kotlin Excel API Library
You have full control over your spreadsheets without relying on Excel.
- Obtained e-Government Framework Compatibility Certification!
- Create, load, edit, and save spreadsheets
- Save as XSLX, PDF, HTML, CSV, JSON, image, SpreadJS file
- Parse, convert, and share spreadsheets
- Create custom reports using Excel (.xslx) templates
- Deployment on Azure and AWS
- Calculate formulas and format cells
Official support for JDK 6 & 7 has ended.
DsExcel Java also no longer supports JDK 6 & 7, and the latest version requires JDK 8 or higher.
No More Compromising with Open Source Features.
DsExcel supports the full range of Excel features, which is incomparable to Apaceh POI.
Now you can import/export Excel forms without compromising on functionality or loss.
DsExcel is 7 times faster than Apache POI and consumes less than 1/7 the memory, providing perfect performance even for processing large amounts of data.


Ask Anything!
Share your vague concerns and questions about DsExcel with MESCIUS's expert team. We empathize with your concerns and are here to help.
Try DsExcel Java now.
Click the tabs below to get new ideas through workflows for a variety of real-world situations.
Use it with SpreadJS to Implement a complete Web-based Excel Solution.
Using SpreadJS and DsExcel together provides end users with an Excel-like interface and behavior, while the backend leverages the DsExcel API to quickly process Excel data received from SpreadJS using powerful server resources. Furthermore, by performing sensitive data and Excel formula/calculation operations on the server, you can further enhance security.

DsExcel Java Key Features

Ask Anything!
Share your vague concerns and questions about DsExcel with MESCIUS's expert team. We empathize with your concerns and are here to help.
DsExcel Java Demo
Getting Started with DsExcel Java
This step-by-step tutorial will guide you through coding spreadsheets using DsExcel Java right away. The tutorial will teach you various features and even provide code samples you can download and apply immediately.

Learning DsExcel Java by Function
Explore the many example codes that demonstrate how to use the basic features of DsExcel Java.

DsExcel Java Showcase
You can see the full code demonstrating how to create an Excel file. You'll also learn how to open an existing Excel file on the server side and update its contents.

DsExcel Java Template
DsExcel introduces a new template approach, featuring a comprehensive syntax and API that allows you to bind Excel documents to data and generate advanced-looking Excel reports. With flexible syntax and simple notation for data expansion and formulas, the new template syntax and API allow you to easily define Excel templates and generate Excel reports that support a variety of use cases.
Create Variety Reports Through DsExcel Template Forms.
Step 1. Create a DsExcel template
After pre-entering the "DsExcel template syntax" above the specific Excel cells where the data will be inserted, create a form or resource folder on the server and save it. The template syntax reflects the data structure of your designed JSON or Java class.

Step 2. Bind the data source to the template
Load the Excel template saved in Step 1 using DsExcel's Open method. Bind JSON, DataSet, Datable, Array, and other data to the loaded form using the AddDataSource method.
// Create a new workbook
Workbook workbook = new Workbook();
// Load template file named "Template_FamilyInfo.xlsx"
InputStream templateFile = this.getResourceStream("xlsx/Template_FamilyInfo.xlsx");
workbook.open(templateFile);
// Get data from JSON file
InputStreamReader reader = new InputStreamReader(this.getResourceStream("Template_FamilyInfo.json"));
Gson gson = new Gson();
StudentInfos datasource = gson.fromJson(reader, StudentInfos.class);
// Add data source
workbook.addDataSource("ds", datasource);
Step 3. Save as Excel
Using the ProcessTemplate function, we enter actual data into the form in Step 2, and then use the Save function to save it as an Excel file.
// Called to process template
workbook.processTemplate();
// Save as Excel file
workbook.save("JsonFile.xlsx");
MESCIUS Developer Forum
DsExcel Java v9.2
New features

🚀 Workbook and Excel I/O Enhancements
- Lossless XLSX Handling for Equation Shapes : Preserves original Office Math structures and Shape Format settings when opening and saving workbooks
- Custom XML Part API : Add, retrieve, enumerate, update, and remove workbook-level XML content via ICustomXmlPartCollection and ICustomXmlPart
- Hidden Defined Names (IName.Visible) : Keep helper names available to formulas and automation logic while hiding them from the Name Manager
- Form Controls Inside Grouped Shapes : Control properties and group hierarchy preserved across XLSX, SJS, and SSJSON workflows
💡 Pivot Table Grouping API Support
- Date Grouping : Group by second, minute, hour, day, month, quarter, or year with optional automatic layout placement
- Number Range Grouping : Define start, end, and interval values to replace displayed items with range-based bins
- Custom Grouping : Combine selected PivotItems into named, nestable groups
- Ungrouping : Removes grouping and restores the original layout, with round-trip support across XLSX, SJS, and SSJSON
✨ SpreadJS Interoperability and Lossless I/O
- Automatic AI Function Prefix Conversion : Converts between SJS.AI and AI prefixes during SJS and SSJSON import and export with no additional API required
- DataManager-Sourced Pivot Table Round-Trip : XLSX export and IPivotTable.Update supported when a complete PivotCache is present
- SpreadJS v19.2 Feature Preservation : Lossless I/O for Focus Cell, custom pivot subtotals, rounded cell borders, watermark background image options, and cell scenarios
✅ Additional Updates
- This release also includes configurable invalid formula handling (InvalidFormulaHandling), a CSV formula injection mitigation option, XLTX template file support in DsDataViewer, local performance benchmark packages for .NET and Java, and expanded API reference documentation.

Ask Anything!
Share your vague concerns and questions about DsExcel with MESCIUS's expert team. We empathize with your concerns and are here to help.
DsExcel Java Video Tutorial
DsExcel Java Blog
List of Services
-
12 Reasons Why You Should Use DsExcel Instead of Apache POIList Item 1We compare the features and performance of both products and present 12 key reasons why you should use DsExcel over Apache POI. Check out the detailed feature comparison table and performance comparison results.
-
Creating, modifying, and saving Excel spreadsheets from Java applicationsList Item 2Describes a use case for loading an existing Excel spreadsheet using DsExcel Java and formatting it with fonts, table styles, cell styles, etc.
-
How to Convert Excel Sheets to PDF in JavaList Item 3Let's learn how to load an Excel spreadsheet in Java and then convert it to PDF using DsExcel Java.
DsExcel Java Free Trial
Purchase Procedure
Click on each button to see detailed information about each step of the purchasing process.








