QR codes now appear on restaurant menus, product packaging, event tickets, posters, business cards, and payment terminals. The good news is that scanning one no longer requires a special app for most people. The camera already built into your phone can read a code in about a second, then hand you a link or an action you can tap. This guide walks through the exact steps on iPhone and Android, covers scanning from a saved image, explains how to stay safe, and troubleshoots the stubborn codes that refuse to read. By the end you will be able to scan almost any code you encounter without hunting for extra software.

What a QR code actually is

A QR code (short for Quick Response code) is a square pattern of black and white cells that stores data in two dimensions rather than the single line of a traditional barcode. That extra dimension lets it hold far more information, from a simple web address to Wi-Fi credentials, contact details, calendar events, plain text, or payment instructions. The three large squares in the corners help your camera find and orient the code even when it is tilted or upside down, and built-in error correction means a code can still be read when part of it is smudged or covered. When your camera recognizes the pattern, software decodes it and offers the matching action. Understanding this helps explain why some codes open a browser while others prompt you to join a network or save a contact.

How to scan a QR code on iPhone

  1. Open the built-in Camera app. You do not need to take a photo.
  2. Point the rear camera at the QR code so the whole square sits inside the frame.
  3. Hold steady for a moment. A yellow notification or banner with the link or action appears near the top or bottom of the screen.
  4. Tap the notification to open the website, join the Wi-Fi network, or complete the action.

If nothing appears, open Settings, then Camera, and make sure Scan QR Codes is turned on. You can also add a dedicated Code Scanner button to Control Center for faster access, which is handy if you scan codes often. The Code Scanner opens straight into a focused scanning view and even dims your surroundings to make the code stand out, so it is more reliable than the regular camera in awkward lighting.

How to scan a QR code on Android

  1. Open the Camera app on your phone.
  2. Aim it at the code and keep the phone reasonably still.
  3. Wait for a pop-up or link banner to appear, then tap it.
  4. If your camera does not detect codes, open Google Lens (built into the camera or the Google app) and point it at the code instead.

Android varies by manufacturer. Samsung, Google Pixel, and most others enable scanning by default, but some skins hide it behind a setting or a mode called Scene Optimizer or Lens. If your camera has a settings gear, look for a QR or scanning toggle and switch it on. On many phones there is also a dedicated QR scanner tile in the quick settings panel; swipe down from the top of the screen with two fingers, tap the scanner tile, and point it at the code for a one-step scan.

Scanning a code from a photo or screenshot

Sometimes the code is on the same screen you are holding, or it arrives in an email, a message, or a document. You cannot point the camera at your own display, so scan the image instead. This trick is one of the most useful and least known ways to handle codes.

  • Android: Save or screenshot the code, open it in Google Photos, then tap the Lens icon to detect the link. You can also long-press many on-screen codes to get a scan option directly.
  • iPhone: Open the image in Photos, then look for the Live Text or link detection control that appears over the code, or share the image to a scanner app.
  • Any phone: A trusted third-party scanner app can import an image from your gallery and decode it, which is useful when the built-in tools miss the code.

Comparing your scanning options

Method Best for Notes
Built-in Camera Everyday scanning Fastest, no install, works on most recent phones
Google Lens Android and saved images Reads codes from photos and screenshots too
iOS Code Scanner Quick access on iPhone Add to Control Center for one-tap scanning
Third-party app Older phones Choose a reputable app and check permissions

For nearly everyone the built-in camera is the right first choice because it is instant and requires no setup. Reach for Lens or a dedicated app only when the camera falls short or when you need to decode an image rather than a physical code.

Troubleshooting codes that will not scan

When a code refuses to read, work through the usual culprits in order. First, clean your camera lens, since a smudge scatters light and blurs the pattern. Second, improve the lighting, because both deep shadow and harsh glare confuse the scanner; tilt the phone slightly to kill reflections on glossy surfaces or laminated menus. Third, adjust your distance so the code fills roughly a third to half of the frame and is fully in focus; tap the screen to force the camera to refocus if the image looks soft. Fourth, check the code itself, as a torn, faded, wrinkled, or partly covered square may be unreadable. Fifth, make sure you are using the rear camera rather than the lower-resolution front one. If all else fails, try Google Lens or a dedicated app, which sometimes decode marginal codes the camera app gives up on.

Staying safe when you scan

Because a QR code hides its destination behind a pattern, it is a favorite tool for scammers who paste fake codes over legitimate ones on parking meters, flyers, and menus, a tactic sometimes called quishing. Before you tap, read the preview link your phone shows and make sure the domain looks right and is not a lookalike with an extra word or an odd ending. Be especially cautious with codes that ask for payment or login details, and never enter card numbers or passwords on a page you reached only through an unexpected code. If you use a browser to open links, learning what incognito mode is can help you avoid saving sensitive sessions, and knowing how to clear your browser cache keeps things tidy afterward. Treat an unexpected code the same way you would treat an unexpected link in a text message: with healthy suspicion.

Everyday uses beyond opening a website

QR codes do far more than load web pages, and knowing the range helps you understand what a scan might trigger. A code can join you to a Wi-Fi network without typing the password, save someone’s contact card to your phone, add an event to your calendar, open a specific app, display a boarding pass or ticket, or start a payment. When you scan, your phone reads the type of data first and then offers the relevant action, which is why the button you see changes from one code to the next. If a code tries to do something you did not expect, you can simply decline the prompt and nothing happens. This is also why the same scanning steps work everywhere: your camera does the reading, and your phone decides what to offer based on what the code contains, whether that is a link, a network, a document, or a saved contact card.

When you should still use a dedicated app

Native scanning covers the vast majority of situations, but a dedicated scanner still earns its place in a few cases. If you regularly generate and read codes for work, batch-scan inventory, or need to decode a wall of images at once, a purpose-built app adds history, bulk import, and format support your camera lacks. On very old phones without built-in detection, an app is the only route. For everyone else, the camera you already carry is the simplest tool for the job. If you find your phone feels sluggish while scanning or browsing afterward, it may be time to free up storage space, and understanding what a widget is can help you place a one-tap scanner shortcut on your home screen so the camera is always a single tap away.