โ† All posts

Are QR Codes Safe? How to Check One Before You Open It

๐Ÿ• 7 min readยทFor: Everyone who scans
safetyscanning

You'll learn: When QR codes are safe to scan, when to be careful, and a simple way to see where a code leads before anything opens.

Are QR codes safe to scan?

Mostly, yes. A QR code is only a way of writing text, usually a web address, so scanning one is about as safe as tapping a link. The risk is the same as with any link: it can lead to a fake website that asks for your password or card details.

So the useful question is not "are QR codes safe" but "is this link safe". The answer is to look at where a code leads before you open it, and to be careful about what you type afterwards. This guide shows how.

A person carefully checking a phone in front of a public poster, with a small green shield icon
A person carefully checking a phone in front of a public poster, with a small green shield icon

What the official advice says

Government security agencies agree on the main points.

  • The US Federal Trade Commission warned in December 2023 that scammers put their own codes over real ones on parking meters and send codes by text or email with a made-up reason to scan, such as a failed delivery. Its advice: inspect the web address before you open it, and do not scan codes in unexpected messages (FTC consumer alert).
  • The FBI warned in January 2022 that criminals tamper with codes to steal login and payment details, and advised people to check the web address after scanning and to download apps from the app store, not from a code (FBI public service announcement).
  • The UK's National Cyber Security Centre wrote in February 2024 that QR code fraud is small compared with other online fraud, that codes in pubs and restaurants are probably safe, and that you should be more careful in open spaces such as stations and car parks (NCSC: QR codes, what's the real risk?).

In Sri Lanka, SLCERT warned in March 2026 about fake websites posing as the National Fuel Pass, which collected personal and vehicle details from people trying to get a fuel QR code (Sunday Times report). The lesson is the same: check the address you land on.

Where to be relaxed and where to be careful

SituationRiskWhat to do
Menu on a restaurant table you are sitting atLowScan, glance at the address
Code printed on a product box from a known brandLowScan, glance at the address
Code on a parking meter, bus stop or public posterHigherLook for a sticker over the original; check the address carefully
Code in an email or SMS you did not expectHighDo not scan; contact the company another way
Any page that asks for a password, OTP or card number after a scanHighStop; go to the company's site or app yourself

Step by step: check a code before you open it

Step 1: Scan with a tool that shows the link first

Open the free QR code scanner in your browser. Press Scan with camera and point it at the code. Nothing opens automatically.

The free QR scanner with the Scan with camera and Scan from a photo options
The free QR scanner with the Scan with camera and Scan from a photo options

If the code is on a screen or in a screenshot, use Scan from a photo instead. The scanning happens on your own device; nothing you scan is sent to Scnr.

Step 2: Read the address

The scanner shows exactly what is inside the code: a web address, Wi-Fi details or plain text. Read the address slowly.

The scanner result showing the address inside the code before you open it
The scanner result showing the address inside the code before you open it
  • Is it the company's real domain, spelt correctly? Watch for swapped or extra letters, such as rnybank for mybank.
  • Is it a long string of random characters, or a link shortener, where you cannot tell the destination? Be more careful.
  • Does it start with https://? This only means the connection is encrypted, not that the site is honest, but its absence is a warning sign.

Step 3: Decide, then open

If the address looks right, press Open link. If it does not, do not open it. You can Copy it and search for the company's real website instead.

Step 4: Be careful with what you type

After opening, stop if the page asks for something it should not need: your bank password, a one-time code (OTP), your full card number for a simple parking payment, or an app download. Go to the company's own app or website directly instead.

Using your phone's camera

Most phone cameras also show a short preview of the web address before opening it. Read that preview the same way. The UK NCSC and the FBI both recommend the phone's built-in camera over separate scanner apps downloaded from an app store.

A close-up of a phone pointed at a QR code on a card
A close-up of a phone pointed at a QR code on a card

Example: a pharmacy customer in Colombo

This is an example, not a real person. Malini got an SMS saying a parcel was held at customs, with a QR code image to "pay the release fee". She did not scan it on her phone. Instead she saved the image and opened it in the free scanner on her laptop with Scan from a photo. The address was a jumble of letters on a domain she had never heard of, nothing like the courier's site. She deleted the message and checked her parcel on the courier's own app. Nothing was held.

Can a QR code hack your phone just by scanning?

Scanning alone only reads text. The harm comes from what you do next: opening a bad site, typing details into it, or installing an app it pushes. Keep your phone's software updated, as the FTC advises, and you remove most of the remaining risk.

Common questions

Q: Are QR codes safe on restaurant tables?
A: Generally, yes. The UK NCSC calls them probably safe. Still glance at the address, and never type card details into a page you did not expect.

Q: Can I check a QR code without opening it?
A: Yes. The free QR code scanner shows the content and only opens it if you press Open link.

Q: Is it safe to pay with a QR code?
A: Paying through a code printed by the shop at its own counter is normal in many countries. Be careful with codes stuck onto public machines. Read about fake QR code stickers.

Q: What should I do if I entered details on a fake page?
A: Call your bank straight away using the number on your card, change the password you typed, and report it to the police or your national CERT.

Check before you scan

Keep the free QR code scanner as a bookmark for codes you are not sure about. To see how scammers use codes, read QR code scams explained.

Ready to create?