Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

Is it safe to scan QR codes?

Is it safe to scan QR codes? Mostly yes. The risk sits in the link behind the code and in what you do next. Here is what to check, by type of code.

Is it safe to scan QR codes? Usually, yes. A code is a few lines of text in a square pattern, and the UK’s NCSC says the ones in pubs and restaurants are probably safe to scan. The danger is in what the text points to and what you do afterwards: type a password, approve a payment, install an app. Scanning is safe the way reading an address is safe. Walking in is where trouble starts.

The rest of this guide splits that into the parts you can control. If you are new to scanning, start with our guide to scanning a QR code on any phone.

What a QR code is, and what it isn’t

A QR code stores a string of characters. Your camera turns the squares back into that string and your phone decides what the string means. That is all.

Here is the text inside a plain link code, one of ours:

https://example.com

It makes a version 2 code, 25 by 25 modules, at error correction M. There is no program in it. It is data, and what happens next depends on your phone’s reader and on whatever the text points to.

What it can do is hand your phone an instruction. Canada’s Cyber Centre puts it this way: the decoded text can trigger actions such as opening a website, joining a Wi-Fi network or dialling a number. That is why it advises setting your device to ask for permission and verification before a code’s action goes ahead.

Apple’s own instructions for the iPhone are modest on this point: hold the device so the code appears, then tap the link to open the content. You get a tap, not an automatic jump. Treat the tap as the moment you decide.

Which kinds of code deserve a second look

Different codes ask different things of you. Here is how the common ones differ.

Code stores Example text What happens What to check
Link https://example.com Opens a page The domain, before you tap
Wi-Fi WIFI:T:WPA;S:Example Home;P:examplepass123;; Joins a network That you know the network name and the person who owns it
Phone tel:+919800000000 Offers to call The number
SMS SMSTO:+919800000000:STOP Fills in a text to send The number and the message, before you press send
Email mailto:[email protected]?subject=Hello Opens a draft The address and the draft
Contact BEGIN:VCARD … Offers to save a contact Whether you want this person in your phone
UPI payment upi://pay?pa=...&pn=... Opens a payment screen The payee name, then the amount
Location geo:12.9716,77.5946 Opens a map Rarely a problem

Two rows matter most. A link is the most common code and the one scammers actually use, because a fake site can steal what you type. A UPI code is the one where money moves, and it is covered in our UPI scams guide.

The others are usually small stuff, but read the screen. A prefilled SMS to a number you don’t recognise is worth a pause before you press send, and a Wi-Fi code from a stranger is a reason to ask whose network it is. Our own scanner shows the contents of each kind in plain words instead of acting on them, so you can look first.

Where the risk really comes from

The NCSC’s assessment is that fraud involving QR codes is relatively small compared with other cyber fraud, and that it mostly happens in open spaces such as stations and car parks. Open spaces matter because anyone can stick something there. A table in a restaurant you chose is a different case from a pole on a street.

The agencies agree on four ways a scan goes wrong:

  • A sticker over the genuine code. The FTC describes scammers covering the codes on parking meters, and the FBI describes criminals swapping a business’s payment code for their own.
  • A code you didn’t ask for. By text, email or on a parcel. The FTC says not to scan codes in unexpected texts and emails, and the FBI says not to scan codes from unknown origins, including ones that arrive on parcels with no sender details.
  • A fake page after the scan. The FBI says criminals use codes to send people to sites that ask for login and financial details, and warns of malware that can reach data on the phone.
  • Tracking. Canada’s Cyber Centre notes that the site you reach may use cookies to follow your activity and collect details such as device type, IP address and location. That is ordinary web tracking, not a scam, but it is worth knowing that scanning a code is the same as visiting the page.

We have not found any agency saying that simply pointing a camera at a code hands over your passwords. The harm they describe comes after: the page you land on, what you type into it, what you download, what you approve.

Plenty of honest codes don’t point straight at the final page. A café might print a short link so the code stays small and sparse, and a dynamic code from any service always goes through the provider’s redirect first, as our guide to static versus dynamic codes explains. Either way, the address on your screen is the first stop, and the page you finally reach is decided by a server you can’t see.

That is normal, and it is also how a bad link hides. Short-link domains are the clearest case: nothing in bit.ly/xxxxxx tells you where it ends. Our scanner flags the well-known short-link services for that reason. If a code from a stranger or an unexpected place goes through a short link, the sensible move is to skip it. If it is from a business you know, open it and judge the page you land on by the same test as always: is this the site I expected, and is it asking for more than it should?

The NCSC’s advice for this moment is to be suspicious of any request for more information than seems reasonable, on the website or in a follow-up phone call. A menu doesn’t need your card number. A parking code that wants your date of birth is not a parking code.

A rule that fits in your head

First, where is the code? If it is somewhere you chose to be (your own table at a restaurant, a letter from your bank), scan. If anyone could have put it there, look harder: check for a sticker edge, then read the address.

Second, who sent it? If it is a message you weren’t expecting, don’t scan. The FTC says to contact the company through a number or website you know is real.

And one on tools. The FBI says not to download a QR scanner app because most phones scan from the camera, and the NCSC recommends the scanner that comes with your phone instead of one from an app store. Both are good advice. If you need something extra, such as checking a code in a screenshot, a scanner that runs in the browser installs nothing. Ours decodes on your device, shows the real domain of a link, and flags an @ trick, lookalike letters, a bare IP number, plain http, a short-link service, an unusual port or a very long address. It also blocks javascript: and data: codes. If it shows no warnings, that doesn’t prove the site is honest. Treat it as a quick filter, not a verdict.

What to do when something feels off

You scanned and the page asks you to log in, “verify” something or pay. Close it. Go to the company’s own app or website and check there. If you did enter a password, change it, and change any other account where you used the same one. The FTC also suggests checking card and bank statements and turning on multi-factor authentication.

Our guide on QR code scams walks through the patterns agencies have actually reported, and how to scan from a screenshot helps when a suspicious code arrives as an image and you want to read it without opening it.

Ready to try it? Free, no sign-up, made in your browser.

Open the scanner