WiFi QR code generator
How to make a Wi-Fi QR code
- Type the Network name (SSID) exactly as it appears on your router, and the Password.
- Choose Security: WPA, WPA2 or WPA3, WEP, or No password. Tick Hidden network if the name is not broadcast.
- Check the code on the screen, then scan it with your own phone before you print it.
- Click Download PNG or Download SVG. Files are named wifi-qr-code.
What this Wi-Fi QR code generator makes
Type your network name and password and a code appears that phones read as Wi-Fi settings. The fields are Network name (SSID), Password, Security and a Hidden network box. The code holds one line of text, for example WIFI:T:WPA;S:HomeNet;P:correct horse battery;;, drawn as a picture. Nothing is stored and nothing expires, but the code only copies those settings, so a new router password needs a new code.
Your name and password stay in the browser. We typed a made-up network name and password into this page and logged every request. There were 15, none carrying data, and neither the name nor the password was in any of them. The only outside hosts were Google's ad and analytics services and the QR library, fetched once you start typing. We tested Chromium only. Downloads are named wifi-qr-code.png and wifi-qr-code.svg. For links and text, use the QR code generator.
What each security choice writes
The select offers WPA, WPA2 or WPA3, WEP (old) and No password. The first writes T:WPA, the second T:WEP, and the third leaves the password out. WEP is old and weak, so use it only for equipment that cannot do better.
A caution on WPA3. The code always says WPA. A forum post in a 1Password community thread reports that stock Android writes a different value, T:SAE, for networks that allow only WPA3, and that T:WPA is the only type the format formally defines. We cannot say how every phone treats a WPA code for a WPA3-only network, and we have not tested one. If yours is WPA3-only, scan the code with the phones you care about before you print it.
Special characters, spaces and other alphabets
The code format treats ; , : and " as separators, so the page puts a backslash before each of them, and before a backslash too. One typed backslash becomes two in the code. A name or password made only of hex digits, such as 1234 and abcdef12, is wrapped in quotes so phones do not read it as hex. Spaces, accents and symbols work: Café Müller 5GHz and a password with a tick mark read back exactly. Every case in the table, including the longest WPA pair, was read from the PNG by two software decoders, OpenCV and ZXing, and matched the expected text.
That is software, not a phone. We have not scanned any code with an iPhone or an Android phone.
Scanning it on a phone
Phones read these codes with the camera: iPhones since iOS 11, and most Android phones in the camera or Google Lens. On an iPhone, check that Scan QR Codes is on under Settings, then Camera, point the camera at the code and tap the prompt. If it will not scan, raise the screen brightness, move closer and avoid glare.
Size and settings
A plain network is version 4, 33 by 33 squares, at the default Medium level, and 492 pixels square at the default size of 512. Low makes it version 3 and High version 6. An open network is 25 by 25. Colours, quiet zone and transparency work as on the main QR page: keep dark on light and the quiet zone at 4. We did not test printed codes.
What is not here
No logo, no frame, no scan tracking and no WPA2-Enterprise. For a strong password to put in the box, use the password generator. A contact card is a different code: see vCard QR code generator. All image tools are on one page.
What goes into the code
| Case | Text in the code | Version and squares |
|---|---|---|
| Plain WPA | WIFI:T:WPA;S:HomeNet;P:correct horse battery;; | v4, 33 × 33 |
| Hidden network | WIFI:T:WPA;S:HomeNet;P:correct horse battery;H:true;; | v4, 33 × 33 |
| Open network | WIFI:T:nopass;S:GuestNet;; | v2, 25 × 25 |
| WEP | WIFI:T:WEP;S:OldRouter;P:12345;; | v3, 29 × 29 |
| Hex-looking name and password | WIFI:T:WPA;S:"1234";P:"abcdef12";; | v3, 29 × 29 |
| ; : , and a quote | WIFI:T:WPA;S:Caf\;e 5;P:p\:a\"ss\,w\;x;; | v3, 29 × 29 |
| One typed backslash | WIFI:T:WPA;S:SlashNet;P:ab\\cd;; | v3, 29 × 29 |
| Accents and a tick mark | WIFI:T:WPA;S:Café Müller 5GHz;P:pässwörd ✓ 123;; | v4, 33 × 33 |
| 32-character name, 63-character password | WIFI:T:WPA;S:(32 N);P:(63 p);; | v7, 45 × 45 |
Prefer an app on your PC?
The Microsoft Store lists a WiFi QR Code Scanner app for Windows that scans a code with a webcam. Its listing says the PRO version can also build a code from the Wi-Fi profiles stored on the PC. This page needs no install.
Frequently asked questions
Is my Wi-Fi password uploaded?
No. We typed a made-up password and the request log showed 15 requests, none with data in it and none containing the password.
Does a Wi-Fi QR code expire?
No, it is only a picture of the settings. It stops working if you change the router name or password, and then you make a new one.
Does it work for a hidden network?
Yes. Tick Hidden network and the code adds H:true.
Does it work with WPA3?
The code writes WPA. Networks that allow WPA2 and WPA3 together should be fine, but we have not tested a WPA3-only network, so test before you print.
Can I use symbols in the password?
Yes. The page escapes ; , : \" and a backslash, and every case read back exactly in two software decoders. We did not test phones.
Is it safe to print the code?
Anyone who scans it can join, so print a guest network, not your main one.