A Wi-Fi QR code lets guests join your network by scanning, with no password typing. You create it from a short line of text that holds the network name, the security type and the password. This guide shows the exact format, how to generate and test the code, and the safety points to think about before you print it.
The Wi-Fi QR Code Format
The code stores text in a standard shape. Most modern phone cameras read it and offer to join the network:
WIFI:T:WPA;S:NetworkName;P:YourPassword;;
Tis the security type:WPAfor most home networks,WEPfor old ones, ornopassfor an open network.Sis the network name (SSID), written exactly as it appears.Pis the password.H:true;can be added if the network is hidden.- If the name or password contains special characters such as
;:,\or a quote, put a backslash before each one.
How to Create a Wi-Fi QR Code
- Check your network name and password in your router settings, or on the label of the router.
- Write the line using the format above, matching capital letters exactly.
- Open the QR code generator and paste the line into the text box.
- Choose a size and generate the code.
- Download the PNG and test it with a phone that is not yet on the network.
Our generator makes the code from the text you give it, so you type the Wi-Fi line yourself. It does not have a separate Wi-Fi form.
Where to Use It
- A framed print in your living room for guests.
- A card at the counter of a café, salon or shop.
- An Airbnb or rental welcome sheet.
- An office meeting room.
Add a short line under the code, such as “Scan to join Wi-Fi”, and print it at about 3 x 3 cm or larger.
Safety: Think Before You Print
Anyone who scans the code gets your password. Keep these points in mind.
- Use a guest network. Most routers let you make a separate guest network, which keeps visitors away from your own devices.
- Do not post it publicly online. A photo of the code shares the password with everyone who sees it.
- Change the password if it leaks. Then make a new code, since the old one stops working.
- Use a generator you trust. Some online tools send your input to a server, so check the privacy details before you enter a real password.
If the Code Does Not Work
- Check the capital letters and the spaces in the network name and password.
- Make sure the security type matches your router.
- Escape special characters with a backslash.
- Print larger, with a clear white border and strong contrast.
- Try another phone, since older devices may not read Wi-Fi codes from the camera.
For other kinds of text that a QR code can hold, see our QR code examples.
Frequently Asked Questions
How do I make a QR code for my Wi-Fi?
Write the line WIFI:T:WPA;S:NetworkName;P:YourPassword;; with your details and generate a code from it.
Does the code change if I change the password?
Yes. The password is stored inside the code, so you need a new one.
Only with people you trust. Use a guest network and keep the code out of public posts.
Can an iPhone or Android scan it?
Most recent versions of both can read it with the camera. Older phones may need a scanner app.
Last reviewed October 2026.