JavaScript Barcode & QR Code Reader SDK for the Web
Fast, accurate scanning of damaged, curved, angled, and low-light barcodes. Fully configurable for any use case. Start your free trial today!
Unmatched Speed & Accuracy
- Scan 500+ barcodes per minute
- Up to 20% faster than leading alternatives
- See benchmark
Scan Challenging Barcodes
- Scan curved, damaged, angled, dark and DPM barcodes accurately every time.
- Scan from a long distance with auto-zoom and deblurring.
- Read any 1 or 2D barcode including PDF417, Data Matrix and Aztec.
Flexible Integration
- Full control over camera, decoding, and output behavior.
- Extensive samples and templates to jump-start development.
- 200+ APIs for every use case. See key APIs.
Supported Symbologies
Linear Barcodes (1D)
Code 39 (including Code 39 Extended), Code 32, Code 93, Code 128, Codabar, Interleaved 2 of 5, Matrix 2 of 5, EAN-8, EAN-13, UPC-A, UPC-E, Industrial 2 of 5, MSI (Modified Plessey), Code 11, GS1 DataBar, Telepen
2D Barcodes
QR Code (including Micro QR Code), Data Matrix, PDF417 (including Micro PDF417), Aztec Code, MaxiCode (mode 2-5), DotCode
Postal Codes
USPS Intelligent Mail, Postnet, Planet, Australian Post, UK Royal Mail, KIX
Patch Code
GS1 Composite Code
Pharmacode
Barcode Solutions in Real-World Scenarios
See how Dynamsoft Barcode Reader empowers organizations across industries to streamline workflows, digitize operations, and deliver real-time data capture with unmatched speed and accuracy.
Manufacturing
Optimize production lines with fast and reliable barcode scanning for part tracking, inventory control, and quality assurance.
Case study: SIEMENS
Logistics & Supply Chain
Speed up operations with fast, panoramic barcode scanning for pallets, cartons, and mixed codes—ensuring accurate tracking from warehouse to delivery.
Case study: Geotab
Retail
Enable quick, reliable scanning for checkout, inventory, and product lookup—even on curved or reflective packaging using any device.
Case study: Do it Center
Healthcare
Ensure patient safety and traceability with robust scanning on meds, lab samples, and devices—integrated with EHR and compliant with data standards.
Case study: Statens Serum Institut
Financial Services
Simplify onboarding and document handling by scanning barcodes on IDs, forms, and receipts—securely within browser or mobile apps.
Case study: First United Bank
<!doctype html>
<html>
<body>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.4.2000/dist/dbr.bundle.js"></script>
<div id="cameraViewContainer" style="width: 100%; height: 60vh"></div>
<script type="module">
let router = await Dynamsoft.CVR.CaptureVisionRouter.createInstance();
let view = await Dynamsoft.DCE.CameraView.createInstance();
let cameraEnhancer = await Dynamsoft.DCE.CameraEnhancer.createInstance(view);
document.querySelector("#cameraViewContainer").append(view.getUIElement());
router.setInput(cameraEnhancer);
router.addResultReceiver({
onDecodedBarcodesReceived: ({ barcodeResultItems }) => {
for (let item of barcodeResultItems) {
alert(`${item.formatString}: ${item.text}`);
}
},
});
await cameraEnhancer.open();
await router.startCapturing("ReadSingleBarcode");
</script>
</body>
</html>
Start Scanning in Minutes
Add production-ready barcode scanning to any web app with easy integration. Copy the code to get started, then explore our full documentation and samples for more.
Scan QR Code to run the code on your phone.
Key APIs at-a-Glance
| API | What it Does |
|---|---|
| CaptureVisionRouter | Orchestrates the full capture and decode pipeline |
| CameraEnhancer | Opens the camera and feeds frames into the pipeline |
| CameraView | Renders the camera preview in the DOM |
| onDecodedBarcodesReceived | Callback that fires when barcodes are decoded |
| BarcodeResultItem | Represents a single decoded barcode — format, text, location |
Why Choose Dynamsoft Barcode Reader?
Boost Performance with Customized Scan Templates
Our customizable templates fine-tune performance for even the most challenging barcodes. Get your own custom demo template.
Security a Top Priority
ISO 27001 and O-TTPS certified to keep your data secure.
Fully Supported Free Trial
No obligation pre-sales support to help you determine feasibility for your business scenario.