JavaScript Barcode Reader Coming Soon

Dynamsoft Barcode Reader JavaScript Edition is a JavaScript API for barcode scanning based on the WebAssembly technology. It supports real-time localization and decoding of various types of barcodes. The library is capable of scanning barcodes from a static image, and more importantly, directly from a live video stream. It supports reading multiple barcodes at a time.

Before going any further, I suggest you try the demo from a desktop browser or mobile browser to see it in action.

Try online demo >

Zero footprint

The core of Dynamsoft Barcode Reader is written in C++ for performance. We compiled the library to WebAssembly so that it can run alongside with JavaScript.

Supported barcode symbologies

Linear Barcodes (1D):

Code 39, Code 93, Code 128, Codabar, Interleaved 2 of 5, EAN-8, EAN-13, UPC-A, UPC-E, Industrial 2 of 5

2D Barcodes:

QR code, Data Matrix, PDF417, Aztec

Supported browser and platform

Browsers for desktop

Chrome v61 or up recommended (?)
Edge v16 or up
Firefox v58 or up recommended (?)
Safari v11 or up (could be slow)
Internet Explorer No

Browsers for mobile

Chrome for Android v61 or up recommended (?)
Edge slow
Firefox for Android v58 or up recommended (?)
Safari v11 or up  (could be slow)
Android webview v61 or up recommended (?)

Estimated Performance

Generally speaking, the performance heavily depends on the network connection, device and browser used. Below is some preliminary data from our testing. The “1st load” column lists the time spent on downloading the WASM file and compilation when a user first accesses the above demo page. The “2nd load” column lists the time spent on page load from the second time forward. The last column lists the time spent on localizing and decoding multiple barcodes off one video frame.

Device Browser 1st load(ms) 2nd load(ms) Average time spent on barcode reading
Win10 CPU:i7-6700 Chrome 67 4,322 3,732  172
Win10 CPU:i7-6700 FireFox 61 515 119  150
Win10 CPU:i7-6700 Edge 42 717 222  433
Linux Firefox 61 1,376 173  250
Mac mini Safari 10.12.6 28,645  9,464  153
Mac mini FireFox 58 4,738 149  187
iphone 7 Safari 11.4 30,262  13,174  251
MI 6X Android Firefox 60 4,710  295  325
HUAWEI Nexus 6P Android Firefox 60 21,814  1,158  2,301

Overall, WebAssembly edition comes with a clear advantage: your end users don’t need to install anything to use your application; Meanwhile, this relatively new technology relies on browsers a lot so the performance might be an issue, especially for the first time load. The loading performance will be improved down the road. Please contact us if you have questions choosing the right edition and would like to optimize the reading accuracy or the performance.

Pre-order Special: 25% off the JavaScript Edition

Dynamsoft Barcode Reader JavaScript Edition is expected to be released in 3 weeks. It’s currently on pre-order and we are offering a discount of 25% off. After official release, the software will be licensed on a per-server basis, at $799/server/year. The current promotion price is $599/server/year.

If you are interested, please email to purchase. Please note that the discount expires on August 7th, two weeks from now on.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.