Home » SEO Tools » WiFi QR Generator
Create a QR code for your WiFi network, so guests can join by scanning it instead of typing a long password.
Last updated 13 November 2026
This tool uses the same QR code library approach as the QR Code Generator on this site. If the library fails to load, it will say so plainly instead of showing a fake code. After generating, test the code with a real phone camera before sharing it widely.
A WiFi QR code stores a network name, password and encryption type in a code a phone camera can read. Guests scan the code and join the network without typing a long password, which also avoids spelling mistakes.
This tool builds the standard WiFi code format and renders it with the same QR code library approach used by the QR Code Generator on this site. It runs in your browser, and it shows a plain message if the library fails to load, instead of a fake code.
A WiFi QR code is a short text string in a standard format, drawn as a code a phone camera can read. When a phone scans it, the phone reads the network name, password and security type from the string and joins the network.
The string starts with WIFI: and ends with two semicolons. Each part has a letter that says what it holds.
| Field | What it holds | Example |
|---|---|---|
| T | Security type: WPA, WEP or nopass | WPA |
| S | Network name, the SSID | MyHomeWiFi |
| P | Network password | your-password |
| H | Hidden network: true or false | false |
Put together, a home network called MyHomeWiFi looks like this:
WIFI:T:WPA;S:MyHomeWiFi;P:your-password;;
The tool above builds this string from your form and turns it into a PNG code. For a web address or a plain message, use the QR Generator, and to read a code you were given, use the QR Scanner.
Pick the security type that matches your router. Most home networks today use WPA, and the WPA choice above covers WPA, WPA2 and WPA3 networks, so there is no separate WPA3 choice to make.
Pick WEP only for very old gear that cannot use WPA at all, since WEP is an old standard with weak protection. Pick No password only for a network that is truly open, since anyone nearby can join it.
If your network is hidden, set the hidden choice to Yes. The code then carries the H:true flag so the phone knows to look for the network by name. Hidden codes do not work on every phone, so test one on a guest phone before you print it.
Newer phones can share a WiFi network on their own, with no code needed. Use these steps when you are standing next to your guest.
On Android 10 or newer, open Settings, then Network and internet, then WiFi. Tap the network you are connected to, then tap Share. After you confirm with your lock screen code or fingerprint, your phone shows a code your guest scans.
On an iPhone, open Settings, then WiFi, then tap the network you are connected to. Tap Share Password when it appears, and hold the two phones close together. Newer iPhones also show the network as a code in the Passwords app.
A code that scans but does not connect almost always has one of three faults. First, the security type may be wrong. A code made with the wrong type fails without a clear error, so check the router settings and make the code again with the matching choice. Second, the password or the network name may be mistyped. Both are case sensitive, so a single wrong capital stops the phone from joining. Third, the password may have changed after you made the code. If the password changed, the old code is dead and you need a new one.
Print the code about 2 to 3 inches wide, dark on a light background, with a clear blank margin around it. That blank margin is called the quiet zone, and a camera needs it to find the edges of the code. Print the network name and password as plain text under the code as well, for guests whose devices cannot scan a code.
The password sits inside the code as plain text, so anyone who scans the code or photographs it can read the password. Share a printed code only with guests you trust, and do not post a photo of it online.
For a code on display in a cafe, an office or a rental home, set up a guest network with its own password and make the code for that network instead of your main one. If a code spreads too far, change the guest password and print a new code.
Most modern phones can scan a WiFi code with the camera app. Test it on your own phone before sharing it widely.
No. The code is built in your browser on your own device, and nothing you type is uploaded to a server. The password is only stored inside the code image you download.
That means the QR library did not load. Check your connection and try again, instead of trusting a blank box.
Use WPA. The tool has no separate WPA3 choice, and the WPA value covers WPA, WPA2 and WPA3 networks. Pick WEP only for very old gear that cannot use WPA, and pick No password only for a truly open network.
No. The code is static and never expires on its own. If you change the password or the network name, the old code stops working and you need to make a new one.
Yes. The password sits inside the code as plain text, so anyone who scans it or photographs it can read it. Use a guest network for codes you display in public, and change the password if a printed code spreads too far.
Check three things: the security type must match the router, the password must match exactly including capitals, and the network name must match exactly. If you changed the password after printing the code, make a new code.
Generally no. Laptops do not scan codes with a camera in the same way phones do, so print the network name and password as text under the code for laptop users.
Print it about 2 to 3 inches wide, dark on a light background, with a clear blank margin around it. A small or low contrast print is hard for a camera to read.