Scan barcode from <img>

HOME 🏡

These examples show how to scan a barcode with ZXing javascript library from an image. The examples decode from the src in img tag, however is also possible to decode directly from an url without an img tag.

Scan barcode from Code 128

Decode



Scan barcode from EAN-13

Decode



Scan barcode from ITF

Decode

See the source code for these examples.