Quick Answer
A WiFi QR code lets guests join your network by scanning it with a phone camera, with no password typing needed. It stores the network name, password, and security type in a single code. Create one with a free generator, then print it on a table tent or poster. Most modern phones then offer to join the network with one tap.
A WiFi QR code lets anyone connect to your network by pointing their phone camera at a printed sign, with no typing and no awkward conversations about where the password is. It takes about two minutes and costs nothing. Here is how to do it, and how to do it safely.
What Does a WiFi QR Code Do?
A WiFi QR code is a small block of text in a format that phones recognize. The syntax is documented in the ZXing project wiki, and it looks like this: WIFI:T:WPA;S:mynetwork;P:mypass;;. T is the security type, S is the network name (SSID), and P is the password. An optional H field marks a hidden network. A few characters, including semicolons, commas, and quotation marks, have special meaning in this format, so a generator has to escape them for you. Typing that string by hand is an easy way to break it.
When a guest scans the code:
- The ZXing wiki lists the format as working on Android and on iOS 11 and later.
- The phone reads the code and offers to join the network. What that prompt looks like, and which settings each phone accepts, varies by model and version.
- We have not yet recorded results on specific phones. We will add them only after they have been checked on real devices.
This is different from Wi-Fi Easy Connect, a Wi-Fi Alliance program for onboarding smart devices. There, the QR code on a device holds a public key, not a password. A printed guest code is the simpler tool, and it is what this guide covers.
What Exactly Goes Inside the Code?
The ZXing wiki defines these fields, and says the order of fields does not matter:
- T: the authentication type,
WEP,WPAorWPA2-EAP, ornopassfor no password. It can also be left out for no password. - S: the network name (SSID). Required.
- P: the password, ignored when T is
nopass. - H: optional,
trueif the network name is hidden. - E, A, I, PH2: used only for WPA2-EAP (enterprise) networks.
The wiki says the special characters \ ; , " and : should be escaped with a backslash, and that a name or password that could be read as hexadecimal should be wrapped in double quotes.
Here is what our WiFi generator actually encoded, read back from its output by an automated test:
- Network
CafeGuest, passwordcoffee2026, WPA:WIFI:T:WPA;S:CafeGuest;P:coffee2026;H:false;; - Network
Cafe;Guest, passworda,b"c\d:WIFI:T:WPA;S:Cafe\;Guest;P:a\,b\"c\\d;H:false;; - Password
pass:word:WIFI:T:WPA;S:Shop;P:pass\:word;H:false;; - Password
ABCD1234, which could be read as hexadecimal:WIFI:T:WPA;S:Shop;P:"ABCD1234";H:false;; - Open network
FreeWiFi:WIFI:T:nopass;S:FreeWiFi;H:false;; - Hidden network
BackOffice:WIFI:T:WPA;S:BackOffice;P:staffonly;H:true;;
The generator escapes all five characters the wiki lists, wraps a name or password made only of 0 to 9 and A to F in double quotes, and for an open network writes T:nopass with no password field. In the automated test, three software decoders each returned exactly these strings, and reading them back gave the network name and password that were typed in. That shows what the code holds. We have not checked how phones treat these cases, so test the code on the phones your guests use before printing it.
Who Needs a WiFi QR Code?
Common settings include:
- Cafes and restaurants. Put one on each table so customers can connect without flagging down staff.
- Hotels and vacation rentals. Frame it and leave it on the desk so guests can connect as soon as they arrive.
- Offices and coworking spaces. Put it in meeting rooms and reception so visitors do not have to wait for help.
- Events and conferences. Print it in the program or show it on screen, and check first that your network can handle the crowd.
- Home. Keep one handy so nobody has to spell out a 20-character password.
Step by Step: Create Your WiFi QR Code
- Open the WiFi QR Code Generator. Go to our free WiFi QR code generator. No account or signup needed.
- Enter your network name (SSID) exactly. Copy it from your router settings or from a connected device. "HomeNetwork" and "homenetwork" are different names.
- Enter your WiFi password exactly. Click the eye icon to see what you are typing. A single wrong character means the code will not work.
- Select the security type. Most home and business routers use WPA/WPA2. Choose None only for an open network.
- If your network does not broadcast its name, select the hidden network option. Most networks are not hidden, so leave this off if you are unsure.
- Download and test. Download the 512px PNG, which prints sharply up to about 4 cm at 300 DPI. Test on a phone that has never joined the network, because a phone that already knows it proves nothing.
Which Security Setting Should You Choose?
The setting in the code has to match your router, and your router should be using a current standard. Apple recommends WPA3 Personal for security, and lists WEP and WPA Personal among the deprecated settings to avoid because they are no longer secure. Our generator still has a WEP option for old equipment, but treat that as a sign the router needs attention, not as a choice to make.
Apple recommends WPA3 Personal for security, or WPA2/WPA3 Transitional for compatibility, a mixed mode that lets older devices fall back to WPA2. For a guest code, transitional mode is usually the easier option, since you cannot know how old a visitor's phone is. Our generator has no separate WPA3 setting, so if your network is WPA3 only, test on several phones before you print. Apple also recommends against hiding your network name, saying it does not conceal the network or secure it against unauthorized access.
How Do You Display Your WiFi QR Code?
- Print on a small card, laminate it, and place it on tables. This is the most common setup for cafes and restaurants, and lamination protects it from spills.
- Frame it. A simple picture frame looks tidy in rental properties, hotel rooms, and living rooms.
- Add it to your menu or welcome card. If you print these anyway, put the code on the back or in a corner.
- Add a short label. "Scan to join our WiFi" tells people what to expect, and the network name beside it lets them check the prompt on their phone.
Size the code to at least a tenth of the scanning distance, so about 3 to 4 cm for a table card read from 30 to 40 cm. That is the rule of thumb in our print size guide. For anything much bigger than that, export a larger image from a tool that offers it, since our PNG tops out at 512 pixels.
Troubleshooting: Why Your QR Code Might Not Work
If scanning the code does not connect the phone, check these in order:
- Wrong SSID. The network name must match exactly, including capital letters and spaces. Check it against your router's admin page or a connected device.
- Wrong password. Re-enter it carefully and use the show/hide toggle to verify what you typed.
- Wrong security type. The code has to match the router. If you recently changed router settings, regenerate the code.
- WPA3-only network. If some phones fail, try WPA2/WPA3 Transitional on the router or a separate guest network.
- Hidden network. If your network does not broadcast its name, select the hidden network option and regenerate.
- Special characters in the name or password. The generator escapes them as the format describes, as shown above. We have not tested how each phone handles them, so test on the phones your guests use, or change the password.
- Older phone. Try a QR scanner app that supports WiFi codes, or fall back to typing the password.
Is It Safe to Share a WiFi QR Code?
Sharing a WiFi QR code is the same as sharing your password. The password sits in the code as plain text, and anyone who scans it with the right app can read it. That is fine for the people you would give the password to anyway, but do not post the code online if you want to limit access.
Our generator never sends your password to a server. The code is created in your browser, so no one at IWantFreeQRCode.com can see it.
The bigger step is separating guests from your own devices. Many routers let you set up a guest network with its own name and password, so fewer people have your main password and guests stay off the network your own devices use. Put that network, never your main one, on printed signs.
Printed codes can also be tampered with. The FBI has warned about criminals covering legitimate codes with stickers, so check public signs now and then. Tell guests that your code should only offer to join your named network, and should not ask them to install anything or log in.
If you change your WiFi password, you need to generate a new QR code, because the old one stops working. Keep the generator bookmarked for quick regeneration, and destroy old prints, since they still show the previous password.
Ready to make yours? Our free WiFi QR code generator takes under two minutes and requires no account. For more on printing and testing, see our QR code best practices.
Frequently Asked Questions
Is it safe to make a WiFi QR code?
Yes, with some caveats. Our browser-based generator creates the code on your device, so your WiFi password is never sent to a server. The code itself holds your password in readable form, so treat a printed copy the way you would treat the written password, and use a guest network for visitors where you can.
Why is my WiFi QR code not working?
The most common causes are a network name or password that does not match exactly, the wrong security type, or a hidden network without the hidden option selected. Check each field against your router settings, regenerate the code, and test it on a phone that has not joined the network before.
What size should I print my WiFi QR code?
Make it at least a tenth of the scanning distance, so about 3 to 4 cm for a table card read from 30 to 40 cm, and larger if people scan from farther away. The 512px PNG from our generator prints sharply up to about 4 cm at 300 DPI.
Does a WiFi QR code work with WPA3?
Our generator offers WPA/WPA2, WEP, and open network options, with no separate WPA3 setting. Networks in WPA2/WPA3 transitional mode are the safest bet for guests, because older devices can still connect. On a WPA3-only network, test the code on several phones before you print it.
Do I need a new code if I change my WiFi password?
Yes. The password is stored in the code itself, so the old code stops working as soon as the password changes. Generate a new code, replace every printed copy, and destroy the old ones, since they still show your previous password to anyone who scans them.