Wi-Fi QR Code Generator
Type the network name and password. Guests scan the code instead of typing it.
https://flxcode.com/wifi-qr-code-generator/
Made in your browser. The password is never sent, saved or put in the address.
Experimental: some phones can't read a WPA3-only code. Test it on your guests' phones.
Anyone who sees this code can join. Use a guest network if you can.
Your code
Type a network name to see the code.
This code contains
- Network
- Security
- Password
- Hidden
Print a sign
The network name is always printed. The password text is off by default, so a sign on a wall doesn't show it to everyone who walks past. The code still holds it.
Preview at actual size on paper. Print, then cut along the crop marks. Choose "Actual size" or 100% in the print dialog.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Quick start
- Type the network name exactly as it appears on a phone, with the same capitals.
- Type the password and choose the security type. WPA / WPA2 / WPA3 fits most routers.
- Check the This code contains box.
- Download the code, or choose a template and print it.
- Scan it with your own phone before you print more.
iPhone: open the Camera app, point it at the code and tap the banner. Android: open the camera or Google Lens and tap Connect.
What is inside the code
A short line of text: WIFI:T:WPA;S:name;P:password;;. T is the security type, S the network name and P the password.
A hidden network adds H:true;. An open network uses T:nopass and has no password.
WPA3 only uses T:SAE. Backslash, semicolon, comma, colon and double quote are escaped with a backslash.
It is the same format the generic QR code generator uses for its Wi-Fi tab.
Printing
- The preview is laid out in millimetres on an A4 or Letter sheet, with crop marks. Print, then cut along the marks.
- The network name is always printed. The password text is optional and off by default.
- Use "Actual size" or 100% in the print dialog. Scaling changes the size of the squares.
- The SVG download is exact in mm. The PNG is 300 dpi with whole pixels per square, so its printed size is about the same.
- Not sure about the size for a poster or a door? Use the print size calculator.
Accuracy and limits
- Our tests decode the drawn code image again and compare it to the text we meant to encode, for 10 cases including escapes, emoji and a hidden network.
- That checks the code, not every phone. Test on the phones your guests use.
- No enterprise networks, no logos, no batches.
- The encoder is Project Nayuki's open source QR Code generator (MIT).
How it works and privacy
The code is calculated in your browser. Nothing you type is put in the address, saved on this device or sent to us. We count events without cookies, like "PNG downloaded" (details).
FAQ
Is my Wi-Fi password sent anywhere?
No. The code is made in your browser. The password is not uploaded, saved, put in the address bar or counted in our events. Remember that anyone who scans the printed code gets the password, so use a guest network if you can.
What about special characters in the name or password?
Backslash, semicolon, comma, colon and double quote have a meaning in the Wi-Fi code format, so each gets a backslash in front. Accents, other alphabets and emoji are stored as UTF-8. The "This code contains" box reads the code string back, so you can see what a scanner gets.
My name or password is only digits, or only letters A to F. Is that a problem?
It can be. Some scanners may read an all-digit or all-hex value as a hex string. The format has a quoting rule for this, but support is uneven, so we don't add quotes. If a phone fails to join, test with another phone and check the name and password by hand.
How do I make a code for a hidden network?
Tick Hidden network. The code then says the router does not broadcast its name, and phones try to join by name.
Which security type should I pick?
WPA / WPA2 / WPA3 for nearly every router. It covers networks that allow both WPA2 and WPA3. WPA3 only is experimental: some phones can't read that type, so test it on the phones your guests use. WEP is old and weak. Pick None only for an open network.
Does it work for work or school Wi-Fi?
No. Enterprise networks (802.1X, a username and a certificate) need more than the Wi-Fi code format can hold. It has fields for a name, a password and a security type, and nothing else.
Why does my phone not join after scanning?
Check these, in this order. The password or name has a typo. The security type is wrong for the router. The router allows only 5 GHz and the device is 2.4 GHz only. The router filters by MAC address and the phone uses a private (randomised) address. The code is printed too small or is blurry.
What size should I print it?
The templates use 32 mm on a business card, 50 mm on an A6 sign and 40 mm for QR only. The page warns when a square would print under 0.5 mm wide, which happens with long names and passwords. Print at actual size, not "fit to page".
More from FLXCode
QR Code GeneratorNew
Make a QR code for a link, text, Wi-Fi or contact. Static, so it never expires. No sign-up.
QR Code Size for PrintNew
Work out how big to print a QR code: minimum and recommended width from content length, scan distance and printer dpi.
Barcode GeneratorNew
Make EAN-13, UPC-A, EAN-8, Code 128, Code 39 and ITF-14 barcodes with real print sizes. SVG and PNG, no sign-up.
UPC Barcode GeneratorNew
Make a UPC-A barcode from 11 or 12 digits. The check digit is worked out for you. SVG and PNG at real print size.