# read-excel-file: 6.7 out of 10

Reasonable, with limits. 3rd of 8 in [CSV and Excel files](https://elestia.ai/opensource/spreadsheets/index.md).

read-excel-file is a small, MIT-licensed library that only reads .xlsx files, in the browser or in Node.js. Its main extra is a schema that turns rows into typed, validated JSON objects. It is a good fit for spreadsheet upload and import features. It cannot write files, and it does not read .xls or CSV files. One person maintains it, and frequent major versions have changed its API.

**Best for:** Web apps that import user-uploaded .xlsx files and want rows checked against a schema and turned into typed objects.

## Scores

- **Overall: 6.7** (likely 5.7 to 7.7)
  - Claude Opus 5.5 (6.0): For importing .xlsx files in a web app, it is a solid, actively maintained pick, and its schema validation is a real advantage. Most projects in this category also need to write files or read CSV and .xls. For that, ExcelJS, SheetJS or a CSV parser covers more, and those are more widely used. One maintainer, frequent breaking changes and little independent validation keep it in the middle tier.
  - GPT-6.2 Sol (7.3): For a new project importing known .xlsx templates, built-in schema mapping and active npm maintenance make this a strong pick. SheetJS covers more formats, and ExcelJS offers a streaming reader for larger imports. The range reflects limited evidence on current production use and the risk of further breaking upgrades under a single publisher.
- **Needed by many: 4.1** (likely 3.1 to 5.2)
  - Claude Opus 5.5 (4.0): Many web apps need to import spreadsheets, but this tool covers only one part of the category: reading .xlsx files. It does not write files or handle CSV or .xls, so it serves a clear but limited group.
  - GPT-6.2 Sol (4.2): Excel uploads are useful in admin tools, business apps, and data pipelines, and the library works in browsers and Node.js. Its focus on reading .xlsx covers one part of the category. Developer surveys give little basis for estimating how many teams need that specific workflow.
- **Helps a lot: 6.9** (likely 5.9 to 7.9)
  - Claude Opus 5.5 (6.0): It does .xlsx import well. The schema parsing, typed errors, worker support and TypeScript types are better than most readers offer. Its limits are clear: it cannot write files, it rejects .xls, it does not stream large files, it reads only cached formula values, and dates are inferred from cell formatting. The API changed so often recently that AI agents often write code for an older version.
  - GPT-6.2 Sol (7.7): Version 9.3.20 provides a clear path from a worksheet to typed objects, with cell-level errors and documented examples for both runtimes. It materializes rows and reads cached formula values, which limits large imports and workflows that need formula text. External tests document those limits, while performance across typical uploads and coding-agent reliability remain less well measured.
- **Holds up over time: 6.5** (likely 5.2 to 7.9)
  - Claude Opus 5.5 (6.0): Maintenance is very active: 45 versions in the last year, a push two days before collection, and only 3 open issues. One unpaid maintainer does the work, and the main repository is on GitLab, so the GitHub numbers undercount activity. Three major versions with renamed APIs in a short time add upgrade cost.
  - GPT-6.2 Sol (7.0): The project logged 51 commits and 45 npm versions in a year, with recent fixes and patches from outside contributors. That release cadence is stronger than ExcelJS's, and a recent browser compatibility report received a maintainer reply in two days. A single npm publishing account and repeated changes to imports and schema APIs leave more uncertainty about the next two years.
- **Used widely: 4.7** (likely 3.6 to 5.9)
  - Claude Opus 5.5 (5.0): Downloads rose about 29 times in a year, from 0.72M to 20.9M per 4 weeks, against a median ratio of 4.1. A jump that sudden most likely comes from another popular package now installing it, not from many developers choosing it. The 1,359 dependent repositories are a better measure. That is below node-xlsx (2,125) and ExcelJS (4,295), and far below SheetJS and Papa Parse, which suggests a few thousand to tens of thousands of real users.
  - GPT-6.2 Sol (4.3): Four-week downloads reached 20.9 million, about 29 times the prior-year window and well above the catalog median of 4.1 times. The 1,359 tracked dependent repositories trail node-xlsx and ExcelJS, and public discussion is sparse in the tracked channels. Downloads include automated and indirect installs, while browser CDN use can escape npm counts, so the number of projects choosing it remains hard to pin down.
- **Vouched for: 4.0** (likely 2.9 to 5.4)
  - Claude Opus 5.5 (3.0): No independent benchmarks, survey entries, Hacker News stories or Bluesky posts mention it. Comparison sites list it as a reasonable choice for importing files, but those pages are generated summaries, not hands-on reviews. No well-known company or framework is known to build on it.
  - GPT-6.2 Sol (5.0): Siemens lists an older release in its Battery Passport frontend, and a developer reports using the library successfully for .xlsx imports. A recent engineering evaluation found that it fell short for formula text and large files. Evidence of current production deployments and developer satisfaction is limited.
- **Safe: 6.5** (likely 5.1 to 7.7)
  - Claude Opus 5.5 (6.5): It has no known advisories, only 4 small dependencies and an MIT licence. Its OpenSSF Scorecard is weak at 3.8, with no branch protection, no security policy and little code review. One person publishes all releases, which is a single point of failure for the supply chain.
  - GPT-6.2 Sol (6.4): The library uses the permissive MIT license, has four direct runtime dependencies, and has no known direct advisories in the sources checked. The release script runs tests, but one npm account can publish and the latest release lacks a reported build attestation. The GitHub Scorecard flags weak review and branch protection, and the repository has no detected security policy. Those gaps leave uncertainty about release integrity and how vulnerabilities would be handled.

## Good

- A built-in schema maps columns to typed fields, checks required values and returns errors with row and column numbers.
- Few dependencies (fflate, saxen and an unzipper), with separate builds for browser, Node.js, universal and Web Worker use.
- Very active: 45 npm versions and 51 commits in the last year, and no known security advisories.
- Ships TypeScript types, and its published benchmarks are reasonable (about 0.5 s for a 10 MB file).

## Bad

- It only reads files: it cannot write files, and it does not support .xls, .ods or CSV.
- Major versions 7, 8 and 9 came close together and renamed exports, options and return shapes, so older tutorials and AI-written code often break.
- One person maintains it, and the GitHub repository is only a backup of the GitLab one.
- It does not stream: XML parsing runs synchronously, and formulas are read from cached values only.

## The numbers

- Downloads, 4 weeks: 21M
- In a year: ×29
- GitHub stars: 331
- Commits, 12 months: 51
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/catamphetamine/read-excel-file
- npm: https://www.npmjs.com/package/read-excel-file

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
