// guide

How to Tell If a QR Code Is Safe to Scan

The scan itself is harmless. A QR code is a format for encoding text. When your camera reads one, it decodes that text. Nothing executes, nothing installs on its own. The risk is what you do next.

That matters because a lot of QR safety advice treats the act of scanning as the dangerous moment. That framing either makes people anxious about restaurant menus or, worse, dismissive of the real threat. The real threat is tapping through to a link without reading where it goes first.

Before you scan: check the physical code

The most common QR scam is a sticker. Someone prints a fraudulent code and places it over the real one on a parking meter, a charging station, or a table card at a business they don't work at. The original is covered; theirs is in its place. It looks like any other code.

What to check: is the code printed on the surface itself, or is it on a label stuck over something? A code on a peel-and-stick label sitting over a printed background is worth pausing on. This matters most at parking meters, public EV chargers, shared kiosks, and ATMs. These are unmonitored surfaces that bad actors know about. It matters much less at a restaurant where the staff printed the menus themselves.

Also look at the context. A code on a flyer slipped under your windshield wiper, with no company name or address near it, is different from a code on a sign above a register at a business you can walk into. Location and context are your first filter.

When you scan: read the URL before you tap

Every phone camera shows a preview of the destination the moment it reads a code. That preview is the check. Read it before tapping.

What you're looking for: does the domain match what you'd expect? A QR on a bank's desk should lead to that bank's real domain, not a lookalike with one transposed letter or an added word. Chase.com and chase-secure-login.net are very different servers. One character off and you're somewhere else entirely.

HTTPS and a lock icon are not proof of anything. They mean the connection to that server is encrypted. They say nothing about whether the server belongs to who you think. Phishing sites have HTTPS too; getting a certificate is not difficult.

If the URL looks right, tap. If something is slightly off, don't. You can always type the real domain directly into your browser. That's not paranoid; it's just reading before you click, the same thing most people do with email links.

After you tap: what should and shouldn't happen

A QR code should take you to a web page. That's the normal outcome. If it immediately starts downloading a file, close it. If the page asks you to log in, check the address bar before typing anything. The URL in the address bar after any redirects is what matters, not what the page looks like visually.

Legitimate QR codes don't ask for phone permissions. If a page prompts you to allow access to your camera, contacts, or location and there's no obvious reason for it, close it.

What quishing means and why it's growing

Quishing is phishing through a QR code. The appeal for an attacker is that you can't hover over a QR code the way you can hover over a hyperlink in an email to preview the destination. The URL is hidden until you scan. So an attacker can embed a malicious link in a code and send it in an email, a text, or a physical flyer, knowing the recipient has no passive way to check it.

The defense is the same as it's always been for phishing: read the URL before you go further. The QR code just moves the moment where that check happens from before the click to after the scan. If you read the preview before tapping, you've done the work.

One thing most QR safety guides miss

Not every QR code you don't recognize is a scam. There's a category of code designed to carry a private message, one that only reads correctly inside a specific app with a key the sender shared with you separately. These show up as game clues, hidden notes inside photos, surprise reveals. The code looks like any other code. It might scan to a normal-looking web page. The actual message is somewhere the ordinary scan can't reach.

If you scan a code and it takes you to a plain landing page and you expected something more, you might not have the key. That's a QR code with a hidden message, not a threat. The Decoy Link feature in GhostCode works exactly this way: the code has a public URL for anyone who scans it, and a private message tucked inside the URL fragment for the person who has the key. The whole point is that the code looks unremarkable to anyone else. If you weren't expecting a secret, the public scan reveals nothing unusual.

GhostCode is the app for making those codes. The message goes into a QR or a photo so only the person you chose can read it. To everyone else, it's just a scan that opens a page.

Questions people ask

Can scanning a QR code give my phone a virus?

Not from the scan itself. The scan decodes text. A virus or malware would have to arrive through what you do after: opening a page that exploits a browser vulnerability, downloading a file, or entering credentials on a phishing site. Keep your phone's OS updated, read the URL preview before tapping, and the scan is the least risky step in the whole sequence.

Are QR codes at restaurants safe?

Usually, yes. A restaurant code is printed by the staff, placed in context, and leads to their own ordering system or menu page. The risk profile is much lower than a code on an unmonitored public surface. The cases worth more skepticism are parking meters, charging stations, and other surfaces where no one is watching and a sticker could sit there for days.

What if I already scanned one and I'm not sure where it went?

If you tapped through and nothing unusual happened, you're almost certainly fine. If you want to check, open your phone's browser history and look at the full URL for that visit. If it was a credible domain and you didn't enter any credentials, nothing was exposed. If you did enter a password on a page that turned out to be a lookalike, change that password on the real site and check whether you used the same password anywhere else.

How do hidden-message QR codes actually work?

An app like GhostCode lets you write a message, set a key (a passphrase you share with the recipient separately), and generate a QR code. Someone who scans it without the app and the key sees a normal page. The person with both reads the actual message. There's no exploit involved; it's how the app is designed. The key and the message travel by separate routes, which is the same basic idea as a password-protected file. How QR codes work is worth reading if you want the mechanics of what the code actually encodes.

// try it

Put a message in a QR that only one person can open

GhostCode hides your message inside a photo or a QR code, so only the person you choose can read it. See how it works.

Back to the blog