Wi-Fi QR code generator: let guests join with one scan
Guests point their camera at the code and the phone offers to join your network, no typing of long passwords. Your password never leaves your browser.
Updated
Colours, size and error correction
#0b1530#ffffffHigher levels survive scratches and logos but make the code denser. M suits most uses.
Fill in the fields and your code appears here.
What the code contains
How to use it
- Enter the network name
Type the SSID exactly as it appears in your phone's Wi-Fi list. Capital letters and spaces count.
- Add the password and security
Choose WPA/WPA2/WPA3 for almost every modern router, WEP only for very old equipment, or none for an open network. Tick hidden network if your router does not broadcast its name.
- Download the code or the card
Get the QR code as PNG or SVG, or download the printable card that shows the network name above the code.
- Test before you put it up
Scan it with an iPhone and an Android phone that have never joined the network. If either fails, check the name and password for typos.
What is inside a Wi-Fi QR code?
A Wi-Fi QR code holds one line of text in a format first documented by the open-source ZXing barcode project, which phone cameras now read. For a network called Cafe Guest with the password sunny-day-42 it looks like this: WIFI:T:WPA;S:Cafe Guest;P:sunny-day-42;;
The fields can appear in any order, and the line ends with two semicolons. Because the semicolon, colon, comma, double quote and backslash have a meaning in this format, any of them inside your network name or password must be escaped with a backslash. The generator does that for you, which is where hand-typed codes most often go wrong.
| Field | Meaning | Values |
|---|---|---|
| T | Security type | WPA (covers WPA, WPA2 and WPA3 personal), WEP, or left out for an open network |
| S | Network name (SSID) | Exactly as broadcast, special characters escaped |
| P | Password | Left out for an open network |
| H | Hidden network | true when the router does not broadcast the name |
Is it safe to put a Wi-Fi QR code on the wall?
The password is stored in the code as plain text. Anyone who scans it with a QR reader app, or photographs it, can read the password. So treat the printed code like the password itself.
- Use a guest network. Most routers can run a separate guest network that cannot reach your own computers, printers or cameras. Put that one on the code.
- Change the password now and then, and print a new code when you do. A static code cannot be updated in place.
- Keep it indoors, where only your guests or customers can see it.
- This tool covers password networks. Enterprise networks that ask for a username (WPA2-Enterprise) are not supported.
Why a static code is the right choice for Wi-Fi
For most marketing uses we recommend a dynamic QR code that you can edit and track. Wi-Fi is the exception. A static Wi-Fi code goes straight to the phone's join prompt and works with no internet connection, which is exactly what someone who is not yet online needs.
Make Wi-Fi codes static, in BN Shortener too (untick Dynamic): only a static code makes the phone offer to join the network. For the card on the table or the sign at reception, use the static code from this page. Save dynamic codes for menus, posters and links you may want to change later; the static vs dynamic guide explains the difference.
Sources
- Barcode contents: Wi-Fi network config, ZXing project wiki, checked 2026-10-23
- Error correction feature, DENSO WAVE (QRcode.com), checked 2026-10-23
More free tools
Questions
Does a Wi-Fi QR code work on iPhone and Android?
The WIFI: format is the one phone camera apps look for, and current iPhones and Android phones generally offer to join straight from the camera. Test with both before printing, especially if your network name has unusual characters.
What if I change my Wi-Fi password?
The old code will stop working, because the password is stored inside the pattern. Make a new code with the new password and replace the printed one.
Which security type should I choose?
Choose WPA/WPA2/WPA3 for nearly every router made in the last fifteen years. Use WEP only if your router settings say WEP, and none only for an open network with no password.
My network is hidden. Will the code still work?
Yes, if you tick hidden network. That adds H:true to the code, which tells the phone to look for a network that does not broadcast its name.
Is my Wi-Fi password sent to your server?
No. The code and the printable card are made in your browser, and nothing you type is uploaded or stored by us.
How big should I print the code?
Treat 2 x 2 cm (0.8 in) as the floor, and size the code for the distance: about 1 cm of width for every 10 cm people stand away. A sign read from 1 m needs a code about 10 cm wide. Our guide on QR code size for print has a full chart.
Try it on your next link
The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.