Windows 11 can connect to Wi-Fi from a QR code without typing the password. Open the Camera app, switch to barcode mode, point it at the code, then confirm the network in Settings. That is the whole process on a Windows 11 device with a working camera. Windows 10 does not have the same built-in scanner, so you will need a phone or a browser-based scanner. This guide covers the exact Windows 11 steps, how to show a Wi-Fi QR code from a Windows PC, how to make your own code, and what to do when the Camera app refuses to scan. Related: free Wi-Fi QR generator, how to scan any QR code, and Wi-Fi QR code guide.
Connect to Wi-Fi with a QR code on Windows 11
Microsoft documents this workflow for Windows 11 devices that have a camera. The sequence is short:
- Open the Camera app from the Start menu.
- Select the barcode mode icon to switch from photo mode to barcode mode.
- Point the camera at the Wi-Fi QR code. Fill the frame with the code and hold the device steady.
- Select the link that appears in the Camera app. It opens Settings.
- Confirm that you want to add and connect to the network. You can choose whether the PC connects automatically when the network is in range.
The confirmation step matters. Windows shows the network name before joining, so you can check that the code points at the network you expected instead of a lookalike. The full Microsoft reference is the Connect to a Wi-Fi network in Windows support page.
If the Camera app opens a web link instead of Settings, the code is probably a URL QR code, not a Wi-Fi payload. It was not generated as a Wi-Fi code, and no amount of rescanning will make Windows treat it as one.
What you need before you start
A working webcam or rear camera is the only hardware requirement. Built-in laptop cameras work, and so do most USB webcams. The Camera app needs permission to use the camera; if it has never been used, Windows may ask the first time.
The QR code must contain Wi-Fi connection data in the standard `WIFI:` format, not a website address. A code generated by our Wi-Fi QR generator uses that format and includes the network name, security type, and password. A code copied from a random poster may be a normal URL, a payment link, or something else entirely.
You also need the code visible at a sensible size. A code on a phone screen works if the screen is bright and free of glare. A printed code works better because paper does not refresh, flicker, or reflect a window behind you. If you are scanning from another monitor, move the code to a printed page or increase its size on screen.
How to show a Wi-Fi QR code on Windows 11
The reverse direction is useful when a guest wants to join from a phone. On Windows 11 24H2 and later, open Settings → Network & internet → Wi-Fi → Manage known networks, select the network, and choose Show next to the Wi-Fi network password. The password is revealed together with a QR code for that network. Older builds do not expose the code; if you do not see it, reveal the password and generate a code with the free Wi-Fi QR generator.
On builds without the QR option, you can still share the network. Open the same Wi-Fi properties page and select Show next to Wi-Fi network password, then type that password into the Wi-Fi QR generator. You get the same result: a code another device can scan. The password is displayed in plain text, so do this on your own screen, not on a shared projector.
Do not confuse this with a phone hotspot QR. A hotspot QR works the same way, but the network name and password come from the phone, not from the PC. If the phone rotates its hotspot password, the old code stops working and you need a new one.
Windows 10 and older PCs: the honest answer
Windows 10 does not have the same Camera app barcode workflow. The Camera app exists, but the built-in QR-to-Wi-Fi handoff described above is a Windows 11 feature. On Windows 10 you have three practical options:
- Use your phone as the scanner. Scan the Wi-Fi QR with the phone, connect the phone to the network, then turn on a mobile hotspot or use USB tethering to share that connection with the PC. This is the most reliable route when the PC has no camera.
- Use a browser-based scanner. A web app can access the webcam through the browser and decode a QR code shown to it. Only use a scanner you trust, and check the site address before granting camera permission. A browser scanner is convenient, but it is third-party software running with camera access.
- Use a reputable scanner app from the Microsoft Store. Check the publisher, permissions, and reviews first. A QR scanner does not need your contacts, microphone, or location to read a Wi-Fi code. If an app asks for those permissions, close it and pick another.
What you should not do is assume a Windows 10 PC can scan the code just because it has a camera. The hardware is there; the operating-system handoff is not. Use one of the routes above instead of hunting for a setting that does not exist.
How to make a Wi-Fi QR code Windows can read
Open the Wi-Fi QR code generator and enter three things exactly as they appear on the router or in the phone's hotspot settings:
- Network name (SSID): case-sensitive. `CafeGuest` and `cafeguest` are different networks.
- Security type: usually WPA/WPA2/WPA3 for a modern router, WEP for old hardware, or Unsecured for an open network.
- Password: the Wi-Fi password, not the router admin password. Check for a trailing space before you paste it.
If the network hides its SSID, enable the hidden-network option. Generate the code and download both formats: SVG for print and PNG for screens. The SVG stays sharp at any size, which matters if the code will sit on a wall or a table tent. Keep the white quiet-zone margin around the pattern and do not crop it.
Test the code with a phone before you print a stack of them. If the phone joins the network, a Windows 11 camera should be able to read the same code. If the phone refuses, fix the payload first; the PC will not rescue a malformed code.
Why the Windows Camera app won't scan the code
Work through these in order. The first two solve most cases:
- You are still in photo mode. Tap the barcode icon. The Camera app does not always switch automatically, even when a QR code fills the frame.
- Camera permission is off. Open Settings → Privacy & security → Camera and make sure camera access and app access for the Camera app are enabled.
- The code is too small or too far away. Move closer until the code fills about half the preview, then hold still for a second. Very small printed codes fail before the decoder gets a clean frame.
- Glare or screen flicker. A glossy print, a laminated menu, or a monitor at full brightness can wash out the modules. Tilt the code or the camera slightly, lower the screen brightness, or scan from paper.
- The code is inverted or low-contrast. Dark modules on a light background are the standard. White-on-black codes and pale brand colours fail on many cameras.
- The quiet zone is cropped. Leave a clear margin around the code roughly the width of one finder square. A code printed edge-to-edge is a common print-shop mistake.
- The payload is not a Wi-Fi code. If the Camera app shows a URL, the code was generated as a link. Regenerate it with the Wi-Fi generator rather than a URL generator.
- Windows or the Camera app is out of date. Install pending Windows updates and update the Camera app from the Microsoft Store, then try again.
If none of that works, scan the same code with a phone. A phone that connects successfully proves the code is valid and points the problem at the PC camera, the Camera app, or the Windows build. A phone that also fails points at the code itself.
Is it safe to scan a Wi-Fi QR code on Windows?
A Wi-Fi QR code is a convenience, not a secret. The network name and password are encoded in the pattern, and anyone who scans it can read them with a standard scanner. Treat the printed code exactly like a password written on a card. Do not put it on a public website, and do not leave it in a window where anyone can photograph it.
The bigger risk is joining the wrong network. A sticker placed over a legitimate cafe code can point at an attacker's hotspot, and the PC will happily connect if the network name looks plausible. Check the network name on the Windows confirmation screen before you accept, and ask staff if the name does not match the venue.
For a business, use a separate guest network with its own password and, where the router supports it, client isolation. That keeps visitors off the network that runs your point-of-sale system, printers, and file shares. When a guest leaves, you can rotate the guest password without touching the main network. The Wi-Fi QR guide covers the guest-network setup in more detail.
Wi-Fi QR code vs typing the password
Typing a password is fine for one device and one person. A QR code is better when the same network is shared repeatedly: a cafe counter, an Airbnb welcome book, an office meeting room, a clinic waiting area, or a friend's guest room. The code removes the two most common failure modes: a mistyped character and a password read aloud across a room.
It is not better in every case. If the network password changes often, printed codes become stale. If the code is for a private home network, a guest network is safer than handing out the main password. And if the device has no camera, a code is useless. Match the method to the situation rather than treating QR as a universal upgrade.
