JavaScript API for barcode scanning based on the WebAssembly technology

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 barcode types. The library is capable of scanning barcodes from static images as well as directly from live video streams. It also supports reading multiple barcodes at once.

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

Barcode Scanning Online Demo

Lean and Efficient

The core of Dynamsoft Barcode Reader is written in C++, which is powerful, and efficient. The library is based on WebAssembly technology so that it runs alongside JavaScript. Together, this combination allows for optimal portability, efficiency, and performance.

Barcode Symbologies Support

  • Linear Barcodes (1D):

    Code 39 (including Code 39 Extended)
    Code 93
    Code 128
    Interleaved 2 of 5
    Industrial 2 of 5
    MSI (Modified Plessey)
  • 2D Barcodes:

    QR Code (including Micro QR Code and Model 1)
    Data Matrix
    PDF417 (including Micro PDF417)
    Aztec Code
    MaxiCode (mode 2-5)

    Patch Code

  • GS1 DataBar (Omnidirectional,
    Truncated, Stacked, Stacked
    Omnidirectional, Limited,
    Expanded, Expanded Stacked)

    GS1 Composite Code

    Postal Codes

    USPS Intelligent Mail
    Australian Post
    UK Royal Mail

Browser Compatibility

Browser Name Version
Chrome v57+ (v59+ on Android/iOS1)
Firefox v52+ (v55+ on Android/iOS1)
Edge v16+
Safari2 v11+

1Video streaming is not supported in Chrome/Firefox on iOS.

2Safari 11.2.2 ~ 11.2.6 are not supported.