You have a requirement to enable web-based barcode scanning for your mobile browsers. But, you don’t want to do it via an app since it requires extra effort for both users and developers. How do you build an online QR code scanner using mobile camera? There are mainly two ways to decode barcodes in mobile browsers:

  • Client-Side scanning

    With a web-based barcode scanner, the barcode decoding happens on the client side. As a result, uploading the video stream to the server is not necessary.

  • Server-Side scanning

    Users can access the web page via their mobile browsers, take a snapshot with the camera load an existing one, upload it to the server, and the server will decode the barcode content, and then return the decoded result.

    Server-side barcode scanning demo »

In this post, we introduce a solution for web based barcode scanning from mobile browsers.

Read Barcodes in Web Using Mobile Cameras

Dynamsoft’s JavaScript barcode reader SDK based on WebAssembly technology enables you to read barcodes from live video stream within desktop and mobile browsers. It supports real-time localization and decoding from live camera feed. Supported barcodes include:

See it in action: QR code web scanner >

Hello World

With the JavaScript SDK, you can easily integrate barcode and QR code scanning into your browser-based workflow. On mobile phones, your customers and employees will no longer have to download an app.