Most modern smartphones can scan barcodes and QR codes using nothing but the built-in camera app. No extra download required. Point your camera at the code, hold steady for a second or two, and tap the link or banner that appears on screen. That’s the core process on both iPhone and Android, though the exact steps vary slightly by device.
Scanning on iPhone
Open the Camera app from your Home Screen, Lock Screen, or Control Center. Point it at the barcode or QR code so the entire code is visible in the frame. A clickable link or banner will appear near the top of the screen. Tap it to open the website, app, or payment screen the code points to.
This works on any iPhone running iOS 11 or later. If nothing happens when you point your camera at a code, the feature may be toggled off. Go to Settings, scroll down to Camera, and make sure “Scan QR codes” is switched on (the toggle should be green).
iPhones also have a dedicated Code Scanner tool you can add to Control Center. It works the same way but opens scanned links immediately instead of showing a banner first.
Scanning on Android
On Pixel phones, open Camera from Google and either point your default photo mode at the code or tap the QR mode option. A banner will appear at the bottom of the screen with the link or action. Tap it to proceed. You can’t scan in portrait or video mode.
Samsung Galaxy phones work similarly. Open the camera, point it at the code, and tap the overlay that appears. If scanning doesn’t trigger automatically, open your camera settings by tapping the gear icon and toggle on “Scan QR codes.”
Google Lens, which is built into most Android phones, also handles barcode scanning. You can access it through the Google search bar widget, the Google app, or by long-pressing the camera button on some devices. Lens is particularly useful for product barcodes because it can pull up pricing and product information alongside the scan result.
What Types of Codes Your Phone Can Read
QR codes get the most attention, but smartphone cameras handle a wide range of barcode formats natively. Both iPhone and Android support the standard retail barcodes you see on packaged products (UPC-A, UPC-E, EAN-8, and EAN-13), as well as industrial formats like Code 128, Code 39, Data Matrix, and Interleaved 2 of 5. Android devices also support Codabar, which shows up on library books and older shipping labels.
In practice, this means your phone can scan nearly any barcode you encounter in daily life, from a cereal box UPC to a boarding pass QR code to a warehouse inventory label.
Tips for a Clean Scan
Distance matters more than most people realize. If the barcode has small, tightly packed bars, move your phone closer. For larger codes, like a QR code on a poster, hold the phone farther back. If your camera struggles to focus, try pulling back a few inches and then slowly moving closer. On Pixel phones specifically, switching to 2x zoom and letting the camera crop the image can fix focus issues with small barcodes.
Lighting is the other key variable. Bright, even light works best. In dim conditions, turn on your phone’s flashlight. Avoid scanning at a perfectly straight-on angle, because the flash reflecting directly back into the lens can wash out the image. Tilting the phone slightly off-center, maybe 10 to 15 degrees, eliminates that glare while still giving the camera a clear view of the code.
Make sure the entire code is visible in the frame with a small margin around it. Partially covered, torn, or smudged codes will fail. Creased paper or curved surfaces can also cause problems, so flatten the surface if you can.
When Your Camera Won’t Cooperate
If your phone’s camera consistently fails to recognize barcodes, start with the basics. Clean the lens. A fingerprint smudge is enough to prevent a sharp focus. Next, make sure scanning is enabled in your camera settings (the toggle steps above). If it still won’t work, clear the camera app’s cache: on Android, go to Settings, then Apps, find Camera, tap Storage & Cache, and clear the cache. Restart your phone afterward.
Outdated software can also be the culprit. Barcode recognition relies on image processing that improves with OS updates, so check that your phone is running the latest version of its operating system.
Scanning a Code From a Screenshot
Sometimes the barcode you need to scan is already on your phone, saved as a screenshot or sent in a message. On iPhone, you can open the image in Photos, and if it contains a QR code, a small icon or notification will appear that lets you act on it. Google Lens handles this well on Android: open Lens, tap the image icon to select a photo from your gallery, and it will detect and read any codes in the image.
Staying Safe When Scanning
QR codes are increasingly used in phishing attacks, a technique security researchers call “quishing.” Criminals place malicious QR codes over legitimate ones on parking meters, restaurant menus, flyers, and even inside phishing emails. Because the destination URL is hidden inside the code’s pattern, you can’t inspect it before scanning the way you might hover over a link on a computer.
The UK’s National Cyber Security Centre recommends using your phone’s built-in scanner rather than downloading a third-party app from an app store. Built-in scanners show you the URL before opening it, giving you a chance to check whether the domain looks legitimate. Be cautious if a scanned code asks you to enter personal information, login credentials, or payment details, especially if the context feels unexpected.
If you do want a third-party scanner, look for apps that request minimal permissions (camera access is all that’s truly necessary), don’t serve ads, and actively flag suspicious links. The Privacy Friendly QR Scanner from the Karlsruhe Institute of Technology is one example: it highlights the domain name after scanning and asks you to confirm the link looks trustworthy before opening it. It only requests camera, vibration, and flashlight permissions.
When You Actually Need a Third-Party App
For everyday QR codes and product barcodes, your built-in camera is sufficient. Third-party apps become useful in a few specific situations: scanning codes from within other apps that don’t have camera integration, bulk scanning multiple items in a row for inventory purposes, or generating your own barcodes and QR codes. Some shopping apps like ShopSavvy or price comparison tools also bundle barcode scanning with product lookup features that go beyond what Google Lens provides.
If your phone is older and its native camera doesn’t support barcode recognition (generally pre-2017 models), a dedicated scanner app fills that gap. Otherwise, the tool you need is already on your phone.

