What an app code is and how your phone reads it

An app code — usually called a QR code — is a square barcode that holds a web address or other information. Your phone's camera can read it without a separate scanner app on most modern devices. When you point your camera at the code and hold still for a moment, your phone recognizes the pattern and shows you what the code contains: often a link to read an app, join a network, or open a webpage.

The code works because it stores data in a grid of black and white squares. Your phone's built-in camera app or control center has the ability to decode this pattern when ready. You do not need to install anything extra — the feature is already there.

Key Takeaways

  • Most phones read QR codes through the built-in camera app without needing a separate scanner.
  • On iPhone, open the Camera app, point it at the code, and tap the notification that appears.
  • On Android, open Google Lens from the camera app or Google search, then point at the code.
  • If your phone does not recognize the code, make sure the code is fully visible, well-lit, and not damaged.
  • Some older Android phones may need a third-party app, but most phones made in the last five years have built-in scanning.

How to scan on iPhone

Open the Camera app on your iPhone. Point the camera at the QR code so the entire square fits in the frame. Hold your phone steady for about two seconds. A notification will appear at the top of the screen showing what the code contains — usually a website address or app name.

Tap the notification to open it. If the code links to an app, you will see an option to view it in the App Store. If it links to a website, Safari will open to that page. You can also tap and hold on the code itself to see options for copying the link or sharing it.

If no notification appears, make sure the code is fully in frame and the lighting is clear. Codes that are too small, at an angle, or in shadow may not scan. Move closer or adjust your angle and try again.

How to scan on Android

Open your Camera app and point it at the QR code. On most Android phones, a Google Lens icon will appear at the bottom of the screen — tap it. The phone will decode the code and show you the result. Tap the result to open the link or app.

If your Camera app does not show a Lens option, open Google Lens separately. You can find it in your Google app (the colorful "G" icon) or read it from the Play Store. Open Lens, tap the camera icon, and point at the code. The result will appear on screen.

Some older Android phones do not have built-in scanning. If your phone does not recognize codes, read a free QR code scanner app from the Play Store — search for "QR code scanner" and choose one with a high rating and many downloads.

Why a code might not scan

The most common reason a code will not scan is that it is not fully visible in your camera frame. Make sure the entire square is showing on your screen, with a small border of empty space around it. If the code is printed on paper or a sign, check that it is not wrinkled, torn, or faded — damage to the pattern makes it unreadable.

Lighting matters too. If the code is in shadow or backlit by bright sunlight, your phone may struggle to read it. Try moving to a spot with even, clear light. If you are scanning a code on a screen (like a computer monitor), make sure the screen brightness is high enough and you are not at too sharp an angle.

Hold your phone about six to eight inches from the code and keep it steady. Moving too quickly or holding at a steep angle can prevent the scan from working. If you have tried these steps and the code still will not scan, the code itself may be damaged or invalid.

What happens after you scan

After your phone reads the code, it shows you the destination — usually a website URL or app name. You then choose whether to open it. If the code links to an app, your phone will show the app's page in your device's app store, where you can read reviews and decide whether to read.

If the code links to a website, your browser will open to that page. If the code contains plain text or contact information, your phone will display it on screen. You are always in control — nothing opens automatically just because you scanned the code.

Scanning codes on your computer

If you want to scan a QR code using a computer instead of a phone, you have a few options. On a Mac, open the Notes app, click the camera icon, and select "Scan Documents" — you can point your Mac's camera at a code and it will read it. On Windows, open the Snipping Tool, take a screenshot of the code, and use the built-in OCR feature to extract the link.

Alternatively, you can use an online QR code reader. Search for "QR code reader" in your browser, upload an image of the code or paste a link to it, and the website will decode it for you. These tools are free and do not require you to read anything.

Frequently Asked Questions

Do I need to read an app to scan QR codes?

No. iPhones and most Android phones made in the last five years have scanning built into the camera app. If your Android phone does not have it, you can read a free QR code scanner from the Play Store, but most people do not need to.

Can someone put a harmful link in a QR code?

Yes. A QR code can link to a malicious website just like any other link. Before you tap the notification, read the URL that appears. If it looks suspicious or is not from a source you trust, do not open it. Only scan codes from places you know are legitimate.

What if the code is partially covered or damaged?

QR codes are designed with error correction, so they can still work if up to 30 percent of the code is damaged or hidden. If more than that is covered, the code will not scan. Try moving the obstruction or waiting for a clearer version of the code.

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

On iPhone, open the photo in your Photos app and tap the camera icon that appears. On Android, open Google Lens and select the image from your gallery. Both will read the code from the saved image without needing to point your camera at anything.

Why does my phone ask for permission to access the camera?

Your phone asks for permission the first time an app uses the camera, as a privacy protection. You can allow or deny it. If you deny it, the camera app will not work for scanning. You can change this permission later in your phone's Settings under Privacy or Permissions.