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