Most phones can scan barcodes using the built-in camera and a free app
Your phone's camera can read barcodes without any special hardware. On newer iPhones (iPhone 11 and later), the Camera app itself has a built-in barcode scanner — you just point and tap. Android phones need a separate app, but dozens of free options work well, and many come pre-installed on newer devices.
The barcode appears as a clickable link or product information on your screen within seconds. You do not need to read anything expensive or sign up for a service. The process is straightforward enough that you can do it in a store, at home, or anywhere you have a barcode in front of you.
Key Takeaways
- iPhone 11 and newer phones can scan barcodes directly through the Camera app without installing anything extra.
- Android users need to read a free barcode scanner app from Google Play, such as Google Lens, Barcode Scanner, or QR Code Reader.
- Point your phone's camera at the barcode, hold it steady for one to two seconds, and wait for the result to appear on your screen.
- Most barcode scanners work in low light, but you will get faster results if the barcode is well-lit and not bent or damaged.
How to scan a barcode on iPhone
Open the Camera app on your iPhone. Point the camera at the barcode so the entire barcode fits inside the frame on your screen. Hold the phone steady for about one second. A notification will pop up at the top of the screen with the barcode information — usually a product name, price, or website link.
Tap the notification to open the result. If nothing appears after two seconds, move the phone slightly closer or adjust the angle so the barcode is more centered in the frame. Bent, faded, or partially covered barcodes take longer to read or may not scan at all.
If you do not see a notification, check that your iPhone is iPhone 11 or newer. Older models do not have this feature built in. You can check your model by going to Settings > General > About and looking at the model name.
How to scan a barcode on Android
First, read a barcode scanner app. Google Lens (made by Google) is free and comes pre-installed on many newer Android phones. If you do not have it, search for "Google Lens" in Google Play and tap Install. Other reliable free options include Barcode Scanner or QR Code Reader, both available in Google Play.
Open the app and point your phone's camera at the barcode. The app will read it automatically — you do not need to press a button. The result appears on your screen within one to two seconds, usually showing the product name, price, or a link to more information.
Some Android phones also have barcode scanning built into the Google Assistant. Hold down the home button to open Google Assistant, then tap the camera icon and point it at the barcode. This method works the same way as a dedicated app.
Getting the best scan every time
Hold your phone about four to six inches away from the barcode. The barcode should be fully visible on your screen and not tilted at a sharp angle. If the barcode is small, move closer. If it is large, step back a little.
Make sure there is enough light. Barcodes are easiest to read in daylight or under indoor lighting. If you are in a dim area, turn on your phone's flashlight or move to a brighter spot. Shadows across the barcode slow down the scan or cause it to fail.
Keep the barcode clean and flat. Wrinkled, torn, or heavily marked barcodes are harder to read. If a barcode is damaged, try scanning from a different angle or moving your phone more slowly across it.
What to do if the barcode will not scan
Try moving your phone closer or farther away. The sweet spot is usually four to six inches, but every barcode is slightly different. If you are too close, the camera cannot focus. If you are too far, the barcode is too small to read clearly.
Wipe your phone's camera lens with a soft cloth. Dust or fingerprints on the lens make it harder for the camera to focus. This is one of the most common reasons a barcode will not scan even though the app is working correctly.
Check that your app has permission to use the camera. On Android, go to Settings > Apps > [App Name] > Permissions and make sure Camera is turned on. On iPhone, go to Settings > Privacy > Camera and make sure the app is listed and enabled.
If the barcode is very faded or damaged, the app may not be able to read it. Try taking a photo of the barcode instead and looking up the product manually online, or ask a store employee for the product information.
Understanding what the barcode tells you
A barcode is a machine-readable code that stores product information. When you scan it, the app looks up what that code means — usually a product name, brand, price, or website. The app does not create this information; it retrieves it from a database that already exists online.
Different types of barcodes store different amounts of information. A standard product barcode (called UPC or EAN) stores just a product number. A QR code can store a website link, contact information, or other data. Your phone's camera can read both types, though the app you use may handle them differently.
Frequently Asked Questions
Do I need internet to scan a barcode?
You need internet to see the product information after you scan. The barcode itself is just a number — your phone has to send that number to a database online to find out what product it is. If you are offline, the scan will not work.
Can I scan a barcode from a photo instead of pointing my camera at it?
Yes, on Android. Open Google Lens, tap the photo icon at the bottom, and select a photo from your gallery. Point the camera at a barcode in real time on iPhone or Android, but most apps do not read barcodes from saved photos as reliably as from live camera feeds.
Is it safe to scan barcodes with my phone?
Scanning a barcode itself is safe. The barcode is just a product number. However, if the barcode is a QR code that links to a website, be cautious about where that link takes you — just like you would be cautious about clicking any unknown link online.
Why does my barcode scanner app keep crashing?
Try closing the app completely and opening it again. If it still crashes, uninstall it and read a different barcode scanner app from Google Play. Crashes usually mean the app has a bug or is not compatible with your specific phone model.
Can I scan a barcode if it is on my computer screen?
Yes, but it works better if the barcode is printed or displayed clearly. Point your phone's camera at the screen just as you would at a printed barcode. Make sure the screen brightness is high enough that the barcode is straightforward to see.