Create a Wi-Fi QR Code So Guests Can Join Without Typing the Password
Turn your Wi-Fi network name and password into a QR code that phones join with a single scan. The WIFI: string format, escaping tricky passwords, print tips for a café or guest room, and why it beats reading the password out loud.
Prerequisites
- Your Wi-Fi network name (SSID)
- The exact Wi-Fi password, copied not retyped
- A phone to test the scan before printing
- Wi-Fi QR Code Generator
- A printer or a screen to display the code
Step-by-step
- 1
Find your exact SSID and password
The SSID is the network name your phone shows in its Wi-Fi list, and it is case sensitive. "CafeMocha" and "cafemocha" are two different networks as far as a QR code is concerned. Grab the password straight from your router's admin page or a saved note rather than typing it from memory. One wrong character and every guest who scans the code gets a silent failure with no hint about what went wrong. Copy and paste beats retyping every time.
- 2
Open the generator and enter the details
Head to the Wi-Fi QR Code Generator and paste the SSID and password into their fields. Everything runs in your browser, so the password never leaves your device or hits a server. Type the network name into the field marked SSID, drop the password below it, and you will see a code start forming as you go. No account, no upload, nothing stored after you close the tab.
- 3
Pick the right encryption type
The tool writes a string that looks like WIFI:T:WPA;S:CafeMocha;P:yourpass;; behind the scenes. That T value is the security type. Almost every modern router uses WPA (which covers WPA2 and WPA3 here), so leave it on WPA unless you know otherwise. WEP is ancient and rare. If your guest network is genuinely open with no password, set the type to nopass and leave the password blank, otherwise phones will prompt for a password that does not exist and refuse to connect.
- 4
Handle special characters in the password
Passwords with symbols need care. The characters semicolon, comma, colon, backslash, and double quote all mean something inside the WIFI: format, so they have to be escaped with a backslash. A password like Pa;ss"word becomes Pa\;ss\"word in the raw string. The generator does this escaping for you, which is the main reason to use a tool instead of hand-writing the string. Just paste the real password exactly as it is and let the tool sort out the escaping.
- 5
Set the hidden-network flag if needed
If your router hides its SSID so it does not broadcast the name, flip the hidden flag on. This adds H:true; to the string and tells the scanning phone to look for a network that is not advertising itself. Skip this for a normal visible network. Turning it on when the network is not actually hidden usually still works, but leaving it off for a genuinely hidden network means phones scan the code and then fail to find anything to join.
- 6
Balance error correction against a logo
QR codes carry redundant data so they still scan when part of the code is dirty or covered. The level goes from L (about 7 percent recoverable) up to H (about 30 percent). If you want to drop your café logo in the middle, bump the error correction to Q or H so the logo does not eat data the scanner needs. Higher correction makes the code denser with more little squares, so do not crank it to H if you are not covering anything. Match the level to the abuse the code will take.
- 7
Test the scan before you print anything
Before you commit to a hundred printed cards, point a phone at the code on screen. iPhone users just open the Camera app and hold it over the code; a banner drops down offering to join the network. Most Android phones behave the same way, and if one does not, the built-in QR Scanner confirms the code decodes to the right network. Actually tap Join and watch the phone connect. If it connects on the first try, you are safe to print.
Why a scan beats reading the password aloud
A guest Wi-Fi password that gets read across a counter or shouted across a living room is a password everyone within earshot now knows. A QR code hands the credentials to one phone at a time, quietly. Nobody mishears a capital I as a lowercase L. Nobody fat-fingers a symbol and asks you to repeat it three times. For a café or a rental, that alone saves a surprising amount of small talk that nobody was enjoying.
It is worth being clear about the trade-off. A printed Wi-Fi QR code still contains the password in plain form; anyone who scans it can read the network credentials. That is fine for a guest network you are happy to share, but it is not a way to hide the password. Put the code where you would happily hand someone the password anyway, and rotate the password if the card ends up somewhere public you did not intend.
Printing for a counter, a table, or a guest room
- Print the code at least 3 cm square for a code held at arm's length; go bigger for a wall poster people scan from across the room.
- Keep a clear white margin, the quiet zone, around all four sides. Scanners need that empty border to lock onto the code, and cramming a border or text right up against it causes misreads.
- Use high contrast: dark code on a light background. A code printed pale grey on beige, or reversed to light-on-dark, is a coin flip whether phones read it.
- Add a short line of text like "Scan to join our Wi-Fi" so people know what the code does before they point a camera at it.
The password is baked into the code as printed. If you rotate your Wi-Fi password, every old card stops working instantly with no warning. Keep the source values somewhere you can regenerate from, and treat the printed code as disposable rather than permanent.