Web features explorer

Barcode detector

Limited availability

The BarcodeDetector API recognizes various barcode formats in images.

Browser support

  • Chrome Not supported Bugs: 40245611
  • Chrome Android 83 Released on 2020-05-19
  • Edge Not supported Bugs: 40245611
  • Firefox Not supported Bugs: 1553738
  • Firefox for Android Not supported Bugs: 1553738
  • Safari Not supported
  • Safari on iOS Not supported

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.

MDN documentation

Developer use cases

  • I'm a seller on Ozon (Russian Amazon), and I develop some applications for inside usage. Like, forming supplies, etc. I've got sheets of barcodes stickers printed without labels, and to not confuse them, I have to scan them before applying. Not each, but at least one from every sheet. Same with supplies: supply sticker has a barcode, and absolutely no information about the supply contents. I want to make an application that'll at least tell me the barcode itself, the leftover stock, the supplies related with it, and if I scan a supply barcode - then the supply details. Or, for orders: order barcodes are just a label with a QR-code and a order number. It would be nice if I can scan and check it through my app/system. On mobile systems, it would make a great api. On desktop, it could help with developing a "qr scanner" extension, with UI like the screenshot feature in Firefox. I'm a seller on Ozon (Russian Amazon), and I develop some applications for inside usage. Like, forming supplies, etc. I've got sheets of barcodes stickers printed without labels, and to not confuse them, I have to scan them before applying. Not each, but at least one from every sheet. Same with supplies: supply sticker has a barcode, and absolutely no information about the supply contents. I want to make an application that'll at least tell me the barcode itself, the leftover stock, the supplies related with it, and if I scan a supply barcode - then the supply details. Or, for orders: order barcodes are just a label with a QR-code and a order number. It would be nice if I can scan and check it through my app/system. On mobile systems, it would make a great api. On desktop, it could help with developing a "qr scanner" extension, with UI like the screenshot feature in Firefox. [see original comment]
  • We place QR Codes on several places on our assembly lines, that contain parameterized links to our Smartphone PWA. These help our maintenance staff to identify the assembly units very easily. We place QR Codes on several places on our assembly lines, that contain parameterized links to our Smartphone PWA. These help our maintenance staff to identify the assembly units very easily. [see original comment]