
Description
Your backend has to export data to Excel, and a CSV just leaves users reformatting it. Apache POI lets Java programs read and write Office files directly and produce real XLSX, DOCX and PPTX that open in Microsoft Office, LibreOffice and OpenOffice.
It works the other way too: pull tabular data and text out of existing spreadsheets or generate an index for documents. POI 6.0.0 requires Java 17 or newer.
Excel read and write: export tabular data to workbooks or load existing sheets into your app.
Word and PowerPoint: OpenXML-compliant DOCX and PPTX output.
Text extraction: pull plain text from Office documents for search or indexing.
Encrypted document support: some formats handle AES or RC4 so password-protected files can be read.
Other Office formats: extra components cover Outlook messages and Visio drawings; each is developed separately so maturity varies.
It works the other way too: pull tabular data and text out of existing spreadsheets or generate an index for documents. POI 6.0.0 requires Java 17 or newer.
Features
Excel read and write: export tabular data to workbooks or load existing sheets into your app.
Word and PowerPoint: OpenXML-compliant DOCX and PPTX output.
Text extraction: pull plain text from Office documents for search or indexing.
Encrypted document support: some formats handle AES or RC4 so password-protected files can be read.
Other Office formats: extra components cover Outlook messages and Visio drawings; each is developed separately so maturity varies.
