# html5-qrcode: 4.1 out of 10

Keep, but not for new work. 9th of 9 in [QR codes and barcodes](https://elestia.ai/opensource/qr-barcodes/index.md).

html5-qrcode is a browser library that scans QR codes and many barcode formats from the camera or an image file, with a ready-made scanner UI. It is easy to set up, but its README says it is in maintenance mode with no fixes or merged pull requests, and the last release came out in April 2023. Keep it where it already works, and look at a maintained option such as zxing-wasm or ZXing-based tools for new work.

**Best for:** Prototypes and small internal web apps that need a drop-in camera scanner UI quickly and can accept unfixed camera bugs.

## Scores

- **Overall: 4.1** (likely 3.1 to 5.2)
  - Claude Opus 5.5 (3.5): It is still the quickest way to put a camera scanner UI on a web page, and downloads are rising. But it is officially in maintenance mode, has had no release since 2023 and has known camera bugs on mobile that will not be fixed. Keep it where it works. For new work, pick a maintained decoder such as zxing-wasm and add your own camera UI.
  - GPT-6.2 Sol (4.7): The ready-made camera and upload interface still saves work on prototypes and existing integrations. For most new projects, zxing-wasm is a stronger choice if the team can build its scanner interface. The maintenance pause and documented iOS camera problems weigh most, and the fit depends on which devices the app must support.
- **Needed by many: 3.5** (likely 2.4 to 4.8)
  - Claude Opus 5.5 (3.5): Only reading codes in the browser from a camera or an image is in scope. That is a clear niche inside the category, which also covers generating codes. Apps for check-in, inventory, payments and ticketing need it, but most web projects do not.
  - GPT-6.2 Sol (3.4): Browser scanning serves workflows such as inventory and asset management, and the library works across frontend frameworks. Its scope is limited to reading codes in a browser. The State of JavaScript survey offers no direct estimate of how many developers need barcode scanning.
- **Helps a lot: 5.8** (likely 4.7 to 6.8)
  - Claude Opus 5.5 (5.0): It does a lot: a ready-made UI, a low-level API, many formats, torch and zoom, and types. But users and outside reviews report camera failures on iOS and on some Android Chrome devices, and weak reads of low-contrast or inverted codes. None of these will be fixed. WASM ports of the C++ ZXing, such as zxing-wasm, decode more reliably.
  - GPT-6.2 Sol (6.5): Version 2.3.8 makes it easy to add live and file scanning for common 1D and 2D formats. Its types and examples help with integration, and custom camera flows need explicit cleanup. Shelf shipped a fallback after seeing weaker detection on iOS Safari. Performance across current devices remains uncertain because the available comparisons cover limited setups.
- **Holds up over time: 1.9** (likely 1.2 to 3.3)
  - Claude Opus 5.5 (1.5): The maintainer says in the README that the project is in maintenance mode, with no fixes and no merged pull requests. The repository has had one commit in the past year and no release since April 2023. One person controls it, and that person is looking for a new owner. A fork or a new owner could change this, which is why the range goes up to 3.
  - GPT-6.2 Sol (2.3): The latest release was in April 2023, and the repository recorded one commit in the past year. The author described a single primary maintainer and plans to move further development to imagecodes. The repository now says fixes and merges are paused, while zxing-wasm continues to release updates.
- **Used widely: 4.8** (likely 3.6 to 6.0)
  - Claude Opus 5.5 (5.0): Downloads rose from about 0.99M to 8.7M per 4 weeks. That ratio of about 8.8x is above the 4.1 median, and similar to its peers. Its 820 dependent repositories are far behind jsQR (8,418) and ZXing JS (2,062). It is still often found and picked for browser scanning, but it is no longer growing faster than the category as a whole.
  - GPT-6.2 Sol (4.5): Four-week installs rose from 988,000 to 8.69 million, or 8.8 times year over year against the catalog median of 4.1 times. That is a gain in relative install activity, and the repository has 6,253 stars. The indexed counts of 820 repositories and 52 packages trail ZXing JS and jsQR on dependent repositories. CI and framework installs can inflate npm counts, while vendored and CDN copies make direct use harder to count.
- **Vouched for: 4.7** (likely 3.6 to 6.1)
  - Claude Opus 5.5 (3.0): Many tutorials and small apps use it, and Debian packages it. I found no well-known company or framework that publicly builds on it. Independent write-ups now mostly warn that it is unmaintained, and there are no Hacker News stories and almost no Bluesky posts.
  - GPT-6.2 Sol (6.4): Oracle distributes the library with PeopleSoft FSCM, and Frappe uses it for its documented scanner API. Shelf also uses it and published a concrete case where another decoder worked better on iOS. These deployments show the library is practical, while the available device tests are too limited to establish consistently strong scan reliability.
- **Safe: 5.3** (likely 4.2 to 6.6)
  - Claude Opus 5.5 (5.0): The npm package has no runtime dependencies, has no known advisories and uses the Apache-2.0 licence. On the other side, the OpenSSF Scorecard is 2.1, with no code review, no security policy and unsigned releases. One maintainer publishes it, and it gets no fixes. Its bundled zxing-js decoder is old code that nobody patches.
  - GPT-6.2 Sol (5.5): OSV lists zero advisories, the Apache-2.0 licence permits commercial use, and npm installs no runtime dependencies. The package still bundles ZXing. The 2.1 OpenSSF Scorecard shows weak code review and zero scores for release signing and security policy. Paused maintenance makes the response to a future issue hard to predict.

## Good

- Html5QrcodeScanner gives a working camera scanner, with permission handling and a UI, in about ten lines.
- It reads many 1D and 2D formats, including QR, Data Matrix, PDF417, EAN, UPC and Code 128.
- It ships TypeScript types, has no runtime dependencies on npm, and uses the Apache-2.0 licence.
- It supports torch, zoom, scanning from image files and the native BarcodeDetector as an experiment.

## Bad

- The README says it is in maintenance mode: no bug fixes, no merged pull requests, and the owner is looking for a new owner.
- There has been no release since v2.3.8 in April 2023, and about 420 issues are open.
- Users report camera failures on some iOS and Android browsers, and poor reads of low-contrast or inverted codes.
- Its decoding comes from the zxing-js port, which is also only maintained at a low level.

## The numbers

- Downloads, 4 weeks: 8.7M
- In a year: ×8.8
- GitHub stars: 6.3k
- Commits, 12 months: 1
- Last npm release: Apr 2023
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/mebjas/html5-qrcode
- npm: https://www.npmjs.com/package/html5-qrcode

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.
