How to scan a QR code
By Pradip Dhakal · · 7 min read
The short answer
Open your phone’s camera and point it at the code, as if you were about to take a photo. After a second, a link or banner appears: check where it goes, then tap it. iPhones have read QR codes in the Camera app since iOS 11, and most Android phones do it in the camera app or with Google Lens. For a code that’s already on your screen, take a screenshot and scan that instead.
On this page
The quickest way on each device
Every way of scanning does the same job: it reads the black and white squares and shows you what they hold, whether that’s a web address, a WiFi network or a contact card. Nothing opens until you tap. So the best scanner is simply the one built into what you’re holding.
On an iPhone or iPad
The Camera app reads QR codes on its own, with nothing to install or switch on. Apple added it in iOS 11 in 2017, so any iPhone that still gets updates has it.
- Open Camera from the Home Screen, the Lock Screen or Control Center, and stay in the normal photo mode.
- Hold the phone so the whole code is on screen. You don’t press the shutter: the camera highlights the code as soon as it finds it.
- A banner appears with the website or action. Read the address in it, then tap the banner to open it.
There’s also Code Scanner, a control you can add to Control Center. It opens a scanner straight away, without the photo controls, and has a flashlight button for dim restaurants and car parks. Add it by editing Control Center; the exact steps vary a little between iOS versions.
If the camera ignores codes completely, open Settings, then Camera, and check that Scan QR Codes is turned on.
On an Android phone
Android phones come from many makers, so the route differs from phone to phone, but one of these works on almost any phone from the last several years:
- The camera app. Open it and point it at the code. Many phones show the link straight away. On some, you first turn on QR scanning, sometimes called Google Lens suggestions, in the camera’s settings.
- Google Lens. Open the Google app and tap the camera icon in the search bar, or open the Lens app if you have it. Lens reads QR codes on any phone that runs it.
- A quick settings tile. Swipe down from the top of the screen. Many phones include a QR scanner tile; if yours isn’t showing, edit the panel and add it.
Older phones without any of these can use a scanner app, but choose a well-known one, because some free scanners are padded with ads or ask for permissions they don’t need. A scanner that runs in the browser, like ours, needs no install at all.
Scanning a code that’s on your own screen
You can’t point a phone’s camera at its own screen, which is a problem when a QR code arrives in an email, a chat or on a web page. The answer is a screenshot.
- iPhone: take a screenshot, open it in Photos, then touch and hold the code, or tap the Live Text button, to see its link. This works on recent versions of iOS.
- Android: take a screenshot, open it in Google Photos and tap Lens. Lens finds the code and shows what it holds.
- Any phone or computer: open our QR code scanner and choose Scan an image. It reads the code from the screenshot on your device, without uploading it anywhere.
A code that turns up unexpectedly in an email or text deserves a closer look. The US Federal Trade Commission warns that scammers send QR codes this way; our guide to QR code safety shows how to check one.
On a Mac or Windows PC
Computers are the odd one out, because few people hold a laptop up to a poster. Usually the code is already on the screen or in a file you’ve saved.
- Windows: the built-in Camera app has a QR code mode. Open Camera, choose the barcode mode on the right, and hold the code up to the webcam. The link appears at the bottom of the window.
- Mac, Chromebook and everything else: open our QR code scanner in any modern browser. Choose Start camera to scan with the webcam, or Scan an image for a screenshot or saved file.
To capture a code on screen, press Shift-Command-4 on a Mac and drag across it, or Windows-Shift-S on a PC and save the snip. Then scan the image.
Check before you tap
Scanning a code only reads it, which is harmless. Opening it is where a second of care pays off, and your phone gives you that second: the banner shows the address before anything loads.
- Look at the domain, the name just before the first single slash. A parking meter code that leads to a site you’ve never heard of is a reason to stop.
- Be wary of short links and QR redirect services. They hide the final address until you open them.
- Install apps only from the official store. If a code offers a download, it should open the App Store or Google Play, not a file.
- Don’t type passwords or card numbers into a page a code opened unless you’re sure who runs it.
Our scanner shows what a code holds before you open it, and warns about links that imitate other sites, bare IP addresses, unencrypted pages and redirect services.
When a code won’t scan
If the camera doesn’t react, the cause is usually distance, light or the code itself. Try these in order:
- Change the distance. Fill about half the screen with the code. Too close and the camera can’t focus; too far and the squares blur together.
- Add light and dodge glare. Turn on the flashlight in a dark room, and tilt the phone if a glossy surface reflects the lamps.
- Hold still for a second or two. The camera needs one sharp frame to read every square.
- Wipe the lens. A smudged camera blurs exactly the fine detail a QR code depends on.
- Try another scanner. Google Lens or our scanner can read codes a camera app misses, including codes in photos.
If no phone can read it, the code itself may be too small, low in contrast or damaged. Our guide to why a QR code isn’t working covers each cause, and error correction explained shows how much damage a code can take.
What a code can do when you scan it
Most codes open a website, but a QR code can hold other things too, and phones handle each one differently. In every case, your phone shows what the code wants to do and waits for you.
| The code holds | Your phone offers to |
|---|---|
| A web address | Open the page in your browser |
| A WiFi network | Join the network, with no password to type |
| A contact card | Save the name, number and email to your contacts |
| A calendar event | Add the event, with its time and place |
| An email or text message | Open a new message, already filled in |
| A phone number | Call it |
| Plain text | Show the text, ready to copy |
Some scanner apps open links automatically the moment they read them. If yours does, turn that setting off, so you always see the address first.