How to Create WiFi QR Codes: Step-by-Step Tutorial
What a WiFi QR code contains, how to find your network name and security type, the steps in the generator, which phones scan it, and how to print a sign that works.
How-to · 5 min read
A WiFi QR code holds your network name, password and security type in a text format that phone cameras understand. Scan it and the phone offers to join with everything filled in. By the end of this tutorial you will have a code that connects a phone in one tap, a printed sign that scans from across a table, and fixes for the things that go wrong.
What the code contains
The code is a short text string with no encryption and no website involved. The password sits in plain text inside the pattern, so a public sign should only carry a guest network.
WIFI:T:WPA;S:CoffeeShop_Guest;P:Welcome2024;;
| Field | Meaning | Values |
|---|---|---|
T: | Security type | WPA (also covers WPA2 and WPA3), WEP, or nopass for an open network |
S: | Network name (SSID) | Exactly as the router broadcasts it, case and spaces included |
P: | Password | Case-sensitive. Empty when T: is nopass |
H: | Hidden network | Add H:true; only if the router does not broadcast the name |
Each field ends with a semicolon and the whole string ends with a second one. An open network still carries an empty password field, so it encodes as WIFI:T:nopass;S:LibraryFree;P:;;. A hidden network adds the flag: WIFI:T:WPA;S:BackOffice;P:secret;H:true;;.
A semicolon, comma, colon or backslash inside the name or password must be escaped with a backslash (\;) or the phone cuts the field short. The generator does this for you.
Find your network name and security type
- Read the router label. Most consumer routers print the default SSID and password on a sticker underneath.
- Open the router admin page. Type the router's address into a browser (commonly
192.168.0.1,192.168.1.1or10.0.0.1, printed on the same sticker) and find the Wireless section. A setting of WPA2-PSK, WPA2/WPA3 Personal or WPA3 isWPAin the code. - Or check a connected phone. On Android, Settings, Network and internet, Internet, then the gear next to the network lists the security type. On iPhone (iOS 16 and later), Settings, WiFi, the "i" next to the network reveals the password.
- Confirm the band. If the router broadcasts
Home_2GandHome_5Gseparately, put the 2.4 GHz one on the sign. Every phone can join it.
WEP is obsolete. If your router is still set to WEP, switch it to WPA2 first.
Make the code
- Open the WiFi QR generator.
- Paste the network name into "Network name (SSID)". Copy it from the router page so the case and spacing match.
- Type or paste the password.
- Choose the security type: WPA/WPA2, WEP, or "No password" for an open network, which disables the password field.
- Tick "Hidden network" only if you turned off SSID broadcast on the router. A stray hidden flag stops some phones joining a normal network.
- Scan the code on screen with your own phone.
- Download PNG for a quick print, or SVG or PDF for a print shop.
The code is generated in your browser; the password is not uploaded anywhere. It has no expiry and keeps working as long as the name and password stay the same.
Which phones scan it
| Device | What happens |
|---|---|
| iPhone, iOS 11 and later | Camera app, point at the code, tap the "Join Network" banner |
| Android 10 and later | Camera app or Google Lens, tap the notification, tap Connect |
| Older phones | A QR scanner app reads the string; some join the network, others show the password to copy |
| Laptops | Windows and macOS do not join WiFi from a code. Print the password in small text for laptop users |
Print a sign
- Size. At least one tenth of the scanning distance: a table tent read from 30 cm needs a 3 cm code, a wall sign read from 1.5 m needs 15 cm. Never below 2 cm.
- Contrast. Black modules on white paper. With brand colors, keep at least 4.5:1 and the background lighter than the modules.
- Quiet zone. A blank margin of at least four modules on every side, with no frame or text touching the pattern.
- Resolution. PNG at 300 DPI for the printed size, or the SVG for a print shop.
- Laminate. Matte, not gloss. Glossy sleeves reflect ceiling lights and fail at an angle.
- Text. "Scan to join WiFi" above, the network name below, the password in small type.
Scan the printed sign, not just the screen, before you hang it. The QR code tester reads a photo of the print and reports whether it decodes.
Troubleshooting
The phone reads the code but will not connect. The security type is wrong; a WPA2 network encoded as WEP fails silently. Regenerate with the correct type.
"Incorrect password" after scanning. Wrong case, a trailing space copied from a document, or smart quotes in place of straight ones.
Connected, but no internet. The network has a captive portal, a login page accepted in a browser. A static code cannot accept those terms; the guest still has to click through. Say so on the sign, or turn the portal off.
Some phones cannot see the network. It is 5 GHz only. Older phones and most smart devices need 2.4 GHz, so enable that band.
The camera does not react. The code is too small for the distance, the print has low contrast, or the phone predates iOS 11 or Android 10. Move closer, then try a scanner app.
It worked last month and not now. Someone changed the password. A static code cannot update itself: generate a new one and reprint.
For a guest network in a shop or office, including password rotation and multi-site signs, see the business guest network guide.
Make your code in the WiFi QR generator and scan it once before you print.
Make your QR code
Free, no sign-up, no watermark. The code is static, so it never expires.
Create a WiFi QR CodeRelated Articles
How-to
Change a QR Code's Destination Without a Dynamic QR Subscription
A dynamic QR code is a static code pointing at a redirect somebody else owns. Point one at a redirect you own instead, and keep the editable destination without the monthly bill.
9 min read
Read ArticleIndustry guide
WiFi QR Code Generator: Business Guest Network Setup Guide
Set up a separate guest network, decide what the sign says, rotate the password without breaking the code, place signs per business type, and generate codes for every location in bulk.
9 min read
Read Article