Wi-Fi QR code generator

Make a QR code that guests scan to join your Wi-Fi, without reading out a long password. Enter the network name and password, then download or print it.

  • 100% free
  • Runs in your browser
  • No uploads
What should the code open?
Security
Image size
Error correction

Medium (15%): the code still scans with up to that share of it damaged or covered. Higher levels make the code denser.

Preview

Your QR code will appear here.

Scan it with your phone camera before printing or sharing.

How to make a Wi-Fi QR code

  1. Enter the network name (SSID). Type it exactly as your phone lists it, with the same capitals and spaces. Wi-Fi is already selected above.
  2. Choose the security and type the password. Use WPA/WPA2/WPA3 unless your router says otherwise.
  3. Test it before printing. Scan the code on screen with a phone that has forgotten the network, and check it joins.
  4. Download PNG or SVG. PNG for a document or a photo frame, SVG for a sign or a sticker that will be printed large.

What the code contains

A Wi-Fi QR code holds one line of text in a format first written up by the ZXing barcode project and now read by phone cameras. For a network called Home with the password correct horse, it is:

WIFI:T:WPA;S:Home;P:correct horse;;

T is the security type (WPA, WEP or nopass), S the network name and P the password. H:true is added for a hidden network. Because ; , : \ and " separate the fields, the generator puts a backslash in front of them, so a password like pa;ss is written as pa\;ss and still works. Open “Encoded text” under the preview to see your exact code.

Checks the generator makes

  • A network name can be at most 32 bytes. Emoji and accented letters use more than one byte each.
  • A WPA password must be 8 to 63 characters, which is what routers accept.
  • A WEP key must be 5 or 13 characters, or 10 or 26 hexadecimal digits.
  • A missing password is flagged unless you choose No password.

Sharing it safely

Anyone who can see the code can join, and a photo of it works just as well as the real thing. For a café, an office lobby or a holiday rental, put the code on a guest network that is kept separate from your own devices, if your router offers one.

The format has no separate value for WPA3. If your router is set to WPA3 only and a phone won't join from the code, try the router's WPA2/WPA3 mode or join by typing the password. For links, contacts and other content, use the main QR code generator.

Frequently asked questions

Do guests need an app to scan it?

Usually not. The camera apps on current iPhones and Android phones recognise Wi-Fi codes and offer to join the network. On older phones, a QR scanner app or Google Lens does the same.

Is my Wi-Fi password sent anywhere?

No. The code is drawn by your browser and the password never leaves your device. It is written into the code itself, though, so anyone who scans or photographs the printed code can read it and join.

I changed my Wi-Fi password. Does the code update?

No. The password is stored in the pattern, not on a server, so an old code keeps the old password. Make a new code after changing the password or the network name, and throw the old prints away.

Which security option should I pick?

Pick WPA/WPA2/WPA3 for almost every home and office network, WEP only for very old routers, and No password for open networks. If you're unsure, the router's settings page or the label on the router shows the security type.

Why does my phone say it can't join?

Most often the name or password differs by a capital letter, a space or a similar-looking character. Copy both from the router settings rather than typing them from memory. Also check that the phone is in range and that the network isn't hidden; tick Hidden network if it is.