WiFi QR code generator
A WiFi QR code stores a network name, security type and password in a format many phones can read to join a network. Make one for free in this browser tool and download PNG or SVG; the entered credentials are not uploaded. Anyone who sees the code may be able to use those credentials, so a guest network is a sensible choice.
What is inside the code
The code holds a short text string in a widely supported format: WIFI:T:WPA;S:MyNetwork;P:mypassword;;. T is the security type, S the network name (SSID), and P the password. An optional H:true marks a hidden network. Phones recognise this format and offer to join.
Which phones can scan it
Many recent iPhones and Android phones scan WiFi codes with the camera or WiFi settings. Test with the phones your guests use; older devices may need a separate scanner app.
Filling in the fields
- Network name (SSID): type it exactly as it appears in your phone's WiFi list. It is case-sensitive, so "HomeWifi" and "homewifi" are different networks.
- Encryption: choose WPA/WPA2 for almost every modern router. Many WPA3 routers run in a mixed WPA2/WPA3 mode, where WPA/WPA2 works. Choose WEP only for very old equipment, and None only for open networks.
- Password: exactly as set on the router.
- Hidden network: tick this only if your network does not broadcast its name.
Special characters
In the WiFi format, the characters \ ; , : " have special meanings and must be escaped with a backslash. this QR code generator does this for you, so type your network name and password normally.
If the code does not work
- Check the SSID and password for typos and capital letters.
- Check the encryption type matches the router settings.
- Make sure the guest is in range of the network you encoded (a 5 GHz-only network may have a different name from the 2.4 GHz one).
- If you change the WiFi password, the old code stops working. Make a new one.
Sharing WiFi safely
Anyone who can see the code can join your network, and the password is stored in plain text inside it. For visitors, a guest network is the safer choice, since most routers can keep guests away from your computers, printers and other devices. Avoid posting a code for your main network in a public window, and change the guest password from time to time.
Printing tips
Print a test copy at the size you plan to use. Add a line such as “Scan to join WiFi” and the network name for people whose phones cannot scan. SVG is useful when sending artwork to a printer.
this QR code generator builds the code in your browser. The password you type is not sent anywhere.