How to create a Wi-Fi QR code
A Wi-Fi QR code stores the network details a compatible phone needs to offer a connection. Start by finding your exact network name (SSID), security type, and password, if the network uses one. Enter those details in the generator above. Network names and passwords can be case-sensitive, so preserve capital letters, punctuation, spaces, and any symbols. Select the security option that matches the router rather than choosing one at random. Generate the code, then test it before sharing or printing it.
- Find the SSID and security setting on your router label, router app, or network settings.
- Choose the matching security mode and enter the password exactly as configured. Leave the password blank only for a network that genuinely has no password.
- Generate the QR code and scan it with a phone that is not already connected to that network, if possible.
- Confirm the phone shows the correct network name and can connect. Download the code only after testing succeeds.
How to scan on iPhone and Android
On iPhone: Open the built-in Camera app, point it steadily at the QR code, and keep the entire code visible in the frame. When a Wi-Fi join prompt or banner appears, tap it and follow the on-screen instructions. If nothing appears, improve the lighting, move the phone slightly closer or farther away, clean the camera lens, and make sure the code is sharp rather than blurred. Some iOS versions or managed devices may behave differently, so check the device’s current software and network restrictions if scanning does not offer a connection.
On Android: Open Camera and point it at the code. On supported phones, tap the Wi-Fi or connection prompt that appears. If the standard camera does not recognize it, open Google Lens from the Camera app or Google app and scan the code there. Camera menus differ by manufacturer, and some older phones may need a QR scanner that can interpret Wi-Fi codes. Before tapping Join, check that the displayed network name matches the one you intended to share.
For both platforms, the phone may ask you to confirm joining the network. A scan does not guarantee a connection: the signal must be in range, the router must be operating, and the saved details must still be current. Test with at least one iPhone and one Android phone if your code will be used by a wide range of visitors.
WPA, WEP, or an open network: choose the right setting
WPA/WPA2/WPA3: These are common Wi-Fi security families. Select the option that matches your router and the generator’s available choices. A WPA-protected network generally requires its password to be included in the QR payload so a compatible phone can request a connection. If your router uses WPA2 or WPA3 and the phone fails to join, verify the exact security mode and password, and check whether the device supports the router’s configuration.
WEP: WEP is an older, insecure security method and should not be chosen for a modern network unless the router is genuinely configured that way and you understand the risk. If an older router still relies on WEP, consider upgrading or changing it to a supported WPA mode instead. A mismatch between WEP and WPA settings can prevent the QR code from working.
Open network: An open network has no Wi-Fi password, so do not add a password that does not exist. Open networks offer less protection and may expose traffic or devices to greater risk. For cafés, offices, or guest areas, use a properly configured guest network where possible. Some public Wi-Fi services also require a browser sign-in page after joining; the QR code cannot bypass that portal.
WiFi QR code printing tips
Print the code with a dark pattern on a plain, light background and leave a clear margin around all four sides. Avoid placing text, borders, logos, or decorative elements over the code’s modules. Download a high-quality file and use SVG for scalable artwork when your printer or design software supports it; a crisp PNG can also work well. Do not stretch the image unevenly, crop its edges, or print it on a reflective surface that creates glare.
There is no single perfect print size for every situation. A small code on a table tent may work at close range, while a sign viewed from several metres away needs a larger code. Print a sample at the final size, scan it from the distance visitors will stand, and test under the actual lighting. Include a short label such as “Scan to join WiFi” and, if appropriate, the network name so people can confirm they are joining the intended network.
Troubleshooting a Wi-Fi QR code
- The camera does not detect the code: Increase light, clean the lens, hold the phone steady, and check that the full code and quiet margin are visible. Try a larger or higher-resolution print.
- The phone detects it but cannot connect: Recheck the SSID, password, and security type. A changed router password or network name makes an old static code out of date.
- Only one type of phone works: Test with updated camera software and try Google Lens on Android. Check whether the router uses a security feature or authentication method the other phone does not support.
- The network joins but the internet does not work: Check the router’s internet connection, signal strength, guest-network limits, and any required captive-portal sign-in.
- The code worked before but stopped: Generate a replacement after any network setting changes, then remove old printed copies so visitors do not keep scanning outdated details.
Privacy and safe sharing
A Wi-Fi QR payload can contain the password, so anyone who scans a displayed code may be able to connect. Put private-network codes only where intended users can access them, and consider a separate guest network for visitors. If a code has been exposed beyond its intended audience, update the network password and create a new code. QR Toolkit creates the code in your browser; do not paste Wi-Fi passwords into unrelated forms or the AI assistant.
Related tools and guides
Read the Wi-Fi QR guide, use the QR templates, or learn about printing a QR code.