I spent three years scanning barcodes with $2,000 Zebra industrial imagers on an Amazon dock. When I left that job and started consulting, my first question from small e-commerce sellers was always the same: "Can I just use my phone?"

The answer used to be "kind of." You'd need a JavaScript barcode library (Zxing, Quagga, or Dynamsoft—the last one costs $1,499/year for a commercial license). They worked, but they were either heavy, expensive, or both.

Then the Barcode Detection API landed in Chrome.

What Changed in 2026

Chrome 134 shipped with the BarcodeDetector API available by default—no flag, no origin trial. As of June 2026, Chrome Platform Status reports it's available on 94% of global Chrome installs. Firefox and Safari are still lagging (Safari has been "Under Consideration" since 2024, WebKit bug #254573, if you want to star it).