Wi-Fi passwords are a modern nuisance — long, case-sensitive strings that no one wants to type. Windows 11 has a built-in solution that most users have never noticed. The Camera app, which you probably use only for video calls, doubles as a Wi-Fi QR code scanner. Point it at a network’s QR code, and your PC connects automatically.
This isn’t a third-party gimmick or a registry hack. It’s a first-party feature that ships with Windows 11, requiring nothing more than a working built-in camera or a connected webcam. Microsoft added barcode and QR code scanning to the Camera app back in the Windows 10 era, but the feature is now mature and deeply integrated into Windows 11. Here’s what it does, how it can simplify your workflow, and the steps to put it to use right now.
The feature no one talks about
The Camera app in Windows 11 includes a “Barcode” mode — a dedicated scanning interface that reads QR codes containing Wi-Fi credentials. When you scan a network’s QR code, the app decodes the SSID and password, then triggers the standard Windows network connection flow. No manual entry, no copy-paste from a sticky note.
This works with any standard Wi-Fi QR code. If you’ve configured a guest network using a printed QR code, or if a friend shares their home Wi-Fi via a QR code on their phone, your Windows 11 PC can instantly connect. The feature supports both WPA2-Personal and WPA3-Personal networks, as well as older WPA and WEP configurations — though using Wi-Fi Protected Access 3 (WPA3) is strongly recommended for security.
To access it, launch the Camera app from the Start menu or taskbar. Don’t look in Settings or the Wi-Fi flyout; this isn’t a networking tool per se. It lives inside an app most people associate with selfies. Once open, click or tap the “Barcode” button (it looks like a small barcode icon) near the shutter button. If you don’t see it, click the arrow to reveal additional modes. Then hold the QR code up to the camera. The app recognizes the code, displays the network name, and offers a “Connect” button. Click it, and you’re online.
What it means for you
For home users, this is a small but meaningful convenience. Setting up a new device? Instead of hunting for the Wi-Fi password buried in router settings or on a sticker, just scan a QR code you’ve pre-saved. Guests can connect without you dictating a 20-character passphrase. If you’ve already generated QR codes for your network using a tool like the open-source qrencode utility or a website, those same codes work here.
For IT administrators and power users, the feature changes how you think about onboarding machines. Deploying a fleet of Windows 11 laptops? Instead of provisioning passwords via MDM or scripting, you can simply print an enrollment QR code that includes the network SSID and password. It’s not a substitute for enterprise authentication like 802.1X, but for temporary networks, guest access, or small office setups, it’s a frictionless alternative.
Developers and technical users who frequently spin up virtual machines or test devices will appreciate the elimination of keyboard gymnastics. The Camera app can also scan QR codes containing URLs, plain text, and contact information, making it a handy multitool.
One caveat: The feature requires a camera that Windows recognizes and the Camera app’s permission to use it. Privacy-conscious users who have physically blocked or disabled their webcam will need to enable it temporarily. The QR code must also be well-lit and free of glare — the app needs a clear view of the three positioning squares.
The road to built-in scanning
The idea of connecting to Wi-Fi via QR code isn’t new. Android introduced it in 2014, iOS in 2017. On Windows, third-party utilities filled the gap for years. Microsoft’s decision to bundle it into the Camera app was both clever and obscure — clever because it leverages a universal peripheral (the camera) without adding a new system component, obscure because the feature lacks any promotion or discoverability in the Wi-Fi settings.
The capability arrived in Windows 10 version 1809 (October 2018 Update), when the Camera app gained a “Barcode” mode that could read QR and barcode data. At first, it only handled URLs and text. Wi-Fi credentials were added in a subsequent app update, and the feature carried over seamlessly to Windows 11. Microsoft has since refined it: the app now supports the modern Wi-Fi QR code format (which includes authentication type and hidden network flags) and works more reliably in low-light conditions thanks to improved focusing logic.
Despite its quiet evolution, the feature remains hidden in plain sight. Microsoft’s own support documentation still frames the Camera app primarily for photo and video capture, with only a brief mention of barcode scanning. This low profile contributes to the perception that it’s a “trick” rather than a standard tool. But for anyone who values efficiency, it’s a genuine productivity booster.
How to connect to Wi-Fi with your camera in three steps
-
Generate or locate a Wi-Fi QR code. If you already have a QR code for your network, skip ahead. If not, create one using any online generator (look for “Wi-Fi QR code generator”) or command-line tools like
qrencode. You’ll need your Wi-Fi SSID (name), security type (WPA/WPA2/WPA3), and password. Many routers display a QR code on the configuration sticker — you can also photograph that. -
Open the Camera app and switch to Barcode mode. Press the Windows key, type “Camera,” and launch the app. If prompted, grant camera access. In the camera viewfinder, look for the “Barcode” button — it may be on the right panel or accessible via a small arrow. Click it to activate the scanner.
-
Scan and connect. Hold the QR code steady, about 6–12 inches from the camera, until the app recognizes it. A notification will appear showing the network name. Click “Connect.” Windows will then join the network automatically. If the network requires additional authentication (like a terms-of-service portal), you’ll still need to complete that step in your browser after connecting.
Troubleshooting tips:
- If the app doesn’t switch to barcode mode, look for an “arrow” or “more” icon to expand the mode options.
- Ensure the “Camera” app is up to date from the Microsoft Store. You can check for updates manually by opening the Store, going to Library, and clicking “Get updates.”
- Some enterprise-managed devices may have the Camera app disabled or restricted by Group Policy — contact your IT department.
- For desktops without a built-in webcam, any USB webcam should work. Even low-resolution models can read QR codes if they produce a clear image.
Where this heads next
Microsoft is pushing deeper into passwordless experiences across Windows, and Wi-Fi credential sharing fits that vision. The newly announced Windows Hello improvements and passkey integration suggest that the OS will increasingly treat the camera as a secure input device, not just a video recorder. While there’s no official word on expanding the Camera app’s barcode features, it’s plausible that future Windows updates will add the ability to scan Wi-Fi QR codes directly from the Wi-Fi network selection flyout or via the Share menu.
For now, the feature is a quiet powerhouse — a testament to how Windows 11 continues to accumulate practical, user-friendly capabilities that slip under the radar. The next time you face a 24-character password with mixed case and symbols, remember: your camera can handle the typing.