Guides 7 min read

How to Connect to Wi-Fi Using a QR Code on Windows

By Arvind Sharma Published 2026-10-31 Updated 2026-10-31
Arvind Sharma — Founder, QRPress QR Code GeneratorArvind built QRPress to give small businesses free, print-ready QR codes without scan caps, ads, or expiry. He writes guides focused on practical deployment — payments, printing, and shop-level security.

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:

  1. Open the Camera app from the Start menu.
  2. Select the barcode mode icon to switch from photo mode to barcode mode.
  3. Point the camera at the Wi-Fi QR code. Fill the frame with the code and hold the device steady.
  4. Select the link that appears in the Camera app. It opens Settings.
  5. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. Camera permission is off. Open Settings → Privacy & security → Camera and make sure camera access and app access for the Camera app are enabled.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.

Frequently Asked Questions

Can Windows 10 scan a Wi-Fi QR code?

Not with the same built-in Camera app workflow as Windows 11. Windows 10 has no native QR-to-Wi-Fi handoff, so use a phone to scan the code and share the connection, a browser-based scanner, or a reputable Microsoft Store app.

Where is the Wi-Fi QR code in Windows 11?

On Windows 11 24H2 or 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 and a QR code appear together. On older builds, reveal the password and generate a code with the free Wi-Fi QR generator.

Does the Windows Camera app scan Wi-Fi QR codes?

Yes, on Windows 11. Open the Camera app, switch to barcode mode, point it at the code, and select the link that appears. Windows opens Settings so you can confirm the network before connecting.

Why does the QR code open a website instead of connecting to Wi-Fi?

The code contains a URL, not a Wi-Fi payload. A valid Wi-Fi code starts with the WIFI: schema and includes the network name, security type, and password. Regenerate it with a Wi-Fi QR generator.

Can I scan a Wi-Fi QR code from a screenshot on Windows?

The Camera app scans what the lens sees, so point it at another screen showing the image, or print the screenshot. A browser-based scanner that accepts image uploads is the alternative. Do not upload a code containing a private network password to a site you do not trust.

Is it safe to scan a public Wi-Fi QR code?

Only if you trust the venue and the network name matches what staff told you. A sticker can be swapped to point at a malicious hotspot. Check the network name on the Windows confirmation screen and avoid entering sensitive accounts on an unknown network.

Can I connect my Windows PC to a phone hotspot by scanning a QR code?

Yes, if the PC runs Windows 11 and has a camera that the Camera app can use. Open the phone's hotspot QR code, scan it in barcode mode, and confirm the network in Settings. If the hotspot password changes, generate a new code.

Create Your QR Code Instantly

Create a free Wi-Fi QR code that Windows 11, iPhone, and Android can scan — PNG for screens, SVG for print, no account needed. Use our secure, no-registration static systems or spin up a dynamic tracker campaign in seconds.

Create a Wi-Fi QR Code