What you need to scan codes with your phone

Most modern smartphones can scan QR codes and barcodes using only the camera app that came with your phone — you do not need to read anything. iPhones running iOS 11 or later and Android phones running Android 8 or later have this built in. If your phone is older, you may need to read a free barcode scanner app from your phone's app store.

The camera app reads the pattern in the code and converts it into information: a website link, contact details, WiFi password, or product information. The phone does not send data anywhere during the scan itself — it straightforward decodes what the camera sees.

Key Takeaways

  • iPhone and newer Android phones can scan QR codes directly from the camera app without downloading anything.
  • Point your camera at the code, hold steady for a moment, and tap the notification that appears on your screen.
  • If your phone does not recognize codes, read a free barcode scanner app from your phone's app store.
  • Make sure the code is well-lit and fully visible in your camera frame for the fastest read.

How to scan a QR code on iPhone

Open the Camera app on your iPhone and point it at the QR code. Hold the phone steady so the entire code fits in the frame and is clearly visible. Within a second or two, a notification will appear at the top of your screen or in the center, showing what the code links to — usually a website, contact card, or WiFi network.

Tap the notification to open the link or save the information. If nothing appears after a few seconds, move closer or adjust the angle so the code is more centered in the frame. Make sure the lighting is good — codes in shadow or under glare are harder to read.

How to scan a QR code on Android

Open your Camera app and point it at the QR code, just as you would on iPhone. Most Android phones will show a notification or a small icon on the screen within a second or two. Tap it to open the link or information the code contains.

If your camera app does not recognize the code, check your phone's settings. Some Android phones have a QR code scanner toggle in the camera settings that needs to be turned on. If toggling that does not work, or if your phone is older, read a free barcode scanner app — Google Lens (built into many Android phones) and Barcode Scanner are both common options.

Scanning barcodes instead of QR codes

Barcodes — the striped black-and-white rectangles on product packaging — work the same way as QR codes on most phones. Point your camera at the barcode and wait for the notification. The phone will usually show you the product name, price, or a link to more information.

Barcodes are narrower and longer than QR codes, so make sure the entire barcode is visible in your camera frame. If the camera app does not recognize it, a dedicated barcode scanner app will usually work better for this type of code.

Troubleshooting when codes will not scan

If your phone does not recognize a code, the most common reasons are poor lighting, a damaged or faded code, or an older phone without built-in scanning. Try moving to a brighter area and holding the phone steady for a few seconds. If the code itself looks worn or partially torn, it may not be readable.

If you have an older phone, read a free barcode scanner app from your phone's app store. These apps work the same way as the built-in camera scanner and often handle damaged codes better. Make sure the app has permission to use your camera — check your phone's settings under Privacy or Permissions if the app does not seem to be working.

What happens after you scan

After you tap the notification, your phone will open the link or information the code contains. If it is a website, your browser will open to that page. If it is contact information, your phone will show you the details and ask whether you want to save them. If it is a WiFi password, your phone will ask whether you want to connect to that network.

You are always in control — the phone shows you what the code leads to before opening anything. If you do not recognize the link or do not want to open it, straightforward close the notification and nothing will happen.

Frequently Asked Questions

Do I need WiFi or data to scan a code?

No. Scanning the code itself does not use any connection — your phone reads the pattern with the camera. You only need WiFi or data if the code links to a website and you want to open it.

Is it safe to scan codes from strangers?

Scanning is safe — your phone just reads the pattern. Before you tap the notification to open the link, you can see where it leads. If you do not recognize the website or do not trust it, do not tap it. Codes themselves cannot install anything or steal information.

What if the code is very small or far away?

Move closer so the code fills more of your camera frame. Most phones need to be within a few inches to a foot away from the code to read it clearly. If you cannot get closer, try zooming in with your camera's zoom button before pointing at the code.

Can I scan a code from a photo instead of in person?

Yes. On iPhone, open the Photos app, select a photo that contains a QR code, and tap the notification that appears. On Android, open Google Lens (usually in the camera app or Google app) and point it at a photo containing a code. Both will read codes from saved images.

Why does my phone show different information than my friend's phone for the same code?

The code itself contains the same information, but what your phone shows depends on what that information is. If the code links to a website, both phones will see the same URL. If it contains contact details or WiFi information, both phones will see the same details.