Guide
How to scan a barcode on a phone or PC
You can scan a barcode with any phone or computer that has a camera and a browser. Open a web-based scanner, allow camera access, and hold the barcode in the frame. The phone’s own camera app is usually not enough. On both iPhone and Android it reads QR codes and skips ordinary product barcodes, which surprises a lot of people.
Ready to scan? The scanner works on iPhone, Android and PC with nothing to install.
Open the online barcode scannerScan a barcode on an iPhone
- Open the scanner in Safari Go to onlinebarcodescanner.com. Chrome and Firefox on iPhone work too.
- Tap Start camera, then Allow Safari asks once for camera permission (the exact wording changes a little between iOS versions). If you tapped Don’t Allow earlier, tap the page icon in the address bar, choose Website Settings and set Camera to Allow.
- Hold the barcode in the frame Keep it 10 to 15 cm away and steady. Tap the flashlight button if the light is poor. The result appears as soon as the code is read.
The iPhone’s built-in Camera app and the Code Scanner in Control Center read QR codes only. They do nothing with a UPC or EAN, which is why you need a separate scanner for products.
Scan a barcode on Android
Open onlinebarcodescanner.com in Chrome, tap Start camera and choose “While visiting the site”. If you blocked the camera earlier, tap the icon at the left of the address bar, then Permissions, and switch Camera on. Android phones focus well up close, so 8 to 15 cm works, and the zoom slider helps with very small barcodes.
Android also has Google Lens, in the Google app or the camera’s Lens mode. It reads barcodes and shows shopping results, and for a single “what is this product” question it is perfectly good. A browser scanner is the better tool when you need the number itself, a list of many scans, or an export.
Scan a barcode on a PC or laptop
Use the webcam. Start the camera, then hold the item up to the lens about 20 to 25 cm away. Built-in webcams have fixed focus, so closer makes it blurrier. If the barcode is on your screen, take a screenshot and paste it into the scanner. Full instructions are on the barcode scanner for PC page.
Scan a barcode from a photo, screenshot or PDF
Open the scanner, choose the Image / PDF tab, and pick the file, drag it in, or paste a screenshot with Ctrl+V (Cmd+V on a Mac). Every barcode in the image is listed, and for a PDF every page is checked.
This is how you read a barcode that is on the same device you are holding, such as an e-ticket in your email. For QR codes in particular, see the QR code scanner.
Habits that make scans work the first time
Hold still. Motion blur causes more failed scans than anything else, and a full second of stillness fixes it.
Light the barcode and keep glare off it. Shiny packaging throws a white patch across the bars, and tilting the item a little moves the patch away. Watch for the shadow of your own hand as well.
Fill most of the frame with the barcode, but leave a little blank space on both sides of the bars. If the camera will not focus, you are too close, so back off until the bars look sharp. On a bottle or can, turn it so the bars run up and down the curve like a ladder. And if nothing else works, wipe the lens. A fingerprint smear is enough to blur fine bars.
Still stuck? Barcode not scanning? lists the causes and fixes.
What you get after scanning
A barcode is a number or a short text. For a product you get the UPC or EAN, which the scanner then looks up to show the product name. For a QR code you usually get a link. If you want to know which kind you have scanned, the types of barcodes guide shows them all.
Sources
Spotted a mistake? Email [email protected].