How to share your Wi-Fi with a QR code
A Wi-Fi QR code lets anyone join your network by pointing a camera at it, with no typing and no spelling out passwords. Here is what goes inside the code, how to set it up correctly and how to share it without weakening your network.
By the QRmora team at LoboGeek · Updated October 19, 2026
How to make a Wi-Fi QR code in 4 steps
1. Find the exact network name (SSID) and password. They are on the router label or in your provider’s app; match upper and lower case and spaces.
2. Open the QRmora Wi-Fi QR code generator, type the name and password and leave the security type on WPA/WPA2/WPA3, which is right for almost every network today.
3. Scan the code on screen with a phone that is not connected to that network. If the prompt to join appears and it connects, the code is good.
4. Download it as PNG or as a PDF template (table tent, card or sticker), print it with the network name in text next to it and put it where people ask for the password.
What a Wi-Fi QR code contains
A Wi-Fi QR code is a static code: it does not link to a website, it carries the network settings themselves. When a phone reads it, the operating system recognizes the format and offers to join the network. Nothing is looked up online, so the code works even when the network has no internet connection yet.
The text inside follows a de facto standard popularized by the ZXing barcode project and supported by Android and iOS. A typical payload looks like this: WIFI:T:WPA;S:CafeCentral;P:espresso2024;;. Each field is a letter, a colon and a value, and the fields are separated by semicolons. T is the security type, S is the network name (SSID), P is the password and the optional H:true marks a hidden network. Two semicolons close the payload.
Because the password is stored as plain text inside the pattern, anyone who scans the code, photographs it or runs it through a QR reader can see it. That is not a flaw of the format, it is the whole point: the code is a password written in a way phones can read. Treat it with the same care you would give a sticky note with the password on it.
Special characters and escaping
The format uses semicolons, colons and commas as delimiters, so those characters need special handling when they appear in your network name or password. The rule is to put a backslash before each of them, and before backslashes and double quotes as well. A network called Cafe;Bar is written as S:Cafe\;Bar, and a password like pa:ss"word becomes P:pa\:ss\"word.
If a generator skips this step, the phone splits the text in the wrong place: it reads only part of the password, fails to connect and usually shows a generic "unable to join" message that hides the real cause. This is one of the most common reasons a Wi-Fi code that looks fine does not work.
QRmora escapes these characters for you, so you can type the name and password exactly as they appear in your router settings. Spaces, accents and emoji are fine too, but check the exact spelling and capitalization: SSIDs and passwords are case-sensitive, and a trailing space copied by accident counts as a character.
Choosing the right security type
The T field tells the phone how the network is protected, and it must match the router. In practice there are three values: WPA, WEP and nopass.
WPA is the right choice for almost every home and business network today. Phones use it for WPA, WPA2 and WPA3 personal networks: they negotiate the exact protocol with the router once they have the password. In QRmora this option is labeled "WPA/WPA2/WPA3". If you run a WPA3-only network and an older phone cannot join, the issue is that phone's WPA3 support rather than the code; a WPA2/WPA3 mixed mode on the guest network usually solves it.
WEP is an obsolete protocol from the late 1990s that can be broken quickly with freely available tools. Only choose it if an old router really uses it, and treat that as a signal to update the router settings. None (nopass) is for open networks without a password, such as a hotel network that uses a sign-in page in the browser; in that case the P field is left out.
Enterprise networks that ask each person for a username and password (802.1X, common in offices and universities) are not a good fit for a printed code. Use the code for a separate guest network instead.
Use a guest network for the code
The safest way to share Wi-Fi with a printed code is to never print the password of your main network. Most routers made in the last several years can create a separate guest network in a couple of minutes, often under a menu called Guest Wi-Fi or Guest Network.
A guest network keeps visitors away from the devices that matter: your computers, point-of-sale terminal, security cameras, printers and network storage. Many routers also offer client isolation, which stops guests from seeing each other's devices, and bandwidth limits, so one person downloading a large file does not slow down the cash register.
1. Open your router settings (often from its app or an address printed on the router) and create a guest network with its own name, such as "CafeCentral-Guests".
2. Choose WPA2 or WPA3 protection, set a password of at least 12 characters that you have not used anywhere else, and enable client isolation if it is available.
3. Create the QR code with that guest name and password, and keep the main network password off any printed material.
Phone support and how guests join
Recent iPhones and Android phones read Wi-Fi codes straight from the camera app: a banner appears with the network name, and one tap connects. Some Android phones do it from Google Lens or from the QR scanner inside the Wi-Fi settings screen instead of the camera. Older phones may need a scanner app, and the experience varies by brand.
Laptops are a different story. Most of them cannot scan a code, so place the network name and password in plain text next to the code if people will connect computers. It also helps guests whose camera refuses to cooperate, and staff who need to read the details aloud.
Android can also generate a code from a network the phone is already connected to, through the share option in the Wi-Fi settings, and iPhones can offer the password to nearby contacts. Those are handy for one person at a time; a printed code serves everyone who walks in without anyone handing over a phone.
Where and how to print it
Put the code where people naturally look for the password: next to the router, at the front desk, on the reception counter, on table tents, inside the menu, on the back of a room key card or in a frame in a meeting room. At home, a small card on the fridge or in the guest room works well.
Add a short call to action like "Scan to join the Wi-Fi" (QRmora includes a Wi-Fi frame for this) and the network name in readable text, so guests know which network they are joining. A dark code on a light, matte surface scans best; glossy lamination and frames with reflective glass make it harder under ceiling lights.
Codes on a table or a counter are scanned up close, so 3 to 6 cm (1.2 to 2.4 in) is plenty; a sign on a wall needs to be bigger. QRmora checks every code before download and suggests a minimum print size, and its printable PDF templates include table tents, cards and stickers. Print one copy first and try it with an iPhone and an Android phone before printing a batch.
Changing the password means reprinting
Since the password lives inside the pattern, changing it on the router breaks every printed code at once. There is no way to update a static Wi-Fi code remotely, and a dynamic QR code does not help here, because phones only join networks from codes that contain the network settings directly.
Plan for it: keep the original design file, print codes on cards or stickers that are cheap to replace rather than on permanent signage, and note in your calendar when you change the password so all codes get replaced the same day. Businesses that rotate the guest password every few months often keep a small stack of fresh table cards ready.
Rotating the guest password from time to time is a good habit, especially after an employee leaves or when you notice unknown devices on the network. It is also the only way to stop people who saved a photo of the code from coming back.
Security and privacy checklist
Before you print, make sure the code holds the guest network and not your main one, that the password is long and unique, and that the router admin password is not the default one printed on its label. Anyone on the network can try to open the router admin page, so that password matters as much as the Wi-Fi password.
Do not paste your Wi-Fi password into generators that send it to a server. QRmora creates the code entirely in your browser: the network name and password are never uploaded and never saved, and only your visual preferences are remembered on your device.
Finally, check printed codes from time to time. In public places someone could cover yours with a sticker that points elsewhere. Scan it now and then and confirm it still shows your network name.