
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.1
New features

[New Feature Support]
- Cell Checkbox Support : Embed checkboxes directly into cells for seamless movement during sorting, filtering, and row operations, with full support for PDF/image export and SJS·SSJSON·XLSX round-tripping
- Picture In-Cell Support : Insert images directly into cells with server-side reading capabilities, enabling filtering and sorting based on Alt Text, and full support for PDF·HTML·image export
- Pivot Table Dynamic Cell Style Support : Retain cell styles even after refreshing or changing layouts, improving compatibility with Excel Pivot Table formatting behavior
- Pivot Table Field Header Show/Hide : Control row and column field headers via the IPivotTable.DisplayFieldCaptions property to build clean report and dashboard layouts
- Waterfall Chart PDF Export Support : Includes definitions for subtotal/total points and connector lines control, also applicable to image and HTML exports
- Shape Text Bullet PDF Export Support : Preserves the type, color, and size of symbols, automatic numbering, and custom bullets to enhance PDF output accuracy
[Template Engine Improvements]
Enhanced support for rich filtering expressions and SpreadJS-based template content
- Template Filter NULL Keyword Support
- Template Filter DATETIME Keyword Support
- Template Filter REGEX Keyword Support
- Template Cell SpreadJS Cell Type and Style Extension Support
[SpreadJS Lossless I/O Enhancements]
Enhanced lossless I/O improvements to more accurately preserve the latest SpreadJS workbook features within SJS and SSJSON workflows
- Conditional Formatting Sparkline Rule I/O Support
- Conditional Formatting Top/Bottom Percentage Rule Support
- SpreadJS Scrollbar Auto Mode Support
- DataManager Table-specific Attachment New Format Support
- Accounting Underline Style (SingleAccounting/DoubleAccounting)
- Support Named Cell Templates I/O Support

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.








