A Contact Form 7 report may come back from a client as an XLSX workbook with corrected campaign names, extra tabs, and formulas added to the submission rows. A custom import should preserve the inquiry ID and reject ambiguous values before it updates a reporting table. Compare these five readers by the runtime your team maintains, what they expose about cells, and how they behave with the workbook sizes and formats you actually receive.

Compare the readers
| Library | Good fit | Reading approach | Check before adopting | License |
|---|---|---|---|---|
| openpyxl | Python reconciliation job | Read-only row iteration | Cached formula values can be empty or old | MIT |
| SheetJS CE | Browser or JavaScript intake | Workbook and cell parsing options | Displayed text and raw values differ | Apache 2.0 |
| Apache POI | Java reporting service | XSSF workbook model and SAX event reading | Streaming path takes more implementation | Apache 2.0 |
| ExcelJS | Node.js import worker | Workbook reader or streaming XLSX reader | Formula results depend on the workbook cache | MIT |
| PhpSpreadsheet | PHP integration worker | Reader filters and sheet selection | Data-only reads can lose date format cues | MIT |
These are open-source libraries with no usage fee for the editions shown. SheetJS Pro follows separate commercial terms. Application development, infrastructure and support still cost time or money. Each option needs a custom job or application to bring rows into your CF7 reporting workflow. The comparison uses primary documentation and focuses on reading an existing XLSX workbook, including one edited after export.
openpyxl
openpyxl fits a Python job that reconciles a workbook against a database or an earlier export. Start with the exact worksheet name and a row range appropriate to the import. Read-only mode iterates using an optimized reader and the documentation instructs callers to close the workbook explicitly. Normal mode offers a richer workbook model when the intake check needs more information than the simple row stream exposes. The library is MIT-licensed.
For formula cells, data_only can expose the result previously stored in the file. The result can be missing or out of date, and openpyxl does not recalculate formulas. Compare a fixture containing fresh, stale and missing cached results before deciding whether they count as evidence. Read-only iteration also relies on worksheet dimensions provided by the file creator. If a representative workbook declares the wrong dimensions, check what openpyxl sees before concluding that the omitted rows never existed. See the optimized modes guide and loading documentation.
SheetJS CE
SheetJS Community Edition provides a JavaScript workbook parser that can run in an import service or in a browser preview. Its Apache 2.0 edition has documented options for restricting reads to selected sheets, handling dates and controlling which cell properties to preserve. A browser preview can give a reviewer an early look at what was selected. The server should still validate any data it accepts for a permanent update.
Check the raw cell value and formatted text separately. A numeric cell with a leading-zero display format may show an identifier like 00042 even though its underlying number is 42. Your import rule must say which representation is authoritative. If you convert worksheets to row objects, verify the behavior for blank columns, duplicate header labels and missing cells using your extraction options. Test the largest accepted workbook in the intended JavaScript runtime before enabling a browser preview for all files. See the parser options and the CE license.
Apache POI
Apache POI fits a Java service that already handles spreadsheet files. XSSF is the workbook model for XLSX. It exposes cell types, styles and shared strings through a familiar object model. POI also documents SAX-based event parsing for teams that need to read workbook XML sequentially and can maintain a separate handler. Its Apache 2.0 library works within your own application.
The event approach makes the application responsible for retaining context as rows are emitted. Blank cells can be omitted in the underlying representation, so preserve position using cell references. Otherwise a missing campaign or owner value can shift cells under the wrong header. If a requirement calls for formula evaluation, check POI’s formula evaluation coverage in the workbook model and confirm the functions and external references you rely on. Treat saved values and evaluated results as different provenance. See the XSSF and SAX guide, formula evaluation documentation and Apache license.
ExcelJS
ExcelJS provides a JavaScript workbook model and a streaming XLSX reader for server-side Node.js processing. It is MIT-licensed. The workbook model is useful for inspecting selected sheets and cells in a simple service. The streaming reader is worth evaluating when the application can validate and write batches as they arrive. Choose that path based on the shape of the import and the results of a representative load test.
A formula cell can carry a formula and a stored result. ExcelJS does not compute the result. Document which value types your import will retain and decide whether formulas are permitted in identifiers or action-driving columns. When using the streaming reader, check the options for shared strings and styles against a workbook containing repeated text and styled dates. Include an explicit blank and an omitted middle cell in the same fixture. If an import stops midway, keep enough staging state to resume or discard that attempt cleanly before trying again. See the ExcelJS reader, streaming and cell value documentation.
PhpSpreadsheet
PhpSpreadsheet is an MIT-licensed option for an existing PHP integration worker. Its reader supports limiting the worksheets you load and applying cell filters. That makes it practical to inspect a known header or selected columns before a wider pass. Use the documented worksheet and range options on a test copy and confirm that the subset still supplies the context your reconciliation needs.
Be careful with setReadDataOnly(). The project explains that most readers in that mode drop number format masks, so a date stored as a numeric serial can be indistinguishable from an ordinary number by formatting alone. Resolve the intended type through the workbook contract and read settings. If the same job runs near WordPress, isolate slow or large imports from page requests and use the worker’s own memory, file size and execution limits. See the reading guide and the project repository and license.
Try the same workbook before you choose
Use two runs of the same workbook to test duplicate handling. Stage each accepted row with its stable inquiry ID, worksheet name and original row number. If the same ID appears twice with different edits, flag both for a decision. For any date columns, record the workbook date system or check the reader conversion behavior before storing a calendar date. If a corrected report changes only display formatting, the review should show whether the underlying value actually changed.
Put a text ID with leading zeros, a date serial with a date format, a blank cell, an absent cell, a formula without a saved value and a duplicate inquiry ID in a synthetic workbook. Add an unexpected hidden sheet and a row after the expected range. Pick an explicit worksheet and define whether hidden rows or sheets are eligible. Check exported text and underlying types before choosing a coercion rule. Keep rejection reasons specific enough to fix the file without logging submitted messages.
Start with openpyxl for a Python reconciliation job, SheetJS CE for JavaScript workbook inspection with a browser preview, Apache POI for a Java service, ExcelJS for a streaming Node worker, or PhpSpreadsheet for PHP. The import is ready when it preserves identities, handles ambiguous values as agreed and stages changes before committing them. For the upstream side, see the XLSX generation comparison and the export validation comparison. For a WordPress-side record of form trends, see Svetlik Analytics for Contact Form 7.
