WiFi QR Code Generator
A WiFi QR code lets a guest join your network by pointing their phone camera at it: no spelling out a password, no typos. This guide covers the parts that decide whether it works: finding the exact network name and password, choosing the right security type, passwords with special characters, and printing a sign that lasts.
Make the code in two minutes
- Open the QR generator and choose the Wi-Fi tab.
- Type the network name (SSID) exactly as it appears in your phone's Wi-Fi list, including capitals and spaces.
- Type the password exactly.
- Choose the security type. For almost every home and office network it's WPA / WPA2.
- Tick Hidden network only if your network doesn't appear in the list of nearby networks.
- Generate the code, download it, and scan the downloaded file with your phone. If your phone offers to join and connects, the code is right.
The code is created in your browser. Your network name and password are not sent to any server, which is the main reason to use a generator that works this way for Wi-Fi.
What's inside a WiFi QR code
A WiFi QR code is a short piece of text in a fixed format, drawn as a QR code. For a typical home network it looks like this: WIFI:T:WPA;S:Cafe Guest;P:sunny-morning-42;; where T is the security type, S the network name and P the password. When a phone camera sees a code starting with WIFI:, it offers to join that network.
That has two consequences worth knowing. First, the password is in the code itself. Anyone who can photograph the code can read the password, so treat a printed code the way you'd treat a printed password. Second, nothing is stored online and nothing expires: the code works as long as the network name and password stay the same, and stops working the moment you change the password.
Finding your exact network name and password
Most failed WiFi codes come down to one wrong character. Copy the details from the source rather than from memory.
- The router label. If you never changed the settings, the network name and password are printed on a sticker on the router, often labelled SSID and WPA key or Wireless key.
- iPhone: Settings, Wi-Fi, tap the info button next to your network, then tap Password to see it (you'll be asked for Face ID or your passcode).
- Android: Settings, Network or Connections, Wi-Fi, tap the gear next to your network, then Share. Most phones show a QR code and the password in text underneath.
- Windows 11: Settings, Network & internet, Wi-Fi, open your network's properties, then View Wi-Fi security key.
- Mac: System Settings, Wi-Fi, click the button with three dots next to your network, then Copy Password.
Watch for details that are easy to miss: capital letters in the network name, a space at the end of the name, and characters that look alike, like O and 0 or l and 1. If you can copy and paste instead of typing, do.
Which security type to choose
- WPA / WPA2 covers almost every network made in the last fifteen years. Routers set to "WPA2/WPA3" mixed or transition mode also work with this setting on the phones we know of; it's the type the WiFi QR format is built around.
- None is for open networks without a password, such as some libraries and cafés.
- WEP is an old, insecure standard. Only choose it if your equipment truly uses it, and consider upgrading the router.
A note on WPA3: if your router is set to WPA3 only, phones don't all handle WiFi codes the same way yet. Stock Android, for example, writes its own codes for WPA3-only networks with a different security label than the classic WPA one. If you run a WPA3-only network, test the code on both an iPhone and an Android phone before printing it. For a guest network, WPA2/WPA3 mixed mode is the most compatible choice.
Passwords with special characters
The WiFi code format uses a few characters as separators: semicolon, colon and comma, plus quotes and the backslash. If your network name or password contains any of them, they have to be marked with a backslash so the phone reads them as part of the password rather than as the end of a field. Some generators skip this, and the result is a code that fails or joins with the wrong password.
Our generator does it automatically. We tested a network called "Cafe; Guest" with the password pa;ss:wo,rd"x\y, which contains every one of those characters, decoded the code with an independent reader, and got back WIFI:T:WPA;S:Cafe\; Guest;P:pa\;ss\:wo\,rd\"x\\y;; with each special character correctly escaped. You type the password normally; the generator takes care of the rest.
Long passwords make bigger codes
A WiFi code grows with the length of the name and password. We measured the number of squares (modules) along one side at the default Medium error correction:
- A typical network, 10-character name and 16-character password: 29 × 29.
- The same network with a 63-character password, the longest WPA2 allows: 41 × 41.
- That password with a 32-character network name: 45 × 45.
45 × 45 has about two and a half times as many modules as 29 × 29, so each one is smaller at the same printed size. If you use a long random password, which is a good idea, print the code a bit larger: at least 4 to 5 cm for a code people scan from close up, rather than the 2 to 3 cm that's enough for a short one.
A guest network makes the code easier to live with
Most routers can run a separate guest network, often with one switch in the router's settings or app. For a WiFi QR code it's worth doing:
- Guests don't get access to the devices on your main network, like printers, computers and smart home equipment.
- You can change the guest password whenever you like, print a new code, and none of your own devices need reconnecting.
- You can give the guest network an obvious name ("Smith Guest") so people pick the right one.
In a café, rental flat or office, change the guest password from time to time, for example every few months or after a busy season, and replace the code at the same time.
Printing a sign that works
- Size: at least 3 cm wide for a card on a table or desk, 5 cm or more on a wall people read from a step away. Use the PNG at 1024 pixels or the SVG; both print sharply at those sizes.
- Colour: dark code on a light background. A code in your brand colour is fine if the colour is dark; the generator warns you if the contrast is too low.
- Text as a backup: print the network name and password in plain text under the code. Laptops, older phones and some tablets can't scan easily, and people like to see what they're joining.
- A short instruction: "Point your camera here to join the Wi-Fi" is enough.
- Finish: matte paper or a matte frame. Glossy lamination under a ceiling light reflects straight into the camera.
- Placement: where people sit or wait, at a comfortable height. Not on the router itself, which is usually hidden away.
Before you frame it, scan the printed card from where guests will actually stand, under the actual lighting. It takes ten seconds and saves an annoyed guest later.
When a phone won't join
- The phone shows the network but says the password is wrong. A character is off. Check capitals, spaces at the end and look-alike characters, then make the code again.
- The phone doesn't offer to join at all. Make sure the camera recognises QR codes (on Android it can be a setting in the camera app or Google Lens), and that the code is printed large and sharp enough.
- It worked yesterday and not today. Someone changed the password, or the router was reset to its factory settings. Check the details and make a new code.
- Hidden network. Make sure Hidden network is ticked. A few older phones still need the guest to choose "Join other network" after scanning.
- Too many devices. Some routers and mobile hotspots limit the number of connected devices. The code is fine; the network is full.
Sharing WiFi without a printed code
If the guest is standing next to you, you may not need a printed code at all. Android phones can show a QR code for the network they're connected to (Settings, Wi-Fi, gear, Share), and iPhones can offer the password to a nearby iPhone that's trying to join, as long as you're in each other's contacts. Recent iPhones can also show a network's QR code in the Passwords app. A printed code is for everyone else: guests you don't know, a room full of people, a café.
Frequently asked questions
How do I make a WiFi QR code?
Open the QR generator, choose the Wi-Fi tab, type the network name and password exactly, pick the security type (WPA / WPA2 for almost all networks) and download the code. Scan it with your own phone before printing.
Is my WiFi password sent anywhere?
No. The code is generated in your browser and the password never leaves your device.
Which security type should I choose?
WPA / WPA2 for almost every home and office network, including most WPA2/WPA3 mixed setups. None for open networks. WEP only for very old equipment.
My password has symbols like ; or :. Will the code work?
Yes. Semicolons, colons, commas, quotes and backslashes have a special meaning in WiFi codes, and the generator escapes them automatically. We tested a password containing all of them and the code decoded exactly.
Do iPhones and Android phones both read WiFi QR codes?
Yes, with the built-in camera on iPhone (iOS 11 and later) and on most Android phones (Android 10 and later), as well as with many scanner apps.
What happens when I change my WiFi password?
The old code stops working, because the password is stored in the code. Make a new code and replace the printed one.
Does a WiFi QR code expire?
No. It contains the network details directly and works as long as the network name and password stay the same.
