What you need
- Your phone, with WhatsApp signed in
- A computer with a browser
- Both on the internet — they do not need the same network
WhatsApp on a computer works by linking your phone to it once, and the QR code is how that link is made. The code lives on the computer screen and the scanner lives inside the phone app — which is the opposite of what most people try first, and the reason this takes five minutes instead of thirty seconds. Here is exactly where each half is, on both Android and iPhone, and what the common failures actually mean.


WhatsApp running on your computer with your full chat history, linked from your phone in under a minute — and the knowledge of which QR codes are safe to scan and which are an attack.
Open web.whatsapp.com on the computer, then on your phone open WhatsApp and go to Linked devices — three dots menu on Android, Settings on iPhone — and tap Link a device. Your phone asks for a fingerprint, face or PIN, then opens a scanner. Point that at the code on the computer screen. Your ordinary camera app will not work; the scanner has to be the one inside WhatsApp.
Most often the code has expired — they last about a minute, so click it to refresh. After that: raise the screen brightness, clean the camera lens, and hold the phone slightly further back rather than closer, since phone cameras cannot focus very close. Also confirm you are in Linked devices and not the normal camera app, which reads the code as a plain link and does nothing.
Inside WhatsApp, not in your camera app. Android: three dots, top right, then Linked devices, then Link a device. iPhone: Settings at the bottom right, then Linked devices, then Link a device. Both ask for your fingerprint, face or PIN before the scanner opens.
Yes. On the WhatsApp Web page choose "Link with phone number instead", enter your number in full international format, and the page gives you an eight-character code to type into the same Linked devices screen on your phone. It is the same link by a different route — useful when a camera is broken or a screen is hard to see.
Not continuously, since multi-device support. The linked computer keeps working with the phone switched off. The phone does need to connect at least once every fourteen days, though — leave it off longer and the linked devices are dropped and have to be linked again.
No. Scanning a WhatsApp Web login code links your account to whoever generated it, giving them access to your messages. WhatsApp only ever shows these codes at web.whatsapp.com and they expire in about a minute, so a code arriving by message or email is an attempt to take your account. A business contact QR code — the kind on a menu or a poster — is different and harmless: it just opens a chat.
From the phone is the reliable way: WhatsApp, Linked devices, tap the computer in the list, then Log out. That works even when you no longer have access to the computer, which is what makes it the right habit after using a shared machine. Closing the browser tab alone leaves the device linked.
Written by Riya · Reputoo. Riya writes Reputoo’s guides on WhatsApp and the WhatsApp Business API. Updated September 2026.
1,000+ businesses onboarded · Member of NVIDIA Inception · Official WhatsApp Business API, no per-message markup.