
How to Make a WiFi QR Code (Home, Rental, Business) 2026
Last updated Dec 6, 2026
On this page
- The short version
- What a WiFi QR code holds
- How to make a WiFi QR code with the free generator
- How phones share and join a network from a code
- How big to print a WiFi QR code
- Where WiFi QR codes do their best work
- The security question
- Why a WiFi code scans but will not connect
- WPA3 and the security type menu
- Static only: what changing the password means
- Common mistakes with WiFi QR codes
- Sources
- Common questions about WiFi QR codes
To make a WiFi QR code, open the WiFi QR code generator, type the network name exactly as the router broadcasts it, type the password, pick the security type (WPA/WPA2 for almost every home and business network), and download the PNG, SVG or PDF. The code holds the name and password in a short text format that phone cameras read; a scan offers to join the network, with nothing to type.
Everything below is read from the generator's own code and from Apple's, Google's and the ZXing project's documentation, fetched and checked on December 6, 2026. Where this page gives a size, it was computed with the encoder the generator uses. No claim about a phone model or an operating system version is made unless the page that states it is linked.
The short version
The code holds the network name and the password. The generator writes one line, WIFI:T:WPA;S:network name;P:password;;, and the phone reads it and offers to join. Nothing is fetched from the internet, so the code works before the phone is online.
Pick the security type that matches the router. The generator offers WPA/WPA2, WEP and None. A code with the wrong type scans fine and then fails to join, which is a confusing failure to diagnose.
A WiFi code cannot be edited later. Change the password and the printed code is dead; a guest network with a stable password keeps one card working. Static QR codes are unlimited and free with no account; every free account includes 10 dynamic QR codes, free for life, with scan analytics, no credit card required and no watermarks, and WiFi is not one of the dynamic types because the password has to live in the squares.
Treat the printed code like the password written on paper. Anyone who scans it can join. Put a guest network behind it, never the network a register or a camera uses.
What a WiFi QR code holds
A WiFi QR code holds a single line of text that names the network and gives its password, and the phone's camera turns that line into a join prompt. The generator here writes exactly this, read from its code on December 6, 2026: WIFI:T:WPA;S:Northwind Cafe Guest;P:freshbread-every-day;; for a WPA/WPA2 network, WIFI:T:WEP;S:...;P:...;; for WEP, and WIFI:T:nopass;S:Cafe Guest;P:;; for an open network. A backslash, a semicolon, a comma, a colon or a double quote inside the name or the password is written with a backslash in front of it, so punctuation in a password does not break the fields apart.
The format is not an IETF standard like the mailto link in an email QR code; it is a convention the reader libraries and the phone makers adopted. The open source ZXing reader project documents it under the heading "Wi-Fi Network config (Android, iOS 11+)" and introduces it with the line "We propose a syntax like "MECARD" for specifying Wi-Fi configuration." Google's Pixel help page on scanning describes the result from the camera's side: "A QR code is a square-shaped barcode that can quickly open a website, show you a restaurant menu, or even connect you to a Wi-Fi network." Apple's iPhone user guide describes the same code from the sharing side, in the Passwords app: "You can also go to the Wi-Fi network and tap Show Network QR Code, which friends and family can scan to join the network."
Because the name and the password are in the squares, the code works with the phone offline, and it also means the code is as public as the paper it is printed on. The online QR scanner shows what any WiFi code holds: a card labeled WiFi network with the network name, the password and the security type, and the note that a phone camera can join the network straight from the code while a computer copies the password and joins from its WiFi menu.
How to make a WiFi QR code with the free generator
Open the WiFi page, type the name and password exactly, choose the security type, download, and read the file back before printing. The steps describe what the page does, read from its code on December 6, 2026.
1. Open the WiFi generator page. The free QR code generator on the homepage lists WiFi among its twelve types, and the WiFi QR code page opens with that type selected. No account is needed for a static code, and the download has no watermark.
2. Type the network name exactly as the router broadcasts it. Capital letters, spaces and punctuation all count. The name is on the router's label, in the router's app or settings page, or in the WiFi list of a phone that is already connected.
3. Type the password and pick the security type. The security menu offers WPA/WPA2, WEP and None. Pick WPA/WPA2 for any password protected network that is not WEP; WPA2 and WPA3 Personal networks both take this option, see the WPA3 note below. Choose None only for an open network that has no password at all.
4. Pick a style and download. The strip above the preview offers a plain code, the WiFi icon in the center or an uploaded logo. Download SVG or Download PDF for print and Download PNG for a screen; the guide to QR code file formats for print and screen measured all three files.
5. Read the file back, then test the join. Upload the download to the browser based QR scanner and check that the WiFi network card shows the right name, password and security type. Then print one copy, scan it with a phone that has never joined the network, and confirm the phone actually connects, not only that the prompt appears; the guide to testing a QR code before printing gives the full routine.
How phones share and join a network from a code
Both phone makers document joining a WiFi network from a QR code, and both offer a way to show one from a phone that is already connected. Apple's iPhone user guide puts the share code in the Passwords app under the network's entry (the Show Network QR Code sentence quoted above). Google's Pixel help describes the same thing in Settings: "Make sure that Wi-Fi is on and you're connected to the network you want to share." and then "To share the Wi-Fi network, use the QR code."
Those built-in codes are made for a phone held up to another phone. Apple's nearby password sharing, the one without a code, has conditions a guest rarely meets: "To share your Wi-Fi network password devices must be within Bluetooth and Wi-Fi range, not using Personal Hotspot, and added to each other's contacts." A printed code has none of those conditions; it works for the next guest and the one after without the host being present, which is why a rental, a waiting room or a cafe prints one once. The guide to making a QR code on a phone with no app covers doing the whole job from the phone.
How big to print a WiFi QR code
A WiFi code for a typical name and password is 37 to 41 squares per side and prints down to about 15 or 16 mm (0.6 in) with its margin; a long guest password pushes it to 57 squares and 21 mm (0.84 in). The floors come from Denso Wave's figure of four printer dots per square at 300 dpi, 0.33 mm per square, plus the margin the specification requires: "QR Code requires a four-module wide margin at all sides of a symbol." The strings were encoded with the qrcode-generator package at level H, the level the generator uses.
| Network name and password | Characters in the code | Squares per side | Smallest print at 300 dpi |
|---|---|---|---|
| Open network, 10 character name, no password | 31 | 33 | 13.5 mm (0.53 in) |
| 8 character name, 8 character password | 34 | 33 | 13.5 mm (0.53 in) |
| 12 character name, 12 character password | 42 | 37 | 14.9 mm (0.58 in) |
| 15 character name, 16 character password (a router label) | 49 | 41 | 16.2 mm (0.64 in) |
| 20 character name, 20 character password (a guest network) | 58 | 41 | 16.2 mm (0.64 in) |
| 32 character name, 63 character password | 113 | 57 | 21.4 mm (0.84 in) |
A floor is the smallest clean print, not the size to use; a table card read from a seat or a sign read across a room needs more, and the guide to QR code size by reading distance gives the width per placement. The print floor table for every QR code version lists the floor for every square count.
Where WiFi QR codes do their best work
Put a WiFi code wherever the same password is handed to a new person over and over.
| Place | Where the code goes | Which network |
|---|---|---|
| Home | A small card by the router or inside a kitchen cabinet door | The guest network if the router has one, otherwise the main network |
| Short-term rental | The welcome sheet and a laminated card by the door | A guest network with a password that does not change between stays |
| Cafe, salon, waiting room | A table card or a counter sign, as the restaurant menu QR code guide lays out | The customer network only, never the one the register or the cameras use |
| Event or classroom | The handout or the check-in desk, next to the schedule code from the events QR code guide | A network set up for the day, retired afterward |
The reason the password gets asked so often is plain from Pew Research Center's 2026 fact sheets: among US adults, "About nine-in-ten (91%) own a smartphone" and "78% of U.S. adults now say they subscribe to a broadband internet service at home." Nearly every visitor carries the device and expects the connection.
The security question
A WiFi QR code is exactly as secure as the password written on a card: anyone who scans it can join that network, and the scanner page or any reader app will show them the password in plain text. For a home that is the same trust as reading the password aloud. For a business it means the code must carry the guest network, not the network behind the point of sale, the cameras or the office printer. Many routers offer a separate guest network in their settings or app; set it up with its own name and password and make the code from that.
The other risk is the one every printed code shares: a sticker with a different code placed over yours. A WiFi code is a poor target for that trick, because joining a network is not the same as paying or logging in, but a swapped code could point guests at a look-alike network. Check the printed code against the file now and then, and read the guide to QR code scams for what a swapped code looks like.
Why a WiFi code scans but will not connect
When the phone reads the code, shows the network name and then fails to join, the code is fine and the credentials are not. Work through these in order.
| What happened | Likely cause | Fix |
|---|---|---|
| Prompt appears, join fails | Wrong security type in the code, or a typo in the password | Remake the code with the type the router uses; copy the password from the router's settings, not from memory |
| Prompt appears, "network not found" | The name in the code does not match the broadcast name (a space, a capital, a 5G suffix) | Copy the name from a connected phone's WiFi list |
| Nothing happens on scan | The network is hidden, or the camera's code scanning is off | The generator does not write the hidden network flag; Apple's guide says a hidden network is joined by hand ("Join a hidden network: Tap Other, then enter the name of the network, security type, and password."), so turn broadcasting on or print the details |
| Joins, then a login page opens | A captive portal (hotel, airport, office guest WiFi) | A code cannot complete that login; encode the open network with the None type so the phone joins, and let the portal page follow |
| Worked for months, now fails | The password was changed | Reprint; a WiFi code cannot be edited after printing |
| Some devices join, others do not | The router broadcasts two names (one per band) and the code names one | Make a code per name, or merge the bands under one name in the router settings if it offers that |
A code that will not read at all, rather than one that reads and fails to join, is a print problem; the fixes for a QR code that will not read, by symptom cover size, margin and contrast.
WPA3 and the security type menu
The generator writes WPA for the WPA/WPA2 option and has no separate WPA3 choice. The Wi-Fi Alliance states that "WPA3 is mandatory for Wi-Fi CERTIFIED devices", so new routers support it, and routers commonly run it alongside WPA2 for older devices. No WPA3-only network was tested for this page, so the honest instruction is: pick WPA/WPA2, test the join with one phone before printing a stack of cards, and if a WPA3-only network refuses the code, enable the mixed WPA2 and WPA3 mode in the router or print the password beside the code.
Static only: what changing the password means
A WiFi code is static by nature, because the phone joins from the name and password inside the squares; there is no link to redirect. The five dynamic types on this site are URL, WhatsApp, Facebook, YouTube and Spotify, where a short link can be repointed, as the page on static versus dynamic QR codes explains. Change the WiFi password and every printed code stops working the same minute; the guide to whether QR codes expire walks through what actually stops a printed code.
Two habits keep one card alive for years: a guest network whose password is set once and left alone, and a printed password under the code for the phone that cannot scan. If a venue rotates passwords on purpose, the guide to changing where a printed QR code points shows the one workaround, a dynamic URL code to a page that shows the current WiFi details, at the cost of the phone being online first.
Common mistakes with WiFi QR codes
Typing the name from memory. Network names are case-sensitive and often carry a suffix. Copy it from a connected device.
Choosing None for a network with a password. The phone joins nothing. None is for open networks only.
Printing the main network at a business. Make a guest network first, then the code.
Trusting the prompt. A scan test that shows the join prompt proves the code; only an actual join proves the credentials. Test with a phone that has never joined the network.
Expecting an edit. The password is in the squares. New password, new print.
Sources
- Apple Support: Find and share your Wi-Fi password on iPhone (iPhone User Guide)
- Google Pixel Help: Connect to Wi-Fi networks on your Pixel phone (sharing a network with a QR code)
- Google Pixel Help: Scan QR codes with your Pixel phone
- ZXing project: Barcode Contents (Wi-Fi network config)
- Wi-Fi Alliance: Security (WPA3)
- Denso Wave: QR Code area (the four module margin)
- Pew Research Center: Americans' Use of Mobile Devices in 2026
- Pew Research Center: Americans' Use of Internet, Broadband in 2026
Common questions about WiFi QR codes
Does a WiFi QR code work on both iPhone and Android?▾
Both makers document it. Google's Pixel help says a QR code can "even connect you to a Wi-Fi network", and Apple's iPhone user guide says a network's QR code is one that "friends and family can scan to join the network". The code from this generator uses the same WIFI: format those features read. No phone model or version was tested for this page, so test the printed card with one phone before relying on it.
Is it safe to put my WiFi password in a QR code?▾
It carries the same risk as the password written on a card: anyone who scans the code can join the network and can read the password with a scanner app. At home that is the same trust as reading the password aloud. At a business, make the code from the guest network and never from the network the register, the cameras or the office computers use.
Does a WiFi QR code work with a WPA3 network?▾
The generator writes the WPA/WPA2 type and has no WPA3 option. Routers commonly run WPA3 alongside WPA2, and the Wi-Fi Alliance states that WPA3 is mandatory for Wi-Fi CERTIFIED devices. No WPA3-only network was tested for this page: pick WPA/WPA2, test the join with one phone before printing, and if a WPA3-only network refuses the code, enable the router's mixed mode or print the password beside the code.
What happens if I change my WiFi password later?▾
The printed code stops working the moment the password changes, because the old password is inside the squares. Reprint it with the new password. A WiFi code cannot be made dynamic, since a phone only joins from a code that holds the name and password itself; a guest network with a stable password means the card is printed once.
Can I make a WiFi QR code without the router's admin settings?▾
Yes. The generator needs only the network name and the password, exactly as they appear on the router's label or in the WiFi settings of a phone that is already connected, plus the security type. No router login is needed to make the code; it is needed only to set up a guest network or to change a password.
Why does the WiFi QR code scan but not connect?▾
Because the credentials in the code do not match the network: a wrong security type, a typo in the password, a network name that differs by a space or a capital, a hidden network, or a password that changed after printing. The code itself is fine when the phone shows the network name. Read the file on the scanner page to see exactly what it holds, then compare it with the router's settings.
Free, no account, no watermark. Works for any home, business or rental network.
Make your WiFi QR code nowPublished by
QRCodePrime Team
Guides on making, printing and scanning QR codes
Published by the team behind the free QRCodePrime generator and scanner. The example codes in our illustrations are real codes made with the generator, numbers are either computed by us or quoted from a source we name, and the sources are linked at the end of each article. Found a mistake? Email hello@qrcodeprime.com and we will fix it.