About the WiFi QR Code Generator
A WiFi QR code lets guests join your network by pointing their phone camera at it, with no spelling out of long passwords. This WiFi QR Code Generator builds the code from your network name, password, and security type, and lets you download it as a PNG for printing or sharing.
How it works
Phones recognize a standard text format for network details: WIFI:T:<security>;S:<network name>;P:<password>;H:<true or false>;; The generator builds this string from your inputs, leaving out the password for open networks. Backslashes, semicolons, commas, colons, and double quotes in the name or password are escaped with a backslash so that they are not mistaken for separators.
That text is then encoded as a QR code with the qrcode library, drawn on a canvas 240 pixels wide right in your browser. When a phone camera or QR app scans it, the phone reads the fields and offers to join the network. The Download PNG button saves the canvas as an image named after your network.
How to use
- 1
Enter your network name exactly as it appears, including capitalization, in Network name (SSID).
- 2
Enter the WiFi password.
- 3
Choose the security type: WPA/WPA2 for most networks, WEP for very old routers, or No password for open networks. Tick Hidden network if your router does not broadcast its name.
- 4
Test the QR code with your phone camera, then click Download PNG.
Worked examples
Home network
A printable card for house guests.
Open cafe network
A guest network with no password.
The password field is disabled and left out of the code.
Password with a semicolon
A password that contains a special character.
The semicolon is escaped so the phone reads the full password.
Frequently asked questions
Will scanning the code reveal my WiFi password as plain text?+
Most phones connect without showing the password, but it is stored in the QR code in plain text and any QR reader app can display it. Treat the printed code like the password itself.
What encryption type should I choose?+
Choose WPA/WPA2 for almost all modern networks, including most WPA2/WPA3 mixed setups. Pick WEP only for very old routers, and No password for open networks.
What does Hidden network do?+
It adds H:true to the code, telling the phone that the network does not broadcast its name, so the phone looks for it directly.
Do I need to regenerate the code if I change my password?+
Yes. The password is stored inside the QR code, so a new password needs a new code.
Is my password sent anywhere?+
No. The code is generated in your browser with a local library, and nothing you type is sent to a server.