WiFi QR code generator

Open the QR Code Generator

A WiFi QR code lets a guest join your network by pointing a phone camera at a card instead of typing a long password. The code stores one line of text in a standard format that iPhone and Android camera apps understand. When the phone reads it, it offers to join the network.

Our QR Code Generator has no separate WiFi form. It turns whatever text you type into a code, so you type the WiFi line yourself, in the format shown below. We tested this on 2026-10-09: WPA, open, hidden and specially escaped network names all decoded back to exactly the text that was typed, at 128, 256 and 512 pixels.

The WiFi line to type

The format is WIFI:T:security;S:network name;P:password;; with two semicolons at the end. T is the security type, S is the network name (SSID) exactly as it appears on your phone, including capital letters and spaces, and P is the password.

  • Normal home or office network with a password: WIFI:T:WPA;S:Cafe Guest;P:coffee2026;;
  • Open network without a password: WIFI:T:nopass;S:Lobby Free WiFi;;
  • Hidden network (the name is not broadcast): WIFI:T:WPA;S:Office5G;P:Str0ng!Pass#;H:true;;
  • Old WEP router: use T:WEP. If your router offers WPA2 or WPA3, switch to that instead; WEP is not secure.

Use T:WPA for WPA2 and for most WPA2/WPA3 mixed networks; that is the value phones expect. If a phone refuses to join a network set to WPA3 only, try the code on that phone before you print a stack of cards.

Special characters in names and passwords

Five characters have a meaning in this format: the backslash, semicolon, comma, colon and double quote. If any of them appear in the network name or the password, put a backslash in front of each one. A network called My;Home with the password pa;ss,word is typed as WIFI:T:WPA;S:My\;Home;P:pa\;ss\,word;; and it decodes correctly. Other symbols such as !, #, @ and spaces need no escaping.

Before you print it

  • Set the size to 512 px for print. It is a PNG, so place it on the card at a few centimetres wide rather than stretching it to poster size.
  • Test it: open the downloaded image on a laptop screen and scan it with two different phones. If the phone shows the network name but fails to join, the password or the security type in the line is wrong.
  • Write the network name under the code, so people without a camera app can still find it.
  • When you change the WiFi password, make a new code. The old card will stop working because the old password is printed inside it.

Privacy: use a guest network

Anyone who can see the card can join, and the password can be read back out of the code by any QR scanner app, so treat a printed WiFi code like a password written on the wall. For a shop, office or rental, put it on a guest network that is separate from the computers and cameras you care about.

To draw the image, the line you type is sent to our server over HTTPS. The tool does not save it, but as with any web address it can appear briefly in routine server logs. If that matters for your main network, use a guest network password here, or change the password after the event.

Create the WiFi code

  1. Write your line, for example WIFI:T:WPA;S:Cafe Guest;P:coffee2026;; with your own network name and password.
  2. Open the QR Code Generator, paste the line into Text or URL, and set the size to 512.
  3. Select Generate & Download, then scan qrcode.png with your own phone and join the network to confirm it works.

Related tools and guides

FAQ

Does this generator have a WiFi form?
No. You type the WiFi line in the WIFI: format yourself and the generator turns that text into a QR code. The examples on this page show the exact line to type.
Which phones can join from a WiFi QR code?
Current iPhone camera apps and most current Android camera apps, or Google Lens, read WiFi codes and offer to join. Test the code with the phones your guests are likely to use.
What do I type for a network without a password?
Use WIFI:T:nopass;S:your network name;; and leave out the P: part.
My password has a semicolon. Will it break the code?
Put a backslash before it, for example P:pa\;ss;; and the code will decode correctly. Do the same for backslashes, commas, colons and double quotes.
Is the password visible to people who scan the code?
Yes. Any QR scanner app can show the text inside, so share it on a guest network rather than your main one.
Do you store my WiFi password?
The tool does not save it. The text is sent to our server over HTTPS to draw the image, and like any web request it can appear briefly in routine server logs.