How to create a Wi-Fi QR code safely
Create a scannable Wi-Fi QR code, choose the correct security type and test it before printing or sharing.
What a Wi-Fi QR code contains
A Wi-Fi QR code stores the network name, security type and password in a standard text format. A compatible phone can scan it and offer to join the network without retyping the password.
Create and test the code
Enter the network name exactly, select the correct security type, add the password and generate the code. Test the downloaded result with at least two devices before printing it.
- Use dark foreground and light background colors
- Keep the clear margin around the code
- Do not cover a large part of the code with a logo
- Print at a size people can scan from a comfortable distance
Share guest access, not your private network
Create a separate guest network when visitors only need internet access. A printed QR code exposes the stored credentials to anyone who can scan or photograph it, so replace the password if the sign is lost or publicly shared.
Worked decision: a guest-network sign
Create a guest network in your router first, then generate its QR code using the exact network name and current password. A QR code does not create the network or isolate guests from your other devices. Those controls belong in the router settings.
Test the downloaded image on a phone that is not already connected. Confirm the proposed network name, join it and open a website. Then test the printed sign at its intended distance and lighting. A successful scan on your monitor does not prove a small or glossy print will scan.
Diagnose scanning and connection separately
If the camera cannot detect the code, enlarge it, preserve the blank margin and increase contrast. If it detects the code but connection fails, check the password, security setting and router availability. Do not try to fix an incorrect password by changing the QR image resolution.
Anyone who can read the code can obtain the stored credentials. Replace the sign after changing the guest password and remove old copies. Avoid using the password for any account or private network.
What is inside the code
A Wi-Fi QR code contains a short line of text in a widely supported format. For a typical home network it looks like WIFI:T:WPA;S:HomeGuest;P:correct-horse-battery;; where T is the security type, S the network name and P the password. Phones recognise this pattern and offer to join the network.
Because the password is stored as plain text inside the pattern, anyone with a QR reader can see it. That is not a flaw in the generator; it is how Wi-Fi QR codes work. Treat a printed Wi-Fi code exactly like a written-down password.
Choosing the security type
| Setting | When to pick it | Notes |
|---|---|---|
| WPA / WPA2 / WPA3 | Almost all modern routers | Covers WPA2 and most WPA3 networks; check your router label |
| WEP | Very old equipment only | Considered insecure; upgrade the router if you can |
| None | Open networks with no password | Anyone in range can join; use only for public hotspots with a sign-in page |
Step-by-step setup for a guest network
- Sign in to your router's settings and enable a guest network if it offers one. Guest networks keep visitors away from your computers, printers and smart devices.
- Give it a clear name such as Smith-Guest and a long password. Because guests will scan rather than type, the password can be long and random.
- In the QR Code Generator, choose Wi-Fi, enter the network name exactly as the router shows it, including capital letters and spaces, then choose the security type and enter the password.
- Download the code as SVG for printing or PNG for a screen.
- Test with a phone that has never joined the network: scan, join and load a website.
- Print the code with the network name in plain text beside it, so people can join manually if their camera struggles.
Worked example: a holiday rental
A host prints a framed card for the kitchen with the guest network code at 6 cm square, the network name underneath and a line saying "Scan with your phone camera to connect." Between bookings they change the guest password on the router, generate a new code and swap the card. Old guests' phones can no longer join, and no previous card in someone's photo library still works.
For a café, the same approach works on table tents. The code goes on a matte card rather than glossy laminate, which reflects overhead lights and can stop cameras focusing.
When the code scans but the phone cannot connect
- Network name mismatch: names are case-sensitive and spaces count. Copy the name from the router admin page.
- Wrong security type: if the router uses WPA3 only, some older phones cannot join regardless of the QR code. Enable WPA2/WPA3 mixed mode in the router.
- Changed password: the code still contains the old one. Generate a new code after every password change.
- Special characters: semicolons, commas, colons and backslashes in names or passwords need escaping in the QR text. If a code fails with an unusual password, test it with a QR reader to see exactly what was encoded.
- Hidden network: some phones handle hidden networks poorly from QR codes; consider making the guest network visible.
Designing the printed sign
The code is only part of the sign. Add a short heading such as Guest Wi-Fi, a one-line instruction like Point your phone camera at the code to connect, and the network name in plain text so people can join manually if their camera does not respond. Some hosts also print the password in text; that is convenient for laptops without cameras, but it means anyone glancing at the sign can read it, so decide based on where the sign will be displayed.
Print the code at least 3–5 cm square for table cards and larger for wall signs read from a distance. Use black on white, leave a generous blank margin around the code, and choose matte paper or card to avoid glare. Place the sign where people naturally pause, such as a reception desk, kitchen counter or meeting room table, and at a height where a phone can be held steady in front of it.
Security choices for different places
At home, a guest network with its own password and a printed code for visitors is a good balance of convenience and safety. Change the guest password occasionally, especially after hosting large events, and replace the sign each time.
In small businesses such as cafés, salons and clinics, keep the guest network completely separate from the network used for card machines, booking systems and staff computers. Many business routers offer client isolation, which stops guests' devices from seeing each other, and bandwidth limits so one person cannot slow the connection for everyone. Rotate the password on a schedule, for example monthly, and keep a stack of updated signs ready.
For offices, follow your IT team's policy. Some organisations prefer guest access through a sign-in page or vouchers rather than a shared password, in which case a Wi-Fi QR code may not be appropriate at all.
Sharing Wi-Fi without printing
A Wi-Fi QR code also works on a screen. Display the PNG on a tablet at a reception desk, add it to a welcome email for an event, or include it on a digital information page for a holiday rental. Phones can scan codes from screens just as easily as from paper, as long as screen brightness is reasonable and the code is large enough. For people who already have a phone connected, recent phones can also share Wi-Fi with nearby devices directly, but a QR code works across brands and does not require anyone to hand over a phone.
Updating codes after a password change
Every Wi-Fi QR code contains the password at the moment it was created, so changing the password makes every existing code stop working. Plan for this: keep the code design as a template, generate a new code after each change, and replace all printed copies at once. Throw away old signs rather than leaving them in drawers, because a forgotten card with an old code is confusing for guests and, if the old password is reused anywhere, a security risk.
Keep a short note of where signs are displayed, such as the front desk, each meeting room and the guest bedroom, so you replace all of them. For holiday rentals and offices with frequent changes, a single digital sign on a screen is easier to update than many printed cards.
Summary
Set up a separate guest network, enter its name and password exactly in the QR Code Generator, choose the correct security type, and test with a phone that has never joined. Print a clear, high-contrast sign with the network name in text, and replace it whenever the password changes.