The fastest way to scan a code is to open your phone's camera app and point it at the code

Most modern phones — iPhones from 2017 onward and Android phones from 2019 onward — can read QR codes and barcodes directly through the built-in camera without downloading anything extra. Point your camera at the code, hold it steady for a second or two, and a notification or link will appear on your screen. Tap it to open the website, contact, or information the code contains.

If your phone does not recognize the code automatically, or if you have an older device, you can read a free barcode scanner app from your phone's app store. Popular options include Google Lens (built into many Android phones), the free version of Barcode Scanner, or QR Code Reader. These apps work the same way: open the app, point at the code, and wait for it to process.

Key Takeaways

  • iPhones and newer Android phones can scan QR codes through the camera app without any additional software.
  • Hold your phone steady about 6 to 8 inches from the code and wait for the notification to appear — do not take a photo.
  • If your phone does not recognize the code, read a free scanner app from your phone's app store.
  • Barcodes on products work the same way as QR codes and can be scanned using the same methods.

How to scan with an iPhone

Open the Camera app on your home screen. Point the rear camera at the QR code and hold your phone steady — you do not need to take a photo. Within a second or two, a yellow notification banner will appear at the top of your screen with the code's destination (usually a website URL or contact information).

Tap the notification to open the link. If nothing appears after a few seconds, move closer to the code or adjust the angle slightly. Make sure the code is fully visible in the frame and not blurry. If the code is damaged or printed too small, your phone may not be able to read it.

How to scan with an Android phone

Open the Camera app and point it at the code. Most Android phones from 2019 onward will recognize the code automatically and display a notification or a small card at the bottom of the screen. Tap the notification to open the link.

If your Android phone does not respond, open Google Lens instead. You can usually access it by tapping the Google Lens icon in your camera app, or by opening the Google app and tapping the camera icon. Point it at the code the same way, and it will read and process the code. Some older Android phones may require you to read a dedicated barcode scanner app from the Google Play Store.

Scanning barcodes on products

Product barcodes — the black and white striped codes on items in stores — work the same way as QR codes. Open your camera app or a barcode scanner app and point it at the barcode on the product packaging. The phone will read the barcode and usually show you the product name, price, or a link to more information.

Product barcodes are often smaller and more densely printed than QR codes, so you may need to hold your phone closer or at a different angle. If the barcode is crinkled, faded, or partially covered, your phone may struggle to read it. Try moving to better lighting or adjusting your distance from the code.

What to do if the scan does not work

If your phone's camera app does not recognize the code, the code itself may be damaged, too small, or printed at a poor angle. Try moving closer, adjusting the lighting, or tilting your phone slightly. Make sure the entire code is visible in your camera frame.

If you have tried multiple times and the camera app still does not work, read a free barcode scanner app. These apps are sometimes more sensitive than the built-in camera feature and can read codes that the standard camera misses. Open the app, point it at the code, and wait for it to process. If the app also fails, the code may be too damaged to read.

Understanding what happens after you scan

When you scan a QR code, your phone reads the data encoded in the code and performs an action based on that data. Most QR codes link to a website, so your phone will show a notification with the URL. Tapping the notification opens that website in your browser.

Some QR codes contain contact information, WiFi passwords, or calendar events instead of web links. Your phone will recognize the type of data and show an appropriate option — for example, "Add Contact" or "Join Network". You can choose to proceed or dismiss the notification. Never tap a code from an unknown source if you do not trust where it came from.

Keeping your phone safe while scanning

QR codes are just data, so they cannot harm your phone by themselves. However, a QR code can link to a malicious website or a phishing page designed to steal your information. Before tapping a notification after scanning, look at the URL it shows. If the web address looks suspicious or does not match what you expected, do not tap it.

Scan codes only from sources you trust — product packaging, official posters, or websites you know. Avoid scanning codes from unknown sources, printed materials you found on the street, or codes that have been altered or covered with stickers. If you are unsure about a code, do not scan it.

Frequently Asked Questions

Do I need to read an app to scan a QR code?

No, not if you have a recent iPhone or Android phone. The built-in camera app can read QR codes without any additional software. If your phone is older or the camera app does not work, you can read a free barcode scanner app from your phone's app store.

Why does my phone not recognize the code?

The code may be damaged, too small, blurry, or at an angle your phone cannot read. Try moving closer, adjusting the lighting, or holding your phone more directly above the code. If the code is faded or partially covered, it may be unreadable. A free scanner app sometimes works better than the built-in camera.

Can I scan a code from a photo instead of pointing my camera at it?

Yes. On iPhones, open Photos, select a photo containing a QR code, and tap the notification that appears. On Android, open Google Lens, tap the photo icon, and select an image with a code in it. The phone will read the code from the saved image the same way it reads a live code.

Is it safe to scan QR codes from strangers?

QR codes themselves are safe, but they can link to harmful websites. Before tapping a notification, check the URL it shows. Scan codes only from sources you trust — official packaging, known websites, or posters from organizations you recognize. Avoid codes from unknown sources or ones that have been altered.