How to make a Wi-Fi QR code guests can scan to join
A Wi-Fi QR code lets a guest join your network by pointing their phone camera at it, with no typing. Here is the exact text to put in it, the mistakes that stop it working, and how to make one without sending your password to anyone.
Last checked 2026-11-06.
How a Wi-Fi QR code works
A QR code is just text, stored as a pattern of squares. When a phone camera reads a QR code, it looks at that text and decides what to do with it. If the text is a web address, the phone offers to open it. If the text follows a particular Wi-Fi format, the phone offers to join that network.
That format is an informal standard that phone makers adopted years ago, and it looks like this:
`WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;`
Each part does one job:
- `WIFI:` tells the phone this is a network login.
- `T:WPA;` is the security type. Use `WPA` for almost every home and office network today, including WPA2 and WPA3. Use `WEP` only for very old routers. For an open network with no password, use `T:nopass;` and leave out the password part.
- `S:YourNetworkName;` is the network name (the SSID), exactly as it appears in your phone's Wi-Fi list, including capital letters and spaces.
- `P:YourPassword;` is the password, exactly as you would type it.
- The final `;` closes the whole thing, which is why the line ends with two semicolons.
If your network is hidden (it does not appear in the Wi-Fi list), add `H:true;` before the final semicolon: `WIFI:T:WPA;S:Office;P:secret123;H:true;;`
Making the code, step by step
- Write out your line. Start from `WIFI:T:WPA;S:;P:;;` and fill in the name after `S:` and the password after `P:`. Check the network name in your router settings or on the sticker on the router.
- Open the QR code generator and paste the whole line into the "Link or text" box. The tool is one text box; it encodes whatever you type, so the Wi-Fi format above is what turns it into a network login.
- Make it. Optionally pick a size (128 to 2048 pixels for the PNG), colors, or a higher error-correction level if the code will be printed small or might get scuffed.
- Download. Take the PNG for a screen or a document, or the SVG for printing; the SVG stays sharp at any size.
- Test it before you print. Point your phone camera at the code on screen. You should see an offer to join the network. Join, and check you are actually online.
There is no account and no email needed, and you can use the code anywhere, including in a business.
Special characters: the most common reason it fails
Four characters have a special meaning in the Wi-Fi format: the semicolon `;`, the comma `,`, the colon `:` and the backslash `\`. If your network name or password contains one of them, put a backslash in front of it so the phone reads it as part of the password rather than as a separator. The double quote `"` is usually escaped the same way.
For example, if the password is `pa;ss:word`, write `P:pa\;ss\:word;`.
Spaces are fine as they are. Letters with accents and other alphabets are also fine: the generator here encodes text as UTF-8, which phone scanners read correctly.
Other reasons a Wi-Fi code does not work
- A typo in the network name. The name must match exactly, including capitals. "Home-WiFi" and "home-wifi" are different networks.
- The wrong security type. If your router uses WPA2 or WPA3, `T:WPA` is still the right choice. Mixing up `WEP` and `WPA` stops the join.
- You changed the password. The password is stored in the code itself, so the code has to be remade when the password changes. That is the nature of a static code: there is no server in the middle to update.
- Printed too small, or low contrast. Keep the code dark on a light background with a clear margin around it. On a table card read at arm's length, about 2 cm (0.8 in) across is a sensible minimum. Always test the printed version.
- The phone's camera app does not handle it. Most current iPhone and Android camera apps recognise Wi-Fi codes. If a guest's phone does not, a dedicated QR scanner app will, or they can type the password the old way.
Keeping your password private
Think about where your Wi-Fi password goes while you make the code. Many QR generator sites build the code on their server, which means your network name and password are sent to them. Some also make "dynamic" codes that route through their own short link.
The generator on this site draws the code inside the page, on your device, so the password is never sent anywhere. You can check: open your browser's developer tools, choose the Network tab, and make the code. No request carries what you typed.
The code itself is a different matter: anyone who can photograph it can read the password from it. Treat a printed Wi-Fi code the way you would treat the password written on a card. For a café, an Airbnb or an office lobby, a separate guest network is the safer choice, so the code never unlocks the network your own computers use.
Where to put it
- A framed card by the door or on the fridge for house guests.
- Table tents in a café or restaurant (combine it with a menu QR code).
- The welcome page of a rental's house manual. Make a printable PDF from the PNG with Image to PDF.
- A meeting-room wall for visitors.
Need the PNG smaller for a document or email? Resize it with Image Resize. For why static codes keep working after print, see QR codes that never expire.
When another approach is the better choice
Worth knowing before you print a hundred cards: a Wi-Fi QR code is the wrong choice if you need to rotate the password often, or if guests should never see the same network your own devices use. In those cases use a separate guest SSID, or hand out the password on paper and change it when a stay ends. No tool will make a static code that can revoke access later without reprinting.
Questions people ask
What do I type to make a Wi-Fi QR code?
`WIFI:T:WPA;S:network name;P:password;;` with your own name and password. Paste it into the generator's text box.
Does a Wi-Fi QR code expire?
No. The login is stored in the pattern itself. It stops working only if you change the network name or password.
Is my Wi-Fi password sent to your server?
No. The code is drawn in your browser and nothing is uploaded.
What if my password has a semicolon or colon in it?
Put a backslash in front of it, for example `pa\;ss`.
Can I make one for a hidden network?
Yes. Add `H:true;` before the final semicolon.
Is it free?
Yes, with no account. Free PNG downloads carry a small "made with upfrontpdf.com" line under the code, which you can crop off; the SVG has none on any tier. A plan removes the line from the PNG too; paid checkout is not open yet (see pricing).
Try it
The code is drawn in your browser, so your Wi-Fi password is never sent to us or anyone else.