What Is QR Code Login and Is It Safe?
The "scan to log in" screen on WhatsApp Web, Discord and others. How it works, and the one rule that keeps you safe.
Create your own QR codeUpdated 19 November 2026 · 4 min read
Short answer
QR code login is a way to sign in on a computer or TV by scanning a code with your phone, where you are already logged in. The website shows a one-time code, your phone approves it, and the site logs you in without typing a password. It is safe when you scan only codes you opened yourself on the real site.
How it works, step by step
- You open a website or app on a computer. It generates a QR code that holds a one-time token tied to that browser tab.
- You open the same service on your phone, where you are already signed in, and choose the scan option (for WhatsApp this is under Linked devices).
- Your phone reads the token and tells the service "this logged-in user approves that tab".
- The service signs in the computer. The code is now used up and stops working.
Your password never travels through the QR code. That is why it can be more convenient than typing a long password on a TV or a shared computer.
Where you will see it
- Messaging apps with a web or desktop version.
- Streaming apps on smart TVs.
- Bank and payment apps that confirm a login on another device.
- Company single sign-on pages.
The risk: someone else's code
The danger is simple. The QR code is a key that signs someone's browser into your account. If a scammer opens a real login page on their own computer, takes a screenshot of the code, and sends it to you with a story ("scan this to get your prize" or "scan to verify your account"), approving it logs them into your account.
Three rules stop this:
- Only scan a login code on a screen you are sitting at and opened yourself.
- Never scan a login code that someone sent you in a message, email or call.
- If you did approve something by mistake, open the app's linked-devices or active-sessions page and remove the unknown device, then change your password.
How this differs from a normal QR code
A normal QR code like the ones you can make on QR4URL just stores text or a link. It does not sign anyone in. If you are trying to make a QR code for your own site, see how to make a QR code for a link. If you want to understand what is stored inside a code, read what is a QR code URL.
QR4URL does not offer QR login for websites. This page is only an explainer, because it is a common search.
Frequently asked questions
What is QR login?
QR login lets you sign in on one device by scanning a code with another device where you are already logged in. No password is typed on the new device.
Is QR code login safe?
It is safe when you scan only codes you opened yourself on the real website. It is unsafe to scan a login code that someone sent you.
What if I scanned a login QR code by mistake?
Open the app's linked devices or sessions page, log out any device you do not know, and change your password.
Does QR login use my password?
No. The code carries a one-time token. Your phone approves it, and the service signs in the other device.
Can I make a QR code that logs people in?
Not with a basic QR code generator. Login QR codes need a service that issues one-time tokens and checks them on its server.