A QR code is a square barcode made of black and white patterns. Restaurants, parking meters, and offices often use them to share website links.
Your phone’s built-in Camera app does not open a website the moment you point it at a QR code. Instead, it shows a small pop‑up banner on your screen with the web address. The page only opens after you tap that banner.
If links open right away on your phone without waiting for your tap, you are likely using a separate scanner app or a quick-scan shortcut. You can switch back to your regular Camera app so you always get a preview first, or you can turn off QR scanning in your camera altogether.
Steps
Follow the steps below for how you want your phone to handle QR codes. Taking a few minutes to adjust your phone and computer settings puts you in control of what opens on your screen, much like when you stop your phone from joining public Wi-Fi on its own.
1. Remove extra QR scanner apps
Many free QR scanner apps from the app store open web pages the instant they see a code. You do not need these extra apps because your phone’s built-in Camera app can already read QR codes and shows you the link first. Look through your home screen for any separate scanner apps, press and hold the app icon, and delete it. Removing unneeded apps is also a good habit if you want to keep apps from asking for permissions they do not need.
2. Use the regular Camera app instead of Control Center on iPhone
iPhones have a separate tool called Code Scanner inside the Control Center menu (the screen that appears when you swipe down from the top-right corner or up from the bottom). Use the main Camera app on your home screen instead of Code Scanner when you want to read the web address before opening it.
If you want to remove the Code Scanner button from your Control Center so you do not tap it by accident:
Swipe to open Control Center.
Touch and hold a blank area of the screen.
Tap the minus button on the Scan Code icon to remove it, then tap the screen to finish.
3. Read the web address preview before you tap
When you hold your iPhone or Android Camera app over a QR code, a small banner appears on the screen showing the web address (also called a URL). Stop and read those words before you tap the banner.
Check that the company name is spelled right and does not have extra words or swapped letters1. Be extra careful if the banner shows a shortened link made of random letters, because that hides where the link really goes. Putting a pause between an alert and your tap works the same way as when you require manual approval for Apple Cash payments.
4. Turn off QR scanning on an iPhone or iPad (optional)
If you never scan QR codes, or if pop‑up banners get in your way while you take photos, you can turn off QR scanning in your camera settings.
Open the Settings app on your iPhone or iPad.
Scroll down and tap Camera.
Tap the switch next to Scan QR Codes so it turns gray (off).
Your camera will now take photos normally and ignore QR codes. If you ever need to scan a code later, return to this menu and tap the switch back to green (on).
5. Turn off QR scanning on a Samsung or Android phone (optional)
You can also turn off automatic code reading in your Android camera so banners do not pop up while you take pictures.
Open your Camera app.
Tap the Settings icon (it looks like a small gear in the corner of the screen).
Tap the switch next to Scan QR codes to turn it off.
Menu names vary slightly across different Android brands. Note that a phone software update can sometimes turn this switch back on, so check this menu again if you notice QR banners returning after an update.
Practice checking a QR code preview banner
Common questions
Can scanning a QR code put a virus on my phone without me tapping anything?
Pointing your built-in Camera app at a QR code only reads the text inside the code and shows you a preview banner. The danger comes if you tap the banner to open a fake website and type in your password or credit card number.
Why did a QR code link open an app on my phone right away?
If a QR code points to an app you already have installed on your phone, tapping the preview banner may open that app directly instead of your web browser. If it opened without you tapping a banner at all, check if you were using a third-party scanner app and remove it.
Why does a QR code I scanned earlier keep popping up on my screen?
Your web browser keeps your previous tabs open until you close them. If you see the same webpage every time you open Safari or Chrome, open your browser, tap the tabs button (two overlapping squares on iPhone, or a small box with a number on Android), and close that page.