A high-performance Java library for generating and reading large Excel files with minimal memory usage.
Fastexcel is a Java library for generating and reading large Excel (.xlsx) files quickly and with minimal memory usage. It solves the performance and memory consumption problems associated with traditional libraries like Apache POI, especially when dealing with huge worksheets containing hundreds of thousands of rows.
Java developers who need to efficiently export or import large datasets to and from Excel files, particularly in applications where memory usage and speed are critical concerns.
Developers choose Fastexcel for its significantly faster performance and lower memory footprint compared to Apache POI, along with its simple API and support for multithreaded worksheet generation, making it the go-to solution for high-volume Excel file processing.
Generate and read big Excel files quickly
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks show Fastexcel generates Excel files up to 10 times faster than Apache POI, with similar gains in reading speed, making it ideal for high-volume data exports and imports.
It reduces heap memory usage by up to 12 times compared to Apache POI by accumulating only essential elements and streaming XML output, avoiding memory hog issues for large worksheets.
Supports multithreaded workbook creation, allowing different sheets to be filled by separate threads while maintaining shared strings and styles, enhancing throughput in multi-core environments.
The reader offers a simple, streaming interface that efficiently processes cell content, discarding styles for speed, and is up to 2x faster than Apache POI's streaming API for large files.
Fastexcel sacrifices completeness for performance; it lacks support for graphs, advanced charts, and some Excel features, which may require workarounds or switching libraries for full functionality.
While it supports basic cell styles and formatting, it does not cover all Excel styling options, limiting its use for documents requiring complex visual presentations or detailed formatting.
The library does not natively handle encryption-protected Excel files; users must integrate with Apache POI for such cases, adding complexity and extra dependencies, as admitted in the README.
fastexcel is an open-source alternative to the following products: