Skip to content

QR Code Safety: What a Scan Can Do and How the Scams Work

What an iPhone does when it scans a code, how QR scams run, the FBI and FTC checks, and where to keep codes with private details.

Get Stash

Quick answer

A QR code is only text, and scanning it does nothing until you tap. The risk is where that text leads: the FBI and FTC warn of fake codes that open copies of payment and login pages.

What a scan does
The iPhone camera reads the code and shows a link or action at the bottom of the screen. Nothing opens until you tap it.
How scams work
A sticker over a real code on a parking meter, or a code in a surprise email, letter or package, leads to a fake page that asks for card or login details.
Before you tap
Read the web address in the preview, check the code is not a sticker, and pay through an address or app you already know.
When to use a vault
When the codes you keep hold private details, such as a Wi-Fi password, a ticket or a contact card, and should not sit in the camera roll.

Best overall: Stash

The iPhone camera shows where a code leads before anything opens, but the screenshots of codes, tickets and Wi-Fi details you save land in the Photos library, where they sync with iCloud Photos and open with the phone's passcode. Stash keeps chosen photos, files and notes behind a PIN of its own, inside a working calculator. Imported items are encrypted on the iPhone with AES-256 and stay outside the Photos library. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.

What a QR code is, and what a scan can do

A QR code is a pattern of squares that stores a short piece of text. That text can be a web address, a few lines of plain text, a contact card, the details for joining a Wi-Fi network, a prepared email or a prepared text message. The code itself runs nothing. A phone that scans it only reads the text and then offers to do something with it.

On iPhone the camera reads it. Apple's iPhone User Guide, as of 2 December 2026, describes it in two steps: position the iPhone in Photo mode so "the QR code appears inside the camera frame", then "Tap the link that appears at the bottom of the screen" (Scan a QR code). The Scan Code control in Control Center does the same job.

The important part is the second step. Pointing the camera at a code opens nothing by itself. What follows depends on what the text says and what you then tap:

  • A web address opens in Safari, and the page can ask for anything a website can ask for.
  • An App Store link opens an app page. Installing still needs your confirmation.
  • A Wi-Fi record offers to join a network.
  • A contact card offers to add a contact; an email or SMS code prepares a message you still have to send.

So the code is harmless text, and the danger is the same as with any link in a message: a page that pretends to be someone it is not.

How QR code scams work

Two federal agencies in the United States have published the patterns. The FBI's Internet Crime Complaint Center warned on 18 January 2022 that "Cybercriminals tamper with both digital and physical QR codes to replace legitimate codes" so that a scan sends people to a site that "prompts them to enter login and financial information" (FBI public service announcement). The same notice adds that malicious codes "may also contain embedded malware", which in practice means a link to a harmful download.

The Federal Trade Commission's consumer alert of 6 December 2023 lists the forms it sees (Scammers hide harmful links in QR codes to steal your information):

  • Stickers on public codes. Scammers are "covering up QR codes on parking meters with a QR code of their own".
  • Codes in unexpected messages. An email or text with a code says a package could not be delivered, that there is a problem with your account, or that suspicious activity means you must change your password.

A later FTC alert, dated 23 January 2025, describes a package from an unknown sender with a note urging you to scan a code to find out who sent the gift (Scam alert: QR code on an unexpected package). Its advice for anyone who scanned and typed in a login: change that password and turn on two-factor authentication.

Four checks before you tap

These follow the FBI and FTC advice above, put in the order you meet them on an iPhone.

  1. Read the address in the preview. Before tapping the link at the bottom of the camera view, read the domain. The FBI tells people to "check the URL to make sure it is the intended site and looks authentic". A parking company's code should not lead to a short link from an unrelated domain.
  2. Look at the code itself. On a meter, sign or table, check whether the code is printed on the surface or stuck on top. The FBI asks you to "ensure the code has not been tampered with".
  3. Pay and log in by a known route. For payments, type the company's address or open its app instead of using the scanned page. The FBI's advice is to "Avoid making payments through a site navigated to from a QR code."
  4. Ignore codes you did not expect. The FTC says: "Don't scan a QR code in an email or text message you weren't expecting", above all when it pushes you to act now. Contact the sender through a number or address you already have.

The FBI list adds: "Do not download an app from a QR code" and "Do not download a QR code scanner app". The iPhone camera already reads codes.

What a QR code can do, and what it cannot

This table puts the content types side by side. The right column is the step that still needs you.

What the code holds What happens when the iPhone reads it What it needs from you The risk
Web address A link appears at the bottom of the camera view A tap to open it in Safari A fake page that asks for card details or a login
App Store link The App Store page opens after a tap Your confirmation to install An app you did not search for yourself
Wi-Fi network An offer to join the network A tap to join A network run by someone you do not know
Contact card An offer to add the contact A tap to save Little; it only adds a card
Email or SMS A prepared message Pressing Send A message to a premium or unknown number
Plain text The text is shown Nothing None by itself

