Barcode scanner
The usual reason to scan a barcode in a browser is not to find out what a product is. It is to check a label before a thousand copies of it are printed, or to get the digits off a carton without typing them. Point the phone camera at the code, or drop a photo here, and the number appears below with the name of its format. The camera keeps running after the first read, so you can walk along a shelf and collect codes one after another; the same code held in front of the lens counts once, not ten times a second.
Drop a photo of a barcode here, paste it with Ctrl+V, or choose a file
Where it is used
- Proofing a label before the print run: print one sheet, scan every code on it with a phone, and compare the digits with the spreadsheet they came from
- Collecting EAN or UPC numbers from stock on a shelf without a handheld scanner — each new code is added to the list with a short vibration
- Getting the numbers off a delivery note or a pallet label photo; up to eight barcodes are read from one picture
- Finding out which symbology a supplier's label actually uses when the spec sheet just says 'barcode'
How it compares
A phone camera and a till scanner read the same bars by different means, and a code that passes here can still fail at the till. Most retail scanners are red lasers or red-lit imagers, so bars printed in red ink vanish for them while a phone camera, which sees in colour, reads them happily. Light bars on a dark background are the same story: this reader tries the inverted image, many fixed scanners do not. And a camera forgives bars printed too thin for the scanner's resolution. So treat a read here as 'the data is right', not as a print-quality grade — that takes an ISO/IEC 15416 verifier. The 14 formats read here are EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar, ITF, Data Matrix, QR Code, Micro QR, PDF417 and Aztec. Micro QR depends on the browser: Chrome on Android and on a Mac hands recognition to the system's built-in detector, and that detector doesn't know Micro QR. ITF-14 shows up as ITF, GS1-128 as Code 128 and an ISBN as EAN-13, because that is what they are on the bar level. MSI is not read at all: the open-source decoder behind this page does not support it.
Common mistakes
- Shrinking an EAN-13 to fit the label and taking a phone read as approval. GS1 allows the symbol between 80% and 200% of its nominal 37.29 mm width; a phone will often read a 60% code off the screen of a proof, and a till will not. Measure the printed width, not just whether something scans.
- Treating a UPC-A that comes back with an extra leading zero as a different product. Many readers report UPC-A as a 13-digit EAN with 0 in front, because that is exactly what it is. 036000291452 and 0036000291452 are the same item.
- Photographing an ITF-14 on corrugated board from too close and at an angle. The thick bearer bars and the quiet zone need to be in the frame, and the board's flutes show through the print; step back until the whole code with its frame fits the picture, then let the camera focus.
Frequently asked questions
- Can I scan a barcode without an app?
- Yes. Open this page in the phone's browser, press 'Use camera' and point it at the code. Where the browser has a barcode reader built in, as Chrome does on Android and on a Mac, that one is used. Everywhere else — Safari, Firefox, Chrome on Windows — a reader of about 940 KB is loaded from this site the first time you scan.
- Which barcode types can it read?
- Fourteen: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar, ITF (including ITF-14), Data Matrix, QR Code, Micro QR, PDF417 and Aztec. MSI is the one common warehouse code it cannot read.
- Does it look up the product?
- No. It reads the number in the bars and stops there. A barcode number is only a key in somebody's database; finding the product means asking the brand owner, the retailer or GS1's Verified by GS1 lookup, and this page does not send your number anywhere.
- Why does the same barcode not appear twice when I scan a shelf?
- Because a code held in front of the camera would otherwise be added on every frame. The same number in the same format is ignored for two seconds after the last time it was seen. Move to the next code and it is added straight away; come back to the first one later and it is added again.
- My label reads here. Will it read at the checkout?
- Probably, but not certainly. A phone camera reads colours and inverted codes that a red-light retail scanner cannot, and it tolerates bars that are too thin. Use this page to confirm the data; use the store's own scanner, or a verifier, to confirm the print.