How to Make a Wi-Fi QR Code

Every host knows the ritual: a guest arrives, asks for the Wi-Fi password, and you spell out a string of mixed letters, numbers, and symbols while they mistype it twice. A Wi-Fi QR code ends that ritual. The guest points their phone camera at a printed code, taps "join", and they are on the network — no spelling, no typing, no reading the password aloud in front of a room full of people. This guide shows how to make one in under a minute, where to put it, and the security trade-offs worth knowing before you print it.

How a Wi-Fi QR code works

A Wi-Fi QR code is not a link to a website. It encodes the network details directly in the pattern, in a standard format phones understand: WIFI:S:NetworkName;T:WPA;P:yourpassword;H:false;; — the network name (SSID), the security type, and the password. When a phone camera reads it, the phone offers to join that network immediately. Nothing is uploaded anywhere, and the code works without an internet connection, because the phone already has everything it needs the moment it scans.

One consequence follows from that design: anyone who can scan the code can join your network, and anyone who photographs it can read the password out of it with a free decoder. A Wi-Fi QR code is a convenience tool, not a security tool. Treat it like telling someone the password — because that is exactly what it is, in a tidier package.

Step by step: make the code

  1. Open the QR generator and choose the WiFi tab.
  2. Type your network name exactly as it appears on your router — Wi-Fi names are case-sensitive, and "MyWifi" is not the same network as "MyWiFi". Copy it from your router's label or your phone's Wi-Fi settings rather than typing from memory.
  3. Pick the security type: WPA/WPA2 for almost every modern home and business network, WEP only for very old equipment, or None for a genuinely open network.
  4. Enter the password exactly, including capitals and symbols. If your password contains a semicolon, comma, colon, backslash, or double quote, the format escapes those characters — the generator handles this for you, but double-check the result by scanning it yourself before printing.
  5. Choose error correction M for a clean print, or H if the code will sit somewhere it can get dirty or damaged, like a café table.
  6. Download the PNG for screens or the SVG for print, then test it (see below) before you print or frame it.

Test before you print

Testing a Wi-Fi code is slightly different from testing a URL code, because a successful scan changes your phone's network state. The safe way: forget the network on your test phone first (or use a guest's phone, or a second device), then scan the code and confirm it joins without asking you to type anything. If it asks for the password manually, something is wrong — usually a mistyped network name, a wrong security type, or a special character in the password that was not escaped. Fix the field and retest; do not print a code that has only been "eyeballed".

Where to put it: home, café, office, rental

At home

A small framed card in the living room or hallway covers almost every guest. It beats the alternatives — shouting the password across the room, or a sticky note on the router that visitors have to crouch to read. If your router has a guest network, point the code at the guest network, not your main one (see the security section below).

Cafés, salons and waiting rooms

Table tents and counter cards are the natural spots, but remember the durability problem: table cards get coffee on them. Print on card stock or laminate the card, use error correction H, and keep a spare behind the counter. Some cafés rotate the password monthly and reprint the card — cheap insurance against a code photographed months ago still granting access.

Offices

Meeting rooms are the main use: a code on the room's display or door card lets visitors join without interrupting the meeting to ask. For offices, the guest network is not optional — it is the whole point. Visitors should never be handed the code for the network that carries internal systems and shared drives.

Airbnb and holiday rentals

A Wi-Fi code in the welcome book is one of the highest-rated touches a host can add, because guests ask for Wi-Fi within minutes of arriving. Pair the code with the network name and password written out underneath, so guests with older phones that cannot scan Wi-Fi codes still have a fallback. And change the password — and reprint the code — between long-term guests if your router supports a separate guest network for the rental.

Security: what to get right

Use a guest network whenever you can

Most modern routers offer a guest network in a few taps. Guests on it get internet access but cannot see your computers, printers, smart-home devices, or shared files. If your router supports it, there is no reason to hand visitors your main network at all — the guest code is the one to print and frame.

Know who can read the password from the code

Any QR decoder can extract the password from a Wi-Fi code, so a printed code in a public place is effectively a public password. That is acceptable for a café's guest network and unacceptable for a network holding sensitive work. Match the network's importance to the code's exposure: public place, guest network only.

Hidden networks need a flag

If your network name is hidden (not broadcast), the code needs the hidden-network flag set, or phones will not find the network after scanning. Most generators include this as a checkbox. Hidden networks add very little real security — anyone with basic tools can see them — so hiding a network is not a substitute for a strong password and a guest network.

Change it when it leaks

A code photographed at a party, posted in a social-media photo of your living room, or left in a rental after checkout is a password that has leaked. Rotate the password and reprint the code when that happens. With a guest network, rotation is painless because your own devices are on the main network and unaffected.

Rule of thumb: print the guest network's code, never the main network's. The code is only as private as the wall it hangs on.

When the code will not connect

SymptomMost likely causeFix
Phone scans but asks for the passwordWrong security type, or a mistyped passwordRe-check both against the router label and regenerate
Phone offers to join the wrong networkNetwork name mistyped or wrong caseCopy the SSID exactly, including capitals and spaces
Nothing happens on scanOld phone or camera app without Wi-Fi code supportUse a QR scanner app, or fall back to the written password
Code scans in the shop but not at homePrint too small, glossy reflection, or damaged cardPrint larger, on matte stock, with error correction H
Joins, then drops immediatelyRouter's device limit or MAC filtering onCheck the router's connected-device list and filters

One phone-specific note: some older Android phones and older iPhones handle Wi-Fi codes through a scanner app rather than the built-in camera. If a guest's camera does nothing with the code, that is the most common explanation, and the written password underneath the code is the fallback that saves the moment.

Frequently asked questions

Does a Wi-Fi QR code reveal my password to anyone who scans it?

Yes — that is how it works. The password is encoded in the code, and any decoder can read it. Only print codes for networks you are comfortable sharing, ideally a guest network.

Can I make a code for a network with no password?

Yes, with the security type set to None. Think twice before doing this for anything but a genuinely public hotspot: an open network has no encryption, so traffic on it can be observed by others nearby.

Does the code expire?

No. A Wi-Fi code works as long as the network name and password stay the same. Change either one on the router and the printed code stops working until you regenerate it.

Can one code cover both 2.4 GHz and 5 GHz bands?

Usually yes, because both bands normally share one network name. If your router broadcasts separate names for the two bands, you need one code per band — or better, merge them under a single name in the router settings and use one code.

Is there a limit to how long the password can be?

Practically, no: Wi-Fi passwords top out at 63 characters, and a code handles that easily. Very long passwords do make the pattern denser, so print slightly larger if your password is long.

Do guests need an app to scan it?

On modern phones, no — the built-in camera recognises Wi-Fi codes and offers to join. Older phones may need a free QR scanner app, which is why the written password underneath remains a useful fallback.

Make your free Wi-Fi QR code →