Outside the table: a code reveals its contents to everyone who scans it, so a printed code with a Wi-Fi password or a home address shares that with every passer-by. And a dynamic code from an online service sends every scan through the provider's server first; that server receives the request, like any web server, before forwarding you.

If you already scanned a bad code

  • You only opened the page. Close the tab.
  • You typed in a password. Change it at once on the real site, and turn on two-factor authentication, as the FTC alert advises.
  • You entered card details. Call the bank using the number on the back of the card.
  • You installed something. Delete the app, then go through how to tell if your phone is hacked.

Report the scam at ReportFraud.ftc.gov if you are in the United States; the FBI takes internet crime reports at ic3.gov.

Making your own codes safely

The risk also runs the other way. When you make a code, the generator sees what you type. An online service that stores the content or makes a dynamic code keeps your Wi-Fi password, contact details or link on its server.

The QR code generator on this site makes static codes for a link, text, Wi-Fi, a contact, an email or an SMS. The code is calculated in the open browser tab, so what you type is not sent to a server, and there is no account or tracking link in between. Test every code with your own camera before you print or send it.

When the camera preview is enough

For most scans, it is. The built-in camera is the right tool when:

  • The code is printed on the surface of something you trust, such as a menu, a ticket or a product box.
  • The preview shows the domain you expected.
  • The page does not ask for payment or a login, or you go to that site by a route you already know.

When you need more than the camera preview

The camera tells you where a code leads. It does nothing for the codes you keep. Boarding passes, event tickets, door codes, a screenshot of a Wi-Fi code, a vaccination or membership code: these are screenshots, and screenshots go into the Photos library. There they sit next to everything else, appear in Photos search, sync with iCloud Photos to every device on your Apple Account, and open with the phone's own passcode.

Keep codes that carry private details in a separate place with its own code when:

  • Someone else knows your iPhone passcode.
  • A screenshot shows a password, an address, a booking number or an account code.
  • You do not want those images in iCloud Photos at all.

More on this in how to keep screenshots private on iPhone.

How to keep private QR codes in a vault with Stash

Stash looks and works like a calculator. Your PIN opens the vault, and items you import are encrypted on your device with AES-256, with the key kept in the iOS Keychain. They stay inside the app, outside your Photos library, so they do not appear in Photos search or in iCloud Photos.

  1. Install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
  2. Open it, choose your PIN and write down the recovery key that Stash shows once during setup.
  3. In the vault, tap + and import the screenshots of codes that hold private details. PDF tickets and documents come in from the Files app.
  4. For a code you only need as text, such as a Wi-Fi password or a door code, write it in a secure note in the vault.
  5. Back in Photos, delete the originals, then delete them again in Recently Deleted, where items otherwise stay for 30 days.

Keep a strong iPhone passcode as well: the vault adds a second lock for the items you choose.

FAQ

Can a QR code hack my phone just by scanning it?

Scanning alone reads text and shows a link. The risk starts when you tap: the FBI warns of codes that lead to fake login and payment pages or to harmful downloads.

How can I tell if a QR code is fake?

Read the web address in the camera preview before you tap, and check whether the code is a sticker on top of another one. If the page asks for payment, go to the company's site or app yourself.

How can I tell if a QR code is valid?

A valid QR code is one your camera can read: it holds text, usually a web address. Being valid does not make it safe, because a scammer's code reads just as well. Check the address in the camera preview before you tap, and be wary of a code stuck over another one.

Are QR codes on parking meters safe?

Many are real, but the FTC names parking meters as a place where scammers cover the real code with their own. Use the city's app or the payment address printed on the meter.

Should I install a QR scanner app?

No. The iPhone camera and the Scan Code control in Control Center read QR codes, and the FBI advises against downloading scanner apps.

Are Wi-Fi QR codes safe?

The code only offers to join a network. The question is whether you trust that network; on a network you do not know, use sites with https and avoid logging in to important accounts.

What should I do if I entered my password on a QR code page?

Change that password on the real site at once and turn on two-factor authentication. If you entered card details, call your bank.

Is it safe to make a QR code online?

It depends on the generator. One that builds a static code in your browser keeps what you type on your device; one that stores your content or makes a dynamic code keeps a copy on its server.

The Bottom Line

Are QR codes safe? The code is: it is only text, and an iPhone shows where it leads before anything opens. The link may not be. The FBI and the FTC both describe the same pattern, a sticker on a parking meter or a code in a surprise email, letter or package that leads to a copy of a payment or login page. The table above shows the step that always needs you: a tap to open, to join, to install or to send.

So read the address before you tap, check for stickers, pay through apps and sites you already know, and ignore codes you did not expect. For the codes you keep, such as tickets, door codes and Wi-Fi details, a screenshot in the camera roll is shared with the whole Photos library and iCloud. Move the private ones into a vault with its own PIN, and delete the originals from Recently Deleted too.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: QR Code Safety: What a Scan Can Do and How the Scams WorkDownload this guide as an image