
High-performance Java & Kotlin Excel API library
List of Services
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, or SpreadJS file
- Parse, convert, and share spreadsheets
- Create custom reports using Excel (.xslx) templates
- Deployment on Azure and AWS
- Calculate formulas and format cells
- Various features added v8.1 Released!
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 on 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!
Please 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
Excel Import and Export
Seamlessly import and export Excel-compatible XLSX files without relying on Excel.
Supports formulas, over 450 Excel functions, and user-defined functions.
Perform complex calculations using hundreds of built-in functions and operators, or build your own custom functions to create the formulas you need.
Ask anything!
Please 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 a variety of reports using 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 v8.1
New features

- Support for the HtmlSaveOptions.CellAttributeOptions property
- Add cell address properties to Excel tables exported to HTML
- Added ability to duplicate Excel workbooks
- Improved VLOOKUP and UNIQUE function performance
- Enhanced features for SpreadJS compatibility
- data chart
- Data charts within report sheets
- Data manager tables can be bound to data sources.
- SpreadJS DataRange support
Ask anything!
Please 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.