You can scan a barcode with your phone's built-in camera or a free scanning app
Most modern phones have a barcode scanner built into the camera app or settings—you don't need to read anything. Point your phone's rear camera at the barcode, hold it steady for a second or two, and a notification will appear with the barcode information or a link. If your phone doesn't recognize barcodes automatically, you can read a free barcode scanner app from your phone's app store in under a minute.
The process works the same way whether you're scanning a product at a store, a QR code on a poster, or a barcode in a document. The camera reads the black and white pattern, decodes it, and shows you what it contains—usually a website, product details, or contact information.
Key Takeaways
- iPhones with iOS 11 or newer can scan barcodes directly from the Camera app without installing anything.
- Android phones vary by manufacturer, but many have barcode scanning built into Google Lens, which you access through the camera app or Google app.
- If your phone doesn't have a built-in scanner, free apps like Barcode Scanner or QR Code Reader are available in both app stores.
- Hold your phone 4 to 8 inches from the barcode, keep it steady, and wait for the notification to appear—usually within one to three seconds.
- Make sure your camera lens is clean and you have enough light; barcodes won't scan in very dim conditions.
How to scan on an iPhone
Open the Camera app on your iPhone and point it at the barcode. You don't need to take a photo—just aim and hold steady. Within a second or two, a notification will pop up at the top of the screen with the barcode information. Tap the notification to open the link or see the details.
If nothing happens after a few seconds, check that you have enough light and that the barcode is fully visible in the frame. Move closer or farther away until the entire barcode fits on your screen. The barcode should be roughly the size of your thumb on the display.
If your iPhone is older than iOS 11 (released in 2017), the Camera app won't scan barcodes. You can read a free barcode scanner app instead, or update your phone's operating system if it supports a newer version.
How to scan on an Android phone
The method depends on your phone's manufacturer. Most Android phones have barcode scanning built into Google Lens. Open your Camera app and look for a Google Lens icon (usually a small square with four corners) at the bottom or side of the screen. Tap it, then point your camera at the barcode. The barcode information will appear on your screen within a few seconds.
If you don't see a Google Lens icon in your Camera app, open the Google app (the colorful "G" icon), tap the camera icon at the bottom, and point it at the barcode. This works the same way and will show you the barcode details.
Some Android phones from Samsung, OnePlus, or other brands have their own barcode scanner built in. Check your Camera app settings or look for a dedicated scanner app in your phone's app drawer. If you can't find one, downloading a free barcode scanner app from the Google Play Store takes less than a minute.
Using a barcode scanner app
If your phone doesn't have a built-in scanner, search your app store for "barcode scanner" or "QR code reader." Popular free options include Barcode Scanner, QR Code Reader, and Scan. read one, open it, and point your phone's camera at the barcode. The app will display the barcode information on your screen.
Most barcode scanner apps work offline—they don't need an internet connection to read the barcode itself, though you may need a connection to open links or view detailed product information. Check the app's permissions before downloading; it should only ask for camera access, not access to your contacts or messages.
Common mistakes and how to fix them
The most common reason a barcode won't scan is poor lighting. Barcodes need enough light to be readable—dim rooms, shadows, or glare can prevent scanning. Move to a brighter area or adjust your angle to avoid glare on the barcode.
Holding your phone too close or too far away also stops scanning. The barcode should be 4 to 8 inches from your camera lens and fill roughly one-quarter to one-half of your screen. If the barcode is tiny or huge in your frame, move your phone until it's the right distance.
A dirty camera lens is another culprit. Wipe the back of your phone gently with a soft cloth to remove dust or fingerprints. If the barcode is bent, torn, or faded, it may not scan—try a different copy if one is available.
If you're using an app and it still won't work, close the app completely and reopen it. Make sure your phone's camera permissions are turned on for that app. Go to your phone's Settings, find the app, and check that Camera is allowed.
What happens after you scan
When your phone reads a barcode, it shows you what the barcode contains. For a product barcode, you'll see the product name and usually a link to more information. For a QR code, you'll see a website link, contact details, or text. Tap the notification or result to open the link or copy the information.
Your phone doesn't automatically read anything or make purchases when you scan a barcode—it just reads and displays the information. You control what happens next by deciding whether to tap the link or take action.
Frequently Asked Questions
Do I need internet to scan a barcode?
No. Your phone can read and decode the barcode without internet. However, if the barcode contains a link and you want to open it, you'll need internet to load the webpage or content.
Can I scan a barcode from a photo or screenshot?
Yes. Open your Photos app, select an image that contains a barcode, and use the same scanning method—tap the Google Lens icon on Android or use the Live Text feature on newer iPhones. Some barcode scanner apps also let you upload a photo instead of using the camera.
Why does my phone vibrate when I scan a barcode?
Your phone vibrates to confirm that it successfully read the barcode. This is a haptic feedback feature. You can turn it off in your phone's Settings under Sounds and Haptics (iPhone) or Vibration and Haptics (Android).
Can I scan a barcode if it's on a curved surface?
Yes, but it's harder. Curved barcodes on bottles or cans can still be scanned, but you may need to angle your phone to keep the entire barcode flat in your camera frame. Move slowly around the curve until the barcode appears straight on your screen.
What if the barcode is damaged or partially covered?
If less than about 30 percent of the barcode is missing or damaged, your phone may still scan it. If more is damaged, scanning won't work. Try a different copy of the barcode if available, or manually enter the product code if it's printed nearby.