Scanbot SDK has been acquired by Apryse! Learn more

Learn more
Skip to content

PWA Barcode Scanner

Integrate our fast and accurate PWA Barcode Scanner into your web application. Seamlessly scan 1D and 2D barcodes with real-time data capture.

Trusted by 400+ global
industry leaders

Volvo Customer Shiseido Customer Coop Naturally logo. Blue coop lettering. TitleMax Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer Volvo Customer Shiseido Customer Coop Naturally logo. Blue coop lettering. TitleMax Customer Procter & Gamble Customer Generali Success Story Deutsche Telekom Case Study Deutsche Bahn Success Story AXA Success Story ArcBest Customer
Mobile barcode scanner SDK scanning product barcodes on a smartphone screen.

Real-time AR feedback

Deliver real-time augmented reality (AR) feedback during barcode scanning and improve user interaction. Elevate the user experience with seamless visual cues for faster, more intuitive barcode recognition.

Mobile barcode scanner. JavaScript SDK scanning a PDF417 barcode on a package.

Barcode scanning in challenging conditions

Our PWA Barcode Scanner ensures accurate scans even under the toughest real-world conditions:

  • Damaged barcodes
  • Low-light environments
  • Tiny or distant barcodes

Customizable UI components

Our Ready-To-Use UI components cover all barcode scanning scenarios and are highly customizable. Learn more

Fast.
Very fast.
Every scan happens in 0.04s or less

Scans all major barcode types Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar Code 39 Code 93 Code 32 Code 25 EAN-5 PDF417 GS1 DataBar EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-13 MSI Plessey EAN-2 Aztec Code rMQR Code Codabar UPC-A EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 EAN-8 ISBN GiroCode GS1-128 Data Matrix IATA 2 of 5 Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode Code 128 Code 11 QR Code UPC-E Micro QR Code MaxiCode

Add a fast and reliable PWA Barcode Scanner

Transform your Progressive Web Applications (PWAs) by integrating the Scanbot Web Barcode Scanner SDK. Our SDK provides straightforward APIs, making it easy to implement fast, accurate, and reliable barcode recognition directly within your web apps. Whether you’re scanning 1D or 2D barcodes live with a device camera or extracting information from uploaded images, our solution delivers real-time precision.

Our SDK supports a comprehensive range of barcode formats, from Data Matrix, QR codes, and PDF417 to EAN and many more, ensuring you can scan everything you need. Develop once and deploy everywhere, as our solution is optimized for smooth integration across both mobile and desktop environments, guaranteeing consistent performance. 

Besides, you can integrate it in under an hour with our Ready-To-Use UI (RTU UI) components, allowing you to customize the scanner’s user interface to match your app, with no extensive coding required. Even in challenging conditions, our SDK delivers superior performance in low-light, making it ideal for real-world applications in retail, logistics, healthcare, and beyond.

Have questions? Our expert support team is ready to assist you. Connect with us via Slack, Microsoft Teams, or email to guide you through the integration process and ensure you get the absolute most out of the Scanbot Barcode Scanner SDK.

Technical requirements

Our Web SDK leverages Web Assembly for fast, efficient barcode scanning, supported by the following browser versions or newer:

 

  • Edge: 16+
  • Firefox: 53+
  • Chrome: 57+
  • Safari: 11+

 

The latest versions of the following mobile browsers are supported:

 

  • Android: Chrome, Firefox, Edge
  • iOS 14.5+: Safari, Chrome, Firefox, Edge

Integrate this evening
with

Features

Discover common barcode scanning use cases

See how the Scanbot Web Barcode Scanner SDK’s scan modes improve your workflows.

  • Single Scanning

    Ideal for tasks requiring the scan of just one barcode at a time, such as re-ordering products or performing a quick stock lookup in retail or inventory management systems.

  • Batch Scanning

  • Multi Scanning

  • Find & Pick

  • Scan & Count

Web Barcode Scanner SDK Mobile web barcode scanner SDK interface on a smartphone, scanning books. Web Barcode Scanner SDK on mobile scanning boxes. Barcode reader app for inventory management. Mobile web barcode scanner SDK scanning boxes inside a van. Mobile web barcode scanner app detecting items on shelves. Inventory management with real-time barcode scanning.

How to integrate the Scanbot PWA Barcode Scanner

With the Scanbot Web Barcode Scanner SDK, you can add barcode scanning functionalities to your web app in a matter of minutes and also make it downloadable by turning it into a Progressive Web App.

 

To create a simple web app, first install the scanbot-web-sdk package with the following command:

 

npm i scanbot-web-sdk

 

Copy the SDK’s WebAssembly binaries from node_modules to wasm in the public asset directory using the following command:

 

mkdir -p public/wasm && cp -r node_modules/scanbot-web-sdk/bundle/bin/barcode-scanner/* public/wasm

 

Then initialize the SDK in App.tsx.

 

import { useEffect } from "react";
import ScanbotSDK from 'scanbot-web-sdk/ui';

const App = () => {
  useEffect(() => {
    const init = async () => {
      await ScanbotSDK.initialize({
        licenseKey: "",
        enginePath: '/wasm/'
      });
    };

    init();
  }, []);

  return <></>;
}

 

You can configure the barcode scanner like this:

 

const startScanner = async () => {
  const config = new ScanbotSDK.UI.Config.BarcodeScannerScreenConfiguration();
          
  const result = await ScanbotSDK.UI.createBarcodeScanner(config);
    
  return result;
}

 

To trigger the scanner with a button press, add a button and assign the startScanner function to its onClick event:

 

return (
  <div>
    <button onClick={startScanner}>Start Scanner</button>
  </div>
);

 

Set the value of scanResult within the startScanner function when the scanning results are returned. You can display those results below the button.

 

Your App.tsx should look like this:

 

import { useEffect, useState } from "react";
import ScanbotSDK from "scanbot-web-sdk/ui";

const App = () => {
  const [scanResult, setScanResult] = useState<string>("");
  
  useEffect(() => {
    const init = async () => {
      await ScanbotSDK.initialize({
        licenseKey: "",
        enginePath: "/wasm/"
      });
    };

    init();
  }, []);
  
  const startScanner = async () => {
    const config = new ScanbotSDK.UI.Config.BarcodeScannerScreenConfiguration();
          
    const result = await ScanbotSDK.UI.createBarcodeScanner(config);
        
    if (result && result.items.length > 0) {
      setScanResult(result.items[0].barcode.text);
    }
    
    return result;
  }

  return (
    <div>
      <button onClick={startScanner}>Start Scanner</button>
      {scanResult && <div>{scanResult}</div>}
    </div>
  );
};

export default App;

 

With this setup, you now have a fully functional barcode scanner! Check out our comprehensive, step-by-step tutorial that guides you through the entire process of how to build a Progressive Web App (PWA) Barcode Scanner with React and TypeScript.

Frequently Asked Questions

What is a PWA Barcode Scanner SDK?

The PWA Barcode Scanner SDK is a software development kit that allows developers to integrate barcode scanning functionality into web and mobile applications using PWA. It enables scanning of both 1D and 2D barcodes directly through device cameras without needing additional hardware or apps.

Does the SDK support all platforms beyond PWAs? 

Yes, in addition to Progressive Web Application, we offer SDKs for native iOS, Android, React Native, Flutter, Cordova, Capacitor / Ionic, Xamarin, .NET MAUI, UWP, Linux. This allows for consistent barcode scanning across all your applications.

How can I get a trial license for the PWA Barcode Scanner? 

You can request a free trial license directly from our website to test the full capabilities of the SDK in your PWA environment.

Which barcode formats are supported by the PWA Barcode Scanner?

Our PWA Barcode Scanner SDK supports all major barcode formats, including 1D barcodes like UPC, EAN, and Code 128, as well as 2D barcodes such as QR codes, PDF417, and DataMatrix. This makes it a versatile solution that ensures accurate barcode scanning across industries such as retail, logistics, healthcare, and many more. Explore the full list of supported barcodes by the Scanbot SDK here.

Experience our demo apps

Barcode Icon Art

Barcode Scanner SDK

Scan 1D and 2D barcodes reliably in under 0.04s. Try features like Batch Scanning, Scan & Count, and our AR Overlays.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Web QR Code

Also available to download from:

Document Icon Art

Document Scanner SDK

Scan documents quickly and accurately with our free demo app. Create crisp digital scans in seconds.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Black and white QR code. Scan this code for quick access to information.

Also available to download from:

Data_capture Icon Art

Data Capture Modules

Try fast, accurate data capture with our demo app. Extract data from any document instantly – 100% secure.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Black and white QR code. Scan this quick response code with your smartphone.

Also available to download from: