How to make a Wi-Fi QR code that guests can scan to join

What goes into a Wi-Fi QR code, how to make one on iPhone, Android or online, how to print a sign that scans first time, and how to keep your network safe.

Reading a Wi-Fi password off the back of a router, letter by letter, while a guest types it into a phone is nobody’s favourite job. A Wi-Fi QR code fixes that: the guest points their camera at it, taps Join, and they’re connected. Every recent iPhone and Android phone can do this without an extra app.

This guide covers what goes into the code, the quickest way to make one, how to print a sign that scans first time, and how to keep your network safe while you’re handing out access.

What’s inside a Wi-Fi QR code

A Wi-Fi QR code is just a short line of text in a format phones recognise. For a network called Home with the password correct horse 42, it looks like this:

WIFI:T:WPA;S:Home;P:correct horse 42;;
FieldMeaningWhat to put in it
T:Security typeWPA for WPA, WPA2 and WPA3 networks, WEP for very old routers, nopass for open networks
S:Network name (SSID)Exactly as it appears in the Wi-Fi list, including capitals and spaces
P:PasswordLeft out when the network is open
H:Hidden networkH:true only if the network doesn’t broadcast its name

If the name or password contains a backslash, semicolon, comma, colon or double quote, each one needs a backslash in front of it, or the phone reads the rest of the code wrongly. A network called Cafe; Guest becomes S:Cafe\; Guest. A generator does this for you; it’s the main reason hand-typed codes fail.

Note that WPA3 networks still use T:WPA. That’s what the Wi-Fi Alliance’s WPA3 specification defines, and the phone works out the exact security type when it connects. Some generators write T:SAE instead, which not every phone accepts.

Your phone can already make one

For showing the code to someone in the same room, you don’t need anything else:

  • iPhone and iPad (iOS 18 or later): open the Passwords app, tap Wi-Fi, pick your network and tap Show Network QR Code. Macs running macOS Sequoia can do the same.
  • Android 10 or later: open Settings, go to your Wi-Fi network (usually under Network & internet or Connections) and tap Share. The menu names vary between brands, and you may need to unlock the phone first.

That works when your phone is in your hand. For a sign on the wall, a card on a café table, or a welcome page for a holiday rental, you want an image file you can print.

Make a printable Wi-Fi QR code

  1. Open the Wi-Fi QR code generator.
  2. Type the network name exactly as it appears in your phone’s Wi-Fi list.
  3. Choose the security type. If you’re not sure, it’s almost certainly WPA: it covers WPA2 and WPA3, which is what nearly every router made in the last fifteen years uses.
  4. Enter the password, and tick Hidden network only if your network doesn’t show up in the list.
  5. Download the code as a PNG for documents, or as an SVG if a print shop will make it large.

The code is made in your browser, so the password isn’t sent to a server. Before you print anything, scan the code from your screen with one iPhone and one Android phone if you can. A mistake caught now saves a reprint.

Printing a sign that scans first time

  • Size it for the distance. A common rule of thumb is that a QR code scans from about ten times its width. A 3 cm code works on a table card read at arm’s length; a code on a wall across the room needs to be 10 cm or more.
  • Keep the white border. The empty margin around the code is part of it. Don’t crop it, and don’t place the code against a busy background.
  • Dark on light. Black on white is the safest. Coloured codes work if the colour is dark enough, but some scanners can’t read light-on-dark codes.
  • Avoid glare. Matte paper or a matte laminate scans better than a glossy finish under ceiling lights.
  • Print the name and password underneath. Laptops, smart TVs and older devices can’t scan a code, so they still need the text.
  • Add one line of instruction, such as “Point your phone camera here to join the Wi-Fi”. Not everyone knows a camera can do this.

How guests scan it

  • iPhone: open the Camera app and point it at the code. A Join Network prompt appears; tap it.
  • Android: use the Camera app or Google Lens, or the scan icon next to Add network in the Wi-Fi settings. Older phones may need Google Lens.

Keeping your network safe

A Wi-Fi QR code isn’t encrypted. Anyone who scans it, or photographs the sign, can read the password, and many scanner apps show it on screen. Plan for that:

  • Use a guest network for anything public. Most home and office routers can run a separate guest network. Turn on guest isolation if your router offers it, so guests can reach the internet but not your computers, printers or cameras.
  • Change the guest password now and then, for example between rental bookings or every few months in a shop, and print a new code each time.
  • Keep your main network off the sign. If that password has ever been shared widely, change it.

From the other side: before you join a network from a QR code in a public place, check the network name your phone shows you. A sticker placed over a real code could point you to a lookalike network.

When the code doesn’t work

ProblemLikely cause and fix
The phone says it can’t joinCheck the network name first. It’s case-sensitive, so “Home WiFi” and “home wifi” are different networks, and a trailing space counts too.
It joins, then says the password is wrongThe password in the code doesn’t match the router. This happens most after someone changes the Wi-Fi password and forgets the printed sign.
Nothing happens when scanningToo little contrast, no white border, glare from a glossy print, or a code printed too small for the distance. Try from closer, then reprint larger on matte paper.
Works on Android but not iPhone, or the reverseUsually a code made by hand or by a generator that writes something non-standard, such as T:SAE for WPA3. Recreate it with T:WPA.
A hidden network won’t connectMake sure the code includes H:true. Some older phones still struggle with hidden networks; making the name visible is the simplest fix.

Make your code

The free Wi-Fi QR code generator on BayaTools handles the format and the escaping for you, checks that a WPA password is long enough, and lets you add a logo and pick colours. Downloads come as PNG or SVG, with no sign-up and no watermark. The same QR code generator also makes codes for links, WhatsApp, email and UPI payments.

Tools from this guide

Quick answers

Enter your network name, security type and password in a Wi-Fi QR code generator and download the image. On iOS 18 you can also show one from the Passwords app, and on Android 10 or later from the Share button in Wi-Fi settings.

More guides