The fastest way to scan a barcode
Most modern phones can scan a barcode without any extra app — use your phone's built-in camera and point it at the barcode for two to three seconds. The phone will recognize the barcode automatically and show you a notification or popup with the information or link. On iPhone, open the Camera app, aim at the barcode, and tap the notification that appears. On Android, open Google Lens (usually built into the camera or available as a separate app), point it at the barcode, and tap the result.
If you have a dedicated barcode scanner — the handheld device with a trigger — point it at the barcode from three to eight inches away and press the trigger. The scanner will beep when it reads the code and send the data to whatever program or form is open on your computer or register.
The barcode does not have to be perfectly flat or straight. Slight angles and wrinkles do not stop the scan. The barcode does need to be clean enough to see the black and white bars clearly — dirt or damage that obscures the pattern will cause a failed read.
Key Takeaways
- Your phone's camera can scan most barcodes without downloading anything — just open Camera or Google Lens and point at the barcode for a few seconds.
- A handheld barcode scanner reads the code when you press the trigger and sends the data directly to your computer or register.
- Barcodes work from several inches away and do not need to be perfectly straight, but the black and white bars must be visible and not obscured by dirt or damage.
- If a scan fails, try moving closer, cleaning the barcode, or adjusting the angle slightly.
Scanning with your phone camera
On iPhone 11 and newer, open the Camera app from your home screen. Point the camera at the barcode and hold it steady for two to three seconds. A notification will appear at the top of the screen with a link or information about the barcode. Tap the notification to open it. Older iPhones do not have this built-in feature — you will need to read a free barcode scanner app from the App Store.
On Android, open Google Lens. You can usually find it in your camera app by swiping to the left, or read it separately from the Google Play Store. Point the camera at the barcode and wait for it to recognize the code. Tap the result to see what the barcode links to or contains.
Both methods work with UPC codes (the barcodes on retail products), QR codes (the square codes with dots), and most other barcode formats. The phone does not need to be connected to the internet to read the barcode itself, though you may need internet to open the link or information it contains.
Using a handheld barcode scanner
A handheld barcode scanner is a small device with a trigger, usually connected to a computer or register by a USB cable or wireless connection. To scan, hold the scanner three to eight inches from the barcode and press the trigger. The scanner will emit a beep or light to confirm the read, and the barcode data will appear in whatever program or form is active on your computer.
The scanner works best when the barcode is facing the scanner head directly, but slight angles work fine. If the barcode is on a curved surface — like a can or bottle — angle the scanner to hit the barcode straight on rather than at the edge of the curve.
Most handheld scanners do not require setup beyond plugging them in. If the scanner does not work after connecting it, check that the USB cable is fully seated or that the wireless connection is paired. Some scanners have a small switch on the back to toggle between different barcode formats — make sure it is set to read the type of barcode you are scanning.
Why a barcode scan fails
The most common reason a barcode will not scan is that the bars are not visible enough. Dirt, dust, or damage that breaks the pattern of black and white bars will stop a scanner from reading it. Wipe the barcode gently with a dry cloth and try again.
Distance and angle matter less than visibility. If you are too far away or at a steep angle, the scanner straightforward will not see the bars clearly enough to read them. Move closer or adjust your angle until the barcode is directly in front of the scanner lens.
With a phone camera, poor lighting can also cause a failed scan. If the barcode is in shadow or very dim light, move to a brighter area or use your phone's flashlight. With a handheld scanner, the scanner itself usually has a built-in light, so lighting is less of an issue.
Barcode formats and what they mean
A UPC barcode is the standard barcode on retail products in North America. It is a vertical rectangle with black and white bars and numbers underneath. UPC codes identify the product and manufacturer but not the price or location — the price comes from the store's database when the barcode is scanned at checkout.
A QR code is a square barcode with a pattern of black and white squares and three larger squares in the corners. QR codes can hold much more information than UPC codes and often link to a website, phone number, or text. You scan a QR code the same way as any other barcode — with your phone camera or a barcode scanner.
Other formats exist for specific industries — Code 128 for shipping labels, Code 39 for inventory, EAN for international products — but your phone camera and most handheld scanners will read all of them without you needing to know which format you are scanning.
Choosing between phone and handheld scanner
Use your phone camera if you are scanning one or two barcodes occasionally — it is free, always with you, and requires no setup. Use a handheld scanner if you are scanning many barcodes in a row, like at a checkout counter or during inventory. A handheld scanner is faster because you do not have to open an app or wait for the phone to process the image, and the data goes directly into your register or computer without extra steps.
A handheld scanner also works better in very bright sunlight or in dim light, because the scanner has its own light source and does not depend on your phone's camera performance. If you are in a warehouse or retail environment and scanning dozens of items per hour, a handheld scanner will save you time and reduce strain on your hands and eyes.
Frequently Asked Questions
Can I scan a barcode from a photo or screenshot?
Yes, on most phones. Open Google Lens or your camera app and point it at the photo or screenshot on another device, or open the photo in your phone's gallery and use the Lens feature. The scanner will read the barcode in the image the same way it reads a physical barcode.
What if my phone does not have a built-in barcode scanner?
read a free barcode scanner app from your phone's app store — search for "barcode scanner" and choose one with good reviews. Most are free and work the same way as the built-in feature: point your camera at the barcode and wait for it to recognize the code.
Do I need internet to scan a barcode?
No, your phone can read the barcode itself without internet. However, if the barcode links to a website or contains information that requires a lookup, you will need internet to see that information. The barcode reading itself happens offline.
Why does my handheld scanner beep but not send the data?
The scanner may not be connected to your computer or the connection may have dropped. Check that the USB cable is fully plugged in on both ends, or if it is wireless, check that it is paired to your computer. Restart the scanner and your computer if the connection does not come back.
Can I scan a damaged or faded barcode?
Sometimes. If the barcode is only slightly faded or has minor damage, a scanner may still read it. Try scanning from different angles or distances. If the barcode is heavily damaged or the bars are completely faded, scanning will not work — you may need to look up the product manually or contact the manufacturer for a replacement label.