paulobrien.dev
All posts

QR code checker: a deep dive

Paul O'Brien · 3 min read

The last tool in the series is the one I'd most like friends and family to use. Found a QR code on a parking meter, a parcel slip or in an unexpected email? The QR code checker follows it for you and shows where it really ends up, with a warning if the website was registered days ago, looks like a copy of a well known site or is on a scam list.

Contents

Why I built it

QR codes are everywhere now, and that's exactly why scammers like them. A sticker over the real code on a parking meter, a fake parcel card through the door or a code in an email that hides where it goes. You can't see the address before you scan, and by the time the page opens it's too late.

I wanted a checker that does the scanning for you, follows every hidden redirect without you opening anything and gives you a straight answer.

How it works

The QR code checker runs on Cloudflare Workers and checks the final address against Google Web Risk, the list behind Google's own safe browsing warnings.

  • Your photo stays with you. The code is read on your own device. Only the link inside it is checked, and the photo is never uploaded.
  • Links work too. Paste any link from an email, a text or a social media post.
  • Every redirect followed. Shortened links and tracking hops are followed all the way to the page you'd land on.
  • Warning signs spelt out. Brand new websites, lookalike names and scam list matches each get a clear warning.

What it checks

CheckWhy it matters
RedirectsEvery hop between the code and the page you'd land on
Final addressThe website you'd actually end up on
Website ageScam sites are often only days old
Lookalike namesAddresses made to look like a well known brand
Scam listsWhether Google Web Risk knows it as dangerous
Shortened linksLinks that hide where they go

A real report

Paste in a link or upload a photo of the code, and the page shows an example of what a bad one looks like while you wait: a bit.ly link that redirects three times and ends up on a website registered 4 days ago.

The QR code checker with https://paulobrien.com ready to check, beside an example report for bit.ly/park-pay that ends on a website registered 4 days ago
The QR code checker, with an example of a bad code

For a real one I checked the link to paulobrien.com, my email review site.

The QR code checker result for https://paulobrien.com: it really goes to https://paulobrien.com/, looks fine, and the domain has been registered since 1999
The result for paulobrien.com

It really goes to https://paulobrien.com/, with no hidden redirects on the way. Nothing it checks raised a flag, and the domain has been registered since 1999, which is about as far from a days old scam site as you can get. Even then it says to only open it if you expected it, which is good advice for any code. Below the result you can open the website, copy the address or check another.

Who it's for

Anyone who scans codes in public. Parking, menus, posters and parcel cards are all common targets.

Anyone who gets an unexpected email or text with a link. Paste it in before you tap.

People who look out for older relatives. Show them how to check a code first. It takes a few seconds.

Good to know

  • It's free for subscribers to paulobrien.dev, up to 100 checks a day.
  • If it says be careful, don't enter any details or pay anything on that website. If the code was on a sign or a parking meter, tell whoever runs it.
  • A clean result means nothing bad is known about the site yet. Brand new scams can take a little while to reach the lists, which is why the website's age is checked too.

Try it

The QR code checker is on the tools page, along with everything else from this week. Thanks for following along with the series. If there's a tool you'd like me to build next, tell me.

As always, sharing the love.

Stay in the loop

Subscribe for updates.

Leave your email and I'll tell you when there's a new version of one of my apps, or a new project to try. You can also use every tool on this site, free.

That didn't work. Please check your email address and try again.

One email to confirm. Unsubscribe with one click. Your address is only used for these updates.