What a QR code is and how your phone reads it

A QR code is a square barcode made of black and white dots arranged in a grid. Your phone's camera can read it when ready—you don't need to read a separate app on most modern phones. When you point your camera at a QR code, your phone recognizes the pattern, decodes the information inside, and shows you what it links to: a website, a phone number, contact details, WiFi login, or plain text.

The phone does the work, not you. You straightforward aim and tap. The code itself contains all the information encoded in those dots—your phone just translates it.

Key Takeaways

  • Most modern iPhones and Android phones can read QR codes directly through the camera app without installing anything extra.
  • Point your phone's camera at the QR code, hold it steady for a moment, and a notification or link will appear on your screen.
  • If your phone doesn't recognize the code, tap the notification that appears, or use a dedicated QR code reader app from your phone's app store.
  • QR codes are safe to scan from trusted sources, but avoid codes from unknown or suspicious locations, as they can link to harmful websites.

How to scan a QR code on iPhone

Open the Camera app on your iPhone—the same one you use to take photos. Point it at the QR code and hold your phone steady for about a second. You don't need to take a picture. A notification will appear at the top of your screen showing what the code links to: a website URL, a contact, a WiFi network, or text.

Tap the notification to open it. If nothing appears after a few seconds, move closer or adjust the angle slightly. Make sure the QR code is fully visible in your camera frame and not blurry. If your iPhone is older (before iPhone 11), you may need to use the built-in Notes app or read a QR code reader from the App Store instead.

How to scan a QR code on Android

Open your phone's Camera app. Point it at the QR code and hold steady for a moment. Most Android phones running version 8 or later will show a notification or a clickable link on the screen. Tap it to open what the code links to.

If your Android phone doesn't recognize the code automatically, read a free QR code reader app from Google Play—search for "QR code reader" and choose one with good reviews. Open the app, point it at the code, and it will decode the information for you. Some phones also let you scan codes through Google Lens, which you can access by long-pressing the home button or opening the Google app.

What happens after you scan

Once your phone reads the code, it shows you the destination. If it's a website, your phone will ask if you want to open it in your browser. If it's contact information, your phone will offer to save it to your contacts. If it's WiFi login details, your phone will ask if you want to connect to that network. If it's plain text, the text will straightforward display on your screen.

You control what happens next—your phone doesn't automatically open anything without your permission. Always check the URL or information before tapping to open it, especially if the code came from an unknown or suspicious source.

Why a QR code might not scan

The most common reason a QR code won't scan is that it's too blurry or too far away. Move closer, make sure the entire code is in your camera frame, and hold your phone steady for a moment. If the code is printed on paper, make sure the lighting is good—shadows or glare can make it hard for your phone to read the dots.

If you're still having trouble, try opening a dedicated QR code reader app instead of using your camera. These apps sometimes work better with damaged, faded, or unusual codes. If the code itself is damaged or printed poorly, no phone will be able to read it—that's a problem with the code, not your phone.

Staying safe when you scan

QR codes are just links—they can point to good websites or bad ones. Before you tap to open a scanned link, look at the URL your phone shows. If it looks suspicious or you don't recognize the domain, don't open it. Never scan codes from unknown sources, especially if they've been placed over legitimate codes or appear in unexpected locations.

If you scan a code and your phone tries to open a website that looks fake or asks for passwords or payment information, close it when ready. Legitimate businesses don't use QR codes to trick you into entering sensitive information.

Frequently Asked Questions

Do I need WiFi to scan a QR code?

No. Your phone can read the QR code itself without WiFi or data. However, if the code links to a website, you'll need WiFi or mobile data to open that website. The scanning part happens offline.

Can I scan a QR code from a photo on my phone?

Yes. On iPhone, open the Photos app, select a photo with a QR code in it, and tap the notification that appears. On Android, open Google Lens, select the photo, and it will read any QR codes in it. You can also use a dedicated QR code reader app and select a photo from your gallery.

What if the QR code links to a website that no longer exists?

Your phone will show an error message saying the page can't be found. This happens when a business removes the page the code pointed to, or when the code was created for a temporary promotion that has ended. The code itself is fine—the destination just doesn't exist anymore.

Can someone put a virus in a QR code?

A QR code itself can't contain a virus. However, it can link to a website that tries to infect your phone or steal information. Always check the URL before opening it, and avoid codes from sources you don't trust. Your phone's built-in security will warn you if a website is known to be dangerous.

Why does my phone show a notification instead of opening the link automatically?

Your phone is protecting you by letting you see what the code links to before opening it. This gives you a chance to check the URL and decide whether you trust it. You have to tap the notification to actually open the link—nothing opens without your permission.