Skip to main content


mebjas/html5-qrcode is an open source web based QR code and barcode scanning library built by mebjas@ under Apache License 2.0 license.

Lightweight & cross-platform QR Code and Bar code scanning library for the web

Use this lightweight library to easily / quickly integrate QR code, bar code, and other common code scanning capabilities to your web application.

Supports two kinds of APIs

  • Html5QrcodeScanner — End-to-end scanner with UI, integrate with less than ten lines of code.
  • Html5Qrcode — Powerful set of APIs you can use to build your UI without worrying about camera setup, handling permissions, reading codes, etc.

Table of contents