Scanning a code with your phone is simple: open the camera app, point it at the code, hold steady until a link or notification appears, then tap it. On most modern phones the camera does this without any extra app, though you can also use a dedicated scanner or the phone's built-in scanner found in Google Lens (Android) or the camera app (iPhone). The code you're scanning is almost certainly a QR code — the square pattern of black and white pixels — though some phones also read barcodes. The whole job takes a few seconds once the code is well lit and fully in frame.
Before you start, know what you're aiming for: a code is just a container for a short piece of text, usually a web address. Scanning it doesn't "install" anything by itself — it opens a link or shows a menu, and what happens next is up to you. A few seconds of caution before you tap saves trouble later.
What You'll Need
- A phone with a camera — any recent iPhone or Android phone will do.
- The camera app, or a QR scanner built into your phone (Google Lens on most Android phones, the built-in Code Scanner in the iPhone camera).
- Decent lighting, or the phone's flash if the code is in shadow.
- A steady hand or a surface to rest the phone on.
- Optional: a web browser or an app that owns the code, if it points to one.
Step-by-Step
- Unlock your phone and open the camera. On iPhone, use the standard Camera app from the lock screen or home screen. On Android, the stock Camera app usually works, or you can open Google Lens directly. Menu names differ slightly by phone maker, version and region, so if a label isn't exactly as described here, look for the closest match.
- Make sure QR detection is on. On iPhone, go to Settings > Camera and check that Scan QR Codes is enabled — it's on by default, but some people turn it off. On Android, the camera app usually has a setting such as Scan codes or Google Lens under its own settings; look there if nothing happens when you aim.
- Point the camera at the code. Fill a good part of the frame with the code — not the whole screen, and not so close that it blurs. The code should sit roughly in the centre, with its edges inside the viewfinder.
- Hold steady and wait a moment. The phone needs a second or two to focus. Don't tap the shutter button; the scan happens automatically as the camera detects the pattern.
- Watch for the link or prompt. On iPhone a yellow button or a notification appears with the URL; tap it to open. On Android, a chip or card usually slides up at the bottom of the screen — tap it. In Google Lens, results appear in a panel and you tap the link there.
- Check the destination before you act. Read the link or the app name shown. If it's a web address, glance at the domain before tapping. If a prompt asks to open an app you don't recognise, back out.
- Complete the action. If the code opens a Wi-Fi network, your phone may offer to join it — confirm and check the network name is right. If it opens a menu at a restaurant or a ticket, follow the on-screen steps. If it asks for a password or payment, be extra careful (see Common Mistakes).
- If the camera won't read it, try a dedicated scanner. On iPhone, open the built-in Code Scanner in the Control Centre (add it under Settings > Control Centre if it's missing). On Android, open Google Lens from the Google app or the home-screen widget, or search for a QR scanner in the Play Store and use an official, well-reviewed one.
- If you're scanning from an image on screen — a screenshot or a photo someone sent you — open the image, then use Google Lens (Android) or press and hold the code in the photo library on iPhone if the option appears. This is common for codes shared in chats.
Common Mistakes
Holding the phone too close or too far. The most frequent cause of a failed scan is framing. If nothing happens, pull back until the whole code plus a margin is visible, then slowly move closer.
Tapping the shutter button. People press the camera's capture button thinking it scans. It just takes a photo. The scan is automatic.
Ignoring the destination link. A QR code can point anywhere. Scammers stick fake codes over parking meters, restaurant tables and shop displays. If the link looks odd, doesn't match the place you're at, or asks you to log in with a password, stop.
Scanning a damaged or curved code. A code on a bottle or a creased flyer is hard to read flat. Smooth it, angle the phone slightly, or use the scanner's ability to read from a photo.
Assuming the scan failed when it already worked. Some phones give a quiet tick or a small notification instead of a big banner. Pull down the notification shade before restarting the whole process.
Tips
- Clean the camera lens — fingerprint smudges cause more blur than you'd think.
- Use a plain background behind the code if the surface is busy or reflective.
- If the code is on a screen, turn the screen brightness up and tilt the phone a few degrees to avoid glare.
- Codes on paper often work better from slightly further back than you'd expect.
- If you scan codes weekly, keep a scanner in your Control Centre (iPhone) or on your home screen (Android) so you skip the camera app.
- If a code opens a payment or login page, open it in your browser and check the address bar rather than trusting the first tap.
Troubleshooting
The camera shows the code but nothing happens. Move back slightly, tap the screen where the code is to force focus, and hold steady for a few seconds longer. If it still fails, check that QR detection is enabled in your camera settings, and try the dedicated scanner.
The code is blurry or the phone won't focus. Wipe the lens, get more light, and rest the phone on a table. Very close-up scanning is harder than most people expect.
You get an error page or "link not found". The code is valid but the destination may be dead or mistyped. Try scanning again to confirm the link, then open it manually in your browser. If it still fails, the code is probably old or misprinted.
Nothing at all opens after a scan. Restart the phone, then update the camera app or your phone's software from the official store. Check that the code is a QR code and not a barcode your camera doesn't read — barcodes need a scanner app on most phones.
A prompt asks you to install something. Only install apps from the official App Store or Play Store. If the code offers an APK download or asks you to sideload, close it. That is not a legit installation route.
Frequently Asked Questions
Do I need an app to scan a QR code?
Usually not. The iPhone Camera app and most Android camera apps read QR codes out of the box. A dedicated app is only needed for barcodes, older phones, or special formats.
Why won't my iPhone scan a code?
The most common reasons are that Scan QR Codes is switched off in Settings > Camera, the phone is too close, or the lens is smudged. Check the setting first, then reframe.
Can I scan a code from a photo on my phone?
Yes. Use Google Lens on Android, or press and hold the code in the Photos app on iPhone if a scan option appears. Saving a screenshot and scanning it is a reliable fallback.
Is scanning a QR code safe?
Scanning itself is harmless — it only reads text. The risk is where the link leads. Check the domain before tapping, never enter passwords on a page you don't recognise, and be suspicious of codes stuck over other labels in public places.
What happens if I scan a code with my front camera?
Nothing different in principle — QR detection works with the front camera too on most phones, though framing is harder. Use the rear camera for better focus and speed.
Can I scan a Wi-Fi code and join the network?
Yes. A Wi-Fi QR code contains the network name and password. Your phone will offer to join; check the network name before confirming so you don't connect to an impostor network.