Wi-Fi QR code generator
Let guests join your network with a single scan. A Wi-Fi QR code encodes your network name, password, and security type so a phone connects automatically — no dictating passwords, no typos. Here's the exact format, the escaping rules that trip people up, and how to share it safely.
The WIFI: format
Wi-Fi credentials are encoded in a compact, well-defined string that iOS and Android both understand. The structure is:
WIFI:T:WPA;S:MyNetwork;P:MyPassword;;
Each field is a single letter followed by a colon, separated by semicolons, with a double semicolon at the end:
- T — security type:
WPA(covers WPA/WPA2/WPA3),WEP, ornopassfor open networks. - S — the SSID (your network name), exactly as it appears.
- P — the password. Omit it entirely for an open network.
- H — optional; set
H:true;only if the network's SSID is hidden.
An open network with no password looks like this:
WIFI:T:nopass;S:CafeGuest;;
The characters \ ; , : " are delimiters. If your SSID or password contains any of them, each must be prefixed with a backslash — for example a password of p;ss:word becomes p\;ss\:word. The generator does this for you automatically, so type your real credentials and let it handle the encoding.
When to use it
A Wi-Fi code shines anywhere people repeatedly ask for the password:
- Cafés, restaurants, and hotels — a small card on the table or wall.
- Homes and short-term rentals — frame it for guests instead of writing the password on a sticky note.
- Offices and meeting rooms — a guest-network code by reception.
- Events and pop-ups — print it once on signage rather than repeating it all day.
Gotchas & safety
- The password is readable. Anyone who decodes the code sees the plaintext password. That's fine for a network you'd happily share — but never post your private network's code in public.
- Use a guest network for visitors. Most routers let you run a separate guest SSID isolated from your devices. Make the QR code for that, not your main network.
- Match the exact SSID. Network names are case-sensitive and space-sensitive.
Cafe Guestandcafe guestare different networks. - WPA covers almost everything. Choose WPA unless you specifically run legacy WEP hardware. WPA3 networks still use the
WPAtype value. - Generation is local. On this site the credentials are encoded entirely in your browser and never uploaded — but the printed result is only as private as where you place it.
Because the credentials are baked into the pattern, this is a static code. If you change the password, you'll need to print a new one. For more on whether codes can stop working, see can QR codes expire.
Make a Wi-Fi QR code
Enter the network name, password, and security type. The generator builds the WIFI: string, escapes special characters, and renders a code you can export and print.
Generate a Wi-Fi QR code
Your SSID and password are encoded locally and never leave the browser. Export a crisp PNG or vector SVG for a tent card or wall sign.
Open the Wi-Fi generatorFrequently asked questions
Is a Wi-Fi QR code secure?
The code contains your network name and password in plain text. Generation here is local and never uploaded, but anyone who scans the printed code can read or join the network — so treat the printout like the password itself. For visitors, a separate guest network is safest.
Which encryption type should I choose?
Choose WPA for any modern network — it covers WPA, WPA2, and WPA3. Use WEP only for legacy hardware, and None for genuinely open networks with no password.
Does it work on iPhone and Android?
Yes. iOS 11 and later and modern Android both read the WIFI: format with the built-in camera and offer to join. Very old phones may need a dedicated scanner app — see how to scan a QR code.
My password has special characters and the code fails. Why?
Semicolons, commas, colons, quotes and backslashes are delimiters in the WIFI: format and must be escaped with a backslash. The generator handles this automatically, so type the password exactly as it is.
Can I make a code for a hidden network?
Yes — a hidden SSID adds H:true; to the payload, and the joining device must also have the network configured as hidden. For standard visible networks no extra flag is needed.