Elestia Open Source Ratings
4.1

html5-qrcode

Keep, but not for new work. 9th of 9 QR codes and barcodes.

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.

WebsiteGitHubnpm

Scores

Overall4.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 3.5, likely 2.5 to 4.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, likely 3.6 to 5.8

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 many3.5

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 5.0

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.

  • github.com/mebjas/html5-qrcode: Browser camera and file scanner only; no generation
  • category scope: Code generation (node-qrcode, qrcode.react) serves more projects than scanning

GPT-6.2 Sol: 3.4, likely 2.2 to 4.6

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 lot5.8

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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, likely 5.3 to 7.6

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 time1.9

Will it still be a good choice in two years?

Claude Opus 5.5: 1.5, likely 1.0 to 3.0

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.

  • github.com/mebjas/html5-qrcode: README: 'maintenance mode until further notice', seeking new owners
  • github commitsLastYear / releasesLastYear: 1 commit and 0 releases in the last year
  • npm latestPublishedAt: Last publish was 2023-04-15
  • github openIssues: 420 open issues against 337 closed

GPT-6.2 Sol: 2.3, likely 1.4 to 3.5

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 widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.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.

  • npm downloadsLast4Weeks: 8.69M, against 0.99M a year earlier
  • dependents.repos: 820 repos and 52 packages depend on it
  • github stars: 6,253 stars
  • peers: jsQR has 8,418 dependent repos; ZXing JS has 2,062

GPT-6.2 Sol: 4.5, likely 3.2 to 5.9

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.

  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 8.8 times year-over-year growth versus the 4.1 times median.
  • github.stars, dependents, peers: 6,253 stars, with fewer indexed dependent repos than ZXing JS or jsQR.
  • bluesky.posts, hackerNews.stories: Three Bluesky links compared with zero for ZXing JS and one for jsQR, plus zero matched Hacker News stories.
  • github.com/frappe/frappe/blob/develop/package.json: Frappe installs it as a framework dependency.
  • github.com/dgahagan/shelf/issues/12: Shelf uses a vendored copy that bypasses npm installs.
  • jsdelivr.com/package/npm/html5-qrcode: A CDN build offers another installation route.
Vouched for4.7

Who stands behind it being good?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

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, likely 5.2 to 7.6

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.

Safe5.3

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

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.

  • advisories.total: 0 known advisories
  • scorecard.score: 2.1; Code-Review is 1, Security-Policy and Maintained are 0
  • npm dependencies: 0 runtime dependencies
  • npm license: Apache-2.0, a permissive licence

GPT-6.2 Sol: 5.5, likely 4.3 to 6.7

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

npm downloads, 4 weeks
8.7M ×8.8 in a year
GitHub stars
6.3k
Commits, 12 months
1
npm version
2.3.8 Apr 2023
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
2.1 out of 10, Nov 2026
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (mebjas/html5-qrcode), npm (html5-qrcode), OSV and the OpenSSF Scorecard.

QR codes and barcodes

  1. 7.9zxing-wasm
  2. 7.4bwip-js
  3. 7.2qrcode.react
  4. 6.5JsBarcode
  5. 6.1QR Code Styling
  6. 6.0node-qrcode
  7. 5.5ZXing JS
  8. 4.6jsQR
  9. 4.1html5-qrcode
Compare all 9 on six scores