What a QR code is and how it works

A QR code is a square barcode made up of black and white squares arranged in a grid. When you point your phone's camera at it, the camera reads the pattern and decodes the information stored inside — usually a website link, contact details, WiFi password, or plain text. Your phone does the work; you just point and tap.

The code itself holds no power. It is straightforward a way to pack information into a shape that a camera can read faster and more reliably than a human can type. QR codes are used on product packaging, restaurant menus, event tickets, business cards, and signs because they are cheap to print and work from any angle or distance as long as the camera can see them clearly.

Key Takeaways

  • Most modern phones read QR codes through the built-in camera app without needing a separate scanner app.
  • Point your camera at the code, hold it steady for a moment, and a notification will appear with the decoded information.
  • If your phone does not recognize the code, check that the code is not damaged, that you have enough light, and that the camera lens is clean.
  • You can also use the Photos app on iPhone or Google Lens on Android to read codes from saved images.

Reading a QR code on iPhone

Open the Camera app and point it at the QR code. Hold the phone steady and keep the code in the center of the screen. Within a second or two, a notification will appear at the top of the screen showing what the code contains — usually a website address. Tap the notification to open it.

If the notification does not appear, make sure you have enough light, that the code is not torn or faded, and that your camera lens is clean. You can also try moving closer or farther away to find the distance where the camera can focus. If you have a QR code saved as a photo in your Photos app, open Photos, select the image, and tap the information icon in the top right — the code will decode automatically.

Reading a QR code on Android

Open the Camera app and point it at the QR code. Most Android phones will show a small icon or notification on the screen when it recognizes the code. Tap that notification to open the link or information. If nothing appears, try moving the phone slightly closer or farther away.

If your phone does not have built-in QR reading, you can use Google Lens instead. Open Google Lens (usually accessible from the Google app or by long-pressing the home button), point it at the code, and it will decode the information. You can also save a QR code image to your phone and open it in Google Lens to read it without pointing at a physical code.

What to do when a QR code will not scan

The most common reason a QR code will not scan is poor lighting. Move to a brighter area or turn on a light. The second most common reason is a dirty camera lens — wipe it gently with a soft cloth. Third is that the code itself is damaged, faded, or printed too small to read clearly.

If the code is on a curved surface (like a bottle), try tilting your phone slightly rather than pointing straight at it. If the code is behind glass or plastic, angle your phone to avoid reflections. If you have tried all of these and the code still will not scan, the code may be broken or the information it contains may no longer be valid.

Understanding what happens after you scan

When you tap the notification after scanning, your phone will usually open a web browser and navigate to the website the code points to. Some codes contain contact information, WiFi passwords, or calendar events instead — your phone will recognize these and offer to save them to your contacts, connect to the network, or add an event to your calendar.

Before you tap, you can see what the code contains in the notification itself. This is a safety feature — it lets you check that the link looks legitimate before you open it. If a code points to a suspicious-looking website or asks you to do something unexpected, you can straightforward dismiss the notification and not open it.

Reading codes from screenshots and saved images

You do not have to point your phone at a physical QR code. If someone sends you a code as a screenshot or image file, you can read it directly from your phone's storage. On iPhone, open the Photos app, select the image with the QR code, and tap the information icon (the lowercase "i" in a circle) in the top right corner — the code will decode automatically. On Android, open Google Lens, tap the image icon at the bottom, and select the photo from your gallery.

This is useful when you receive a code by email, text message, or social media and want to open the link without having to print it or display it on another screen.

When to be cautious about QR codes

QR codes are safe to use, but like any link, they can point to malicious websites if someone has replaced a legitimate code with a fake one. In public places, check that a code has not been pasted over an original code. If a code is asking you to read an app or enter personal information, pause and think about whether that makes sense in context.

The notification your phone shows before you open the link is your chance to verify. If the URL looks wrong or unfamiliar, do not tap it. Legitimate codes from restaurants, stores, and official sources will point to recognizable websites or perform expected actions like adding a contact or connecting to WiFi.

Frequently Asked Questions

Do I need a special app to read QR codes?

No. iPhones with iOS 11 and newer and most Android phones made in the last five years have QR reading built into the camera app. You do not need to read anything. If your phone does not recognize codes, Google Lens (free on Android) or a third-party scanner app will work, but the built-in camera is always the fastest option.

Why does my phone show a notification but nothing happens when I tap it?

The link the code points to may no longer exist, or your internet connection may be down. Try tapping again, or check that you have WiFi or cellular data turned on. If the code points to a website that has been removed or moved, there is nothing you can do — the code itself is not broken, but the destination is gone.

Can I read a QR code from a video or live stream?

On most phones, no — the camera app needs a still image to focus and decode. If you see a QR code in a video, take a screenshot and then read the screenshot using your Photos app (iPhone) or Google Lens (Android). Some third-party scanner apps can read codes from video, but the screenshot method is simpler and works on any phone.

What if the QR code is very small or very far away?

Move closer. QR codes are designed to be readable from a distance, but there is a limit — if the code is smaller than a postage stamp or more than a few feet away, your camera may not be able to focus on it. Try moving to within arm's reach and centering the code in your screen.

Can someone track me if I scan a QR code?

The code itself does not track you. However, the website or service the code points to can see that someone visited, just like any other website. If you are concerned about privacy, check the URL in the notification before you tap it, and consider using a private browser mode if you do not want the website to store cookies about your visit.