How to Create a QR Code for Your WiFi — Step by Step
Guests ask for the WiFi password. You tell them. They mistype it twice. You spell it out letter by letter. Someone asks again. This small, repeated annoyance has an extremely easy fix — a WiFi QR code they can scan once and connect instantly, no typing at all. Here's exactly how to make one in under two minutes, completely free.
My WiFi password is something like Sunshine@2019#Home. Mixed case, a symbol, a number in the middle, another symbol at the end. I set it up properly years ago following advice about strong passwords and then immediately created a problem for myself: every single person who visits and asks for the WiFi has to be told this password out loud, letter by letter, case by case, and still gets it wrong at least once.
I made a WiFi QR code about two years ago and stuck it near the entrance on a small printed card. Since then, not one guest has asked me for the WiFi password. They see the card, point their camera at it, their phone connects, and we move on with our lives. The whole thing took me about four minutes the first time — including printing — and I haven't thought about it since.
This guide walks through the whole process: what a WiFi QR code actually contains, how to find your password if you're not sure what it is, the specific steps to generate the code, how to test it before printing, and where to put it for maximum usefulness. There are also a few things worth knowing about security — because putting your WiFi password into a code that sits on your wall does raise a reasonable question or two.
How a WiFi QR Code Actually Works
A WiFi QR code is not magic — it's a standard QR code that encodes your network's connection details in a specific text format that phones know how to read. When someone's camera scans it, the phone recognises the WiFi format and offers to connect automatically. No URL, no app needed.
The encoded format looks like this internally:
You never need to write this yourself — the QR generator takes care of formatting it correctly. But understanding what's inside the code is useful for two reasons. First, it confirms that your WiFi password is stored inside the QR pattern — which is relevant to the security question we'll address later. Second, it explains why you can't just point a phone at your router and have it magically connect — there's specific information that needs to be encoded, and the code is what carries it.
Modern iPhones (iOS 11 and later) and Android phones (Android 10 and later) can scan WiFi QR codes using the built-in camera app, no third-party scanner required. Older devices may need a dedicated QR scanner app, but these are a very small minority in 2026.
What You Need Before You Start
Three things — none of which require any special technical knowledge:
Your network name (SSID). This is the name that appears in the list when someone looks for WiFi networks. On your phone's WiFi settings, it's the one currently connected. It might be something your internet provider set (like "Airtel_Home_2.4G" or "JioFiber_6A2B") or something you renamed yourself.
Your WiFi password. The exact password, including correct capitalisation and any symbols. If you set this up yourself, you probably remember it. If your router is using the factory default, it's usually printed on a sticker on the back or bottom of the router. If you've forgotten it entirely, the next section covers how to find it.
Your security type. Almost every home and office router in 2026 uses WPA or WPA2. If yours was set up in the last ten years by any standard internet provider, WPA is almost certainly correct. WEP is an older, rarely used standard. Open means no password — which shouldn't apply to your home network.
How to Find Your WiFi Password If You Don't Know It
This stops more people than the actual QR code creation. The password you've been connected to for two years on every device is sitting somewhere accessible — you just haven't needed to look for it before.
📱 On Android (most phones)
Go to Settings → WiFi → tap and hold your current network → Share or QR Code. Many Android phones (especially Samsung, Xiaomi, OnePlus) will show a QR code for your current network directly — you could photograph that and use it without going through a generator at all. Under the QR code it sometimes shows the password in plain text.
🍎 On iPhone
iOS 16 and later: Settings → WiFi → tap the (i) next to your network → Password → tap to reveal. Earlier iOS: you'll need to check your router's sticker or log into the router admin panel. iPhone doesn't display saved WiFi passwords in older iOS versions.
💻 On Windows
Control Panel → Network and Sharing Center → click your network name → Wireless Properties → Security tab → check "Show characters." This reveals the password for any network currently saved on the computer.
🖥️ On Mac
macOS Ventura and later: System Settings → WiFi → click Details next to your network → Password field. Earlier macOS: open Keychain Access, search for your network name, double-click it, tick "Show password" and authenticate.
If none of these work — perhaps you've never connected this device, or you changed the password and forgot it — the definitive source is your router itself. Every router has a default admin password printed on a sticker (usually on the back or base). Log into the router admin panel at 192.168.1.1 or 192.168.0.1 in a browser while connected to the network, use the admin credentials from the sticker, and look for the WiFi settings section. The password will be there, either visible or revealable with a "show" button.
Step by Step: Creating Your WiFi QR Code
Once you have your network name, password, and security type ready, the actual generation takes about ninety seconds. Here's the exact process using the 21K Tools QR generator, which handles WiFi QR codes specifically — you don't need to write the encoded format yourself, just fill in the fields.
- Go to 21k.tools/qrcodeandscanner Open this on any device — phone, tablet, or computer. The tool works in your browser with no app download and no account needed. Everything runs locally, so your WiFi password never gets sent to any server.
On a phone, this is easier to do while sitting next to your router so you can check the sticker if needed.
- Select "WiFi" as the QR code type The generator offers several QR code types — URL, text, email, phone, WiFi, and others. Select WiFi specifically. This ensures the code is formatted in the standard WiFi connection format that phones recognise and connect from automatically.
If you accidentally use the plain "Text" type and type the WiFi string manually, phones may not recognise it as a WiFi connection code.
- Enter your network name (SSID) exactly Type your WiFi network name precisely as it appears in your device's network list. Capitalisation matters — "HomeNetwork" and "homenetwork" are treated as different networks. If your network name has spaces, include them exactly.
Tip: copy-paste the name directly from your phone's WiFi settings to avoid any typos.
- Enter your password exactly Type the password with correct capitalisation, numbers, and symbols. This is the most common mistake people make — a typo in the password means the QR code will produce a "wrong password" error when scanned. Double-check before generating.
Most generators have a "show password" toggle. Use it to verify what you've entered before proceeding.
- Select your security type For almost every home and office network set up in the last decade, this is WPA/WPA2. Select WPA. Only choose WEP if you know for certain your router is using that older standard (rare). Select "None" only for genuinely open networks with no password.
- Generate and download the QR code Hit generate. Your QR code appears immediately. Download it as a PNG — this gives you a high-resolution image suitable for printing at any size. Save it somewhere you'll find it easily, like your desktop or a WhatsApp "Saved Messages" chat.
🔒 Why the 21K Tools Generator Is Good for WiFi Passwords Specifically
When you type your WiFi password into an online tool, you're trusting that the tool isn't logging it server-side. The 21K Tools QR generator processes everything locally in your browser — your network name and password are never transmitted to any server. They stay on your device throughout the entire process. You can verify this by opening the browser's network tab while generating — no outbound requests are made after the page loads. For something as sensitive as a home or office WiFi password, this matters.
Testing It Before You Print It
This step is easy to skip and worth not skipping. Print a wrong QR code and you'll either need to reprint it or end up with something stuck on your wall that silently fails for every guest.
Before printing, test the code on your phone — but first disconnect from your WiFi and forget the network in your phone's settings. This is the important part: a phone that's already connected to a network won't prompt you to connect even if the QR code is working perfectly. You need to be in a state where the phone would actually need to connect fresh.
Open your camera, point it at the QR code on your screen, and see what happens. On iPhone, a notification banner should appear at the top offering to join the network. On Android, a similar prompt appears or the phone connects automatically depending on the version. If it connects successfully — it works. Print it.
If it doesn't work, the most likely cause is a typo in the password. Go back to the generator, check every character carefully — especially distinguishing between 0 (zero) and O (letter O), 1 (one) and l (lowercase L), and whether any letters should be capitalised. The password field is case-sensitive.
🔤 The Typo Culprits — Check These Specifically
- Uppercase vs lowercase — passwords are case-sensitive, every character matters
- Zero (0) vs letter O — these look identical in many fonts
- Number 1 vs lowercase letter l vs uppercase I — all look similar in some fonts
- Symbols — an @ vs a # vs a ! — easy to misread on a router sticker in small print
- Spaces — some passwords have a space in them; easy to miss when reading from a sticker
Printing and Displaying It Well
Once tested and working, the question is how to display it. A few considerations that make it actually useful rather than just technically done.
Size matters for scanning
The QR code needs to be large enough that a phone camera can focus on and read it from a comfortable distance. The minimum practical size for a printed WiFi QR code that someone scans at arm's length is about 4×4 cm. For something mounted on a wall or placed on a table where people will scan from 30–50 cm away, 6×8 cm or larger is much more comfortable. When printing, set the image to at least 300 DPI and the code to at least 5 cm in its smallest dimension — this ensures crisp edges and reliable scanning.
Add a label
Print "Scan for WiFi" or "WiFi" in text above or below the code. Without any label, people who aren't familiar with WiFi QR codes might scan it out of curiosity rather than intentionally, or might not realise what it's for. A simple text label removes any ambiguity.
Where to put it
The best location is somewhere guests naturally look or arrive — near the entrance, on the dining table, at the reception desk if it's an office. Frame it in a small photo frame, laminate it, or print it on a tent card that stands up on its own. A laminated or framed QR code also protects it from being peeled off or replaced — which is worth considering if this is in a commercial space.
The small printed card on a table or near a socket
The most effective placement I've seen consistently — in homes and small offices — is a small laminated card placed near the main seating area, or next to the power socket where most guests charge their phones. The logic is simple: people reach for the charger when they arrive, and that's exactly when they also want to connect to WiFi. Having the QR code in that same spot means they scan it the moment the thought occurs to them, without needing to ask anyone.
For Airbnb hosts and guest houses, a framed WiFi QR code on the bedside table or on the welcome notice has become the standard. Guests appreciate not having to dig through a paper folder for a password they'll then struggle to type correctly while tired from travel.
✓ Near the charger socket is often the best spot in a homeWhere a WiFi QR Code Is Genuinely Useful
Home with frequent guests
Family visits, friends coming over, the delivery person waiting. One card near the door handles all of it without you having to repeat the password every time.
Café or restaurant
Display on tables or at the counter. Saves staff from answering the same question dozens of times a day and eliminates the awkwardness of a handwritten slip.
Office meeting rooms
Visitors and clients connecting to guest WiFi during meetings. Print one for each meeting room. Nobody has to interrupt to ask the IT helpdesk password.
Airbnb / guest accommodation
Standard practice now. A framed card in the room means guests connect instantly without emailing to ask for the password they missed in the welcome message.
Events and celebrations
Weddings, birthday parties, corporate events. Print a few and place them on tables. Guests who want to share photos or livestream can connect without hunting down an organiser.
Waiting rooms and clinics
Patients waiting for appointments can connect to the public WiFi without bothering the reception desk. One sign handles it for the whole waiting area.
Is It Safe to Have Your WiFi Password in a QR Code?
This is the question worth thinking about before printing, rather than after. The honest answer is: it depends on where you display it and what network it's for.
For a home WiFi QR code displayed inside your home
The security situation is essentially unchanged from any other method of sharing your password. Anyone who can see the code can scan it and connect — which is the same as anyone who can see a written-down password using it. If you're comfortable with your guests connecting, a QR code is no different in terms of access control. The code doesn't give anyone administrative access to your router, and it doesn't expose the password in a format more dangerous than the password itself already is.
For a business with a public WiFi QR code on display
The more important consideration for businesses is that the QR code for your public WiFi should point to your guest network, not your primary business network. Most routers allow you to create a separate guest network — a separate SSID with its own password that has access to the internet but is isolated from your business devices, printers, and internal servers. Put the guest network credentials in the QR code. Keep your primary network credentials private and off any display.
The QR code itself doesn't add vulnerability
Some people worry that having the password encoded in a QR code is somehow more exposed than having it written down or typed. It isn't — the password is stored in the QR pattern in plain text (unencrypted), which is the same as writing it on a piece of paper. Anyone who can photograph or closely examine the code can potentially decode it with a QR scanner app. This is not a new risk — it's simply the same risk as any other method of sharing a password, in a different visual format. The practical protection is the same as for any shared password: control who can physically see or photograph the code.
✅ Best Practice: Guest Network + QR Code
Log into your router admin panel and enable the guest network feature (most modern routers from Airtel, Jio, and others have this). Set a separate password for the guest network. Generate your QR code using the guest network credentials. This means guests — and anyone who scans your code — connect to an internet-only segment of your network that can't see your computers, NAS drives, smart home devices, or other network resources. It's the responsible approach for any commercial display, and genuinely good practice for home use too.
Frequently Asked Questions
Yes. The QR code encodes the specific password you entered when you created it. If you change your router's WiFi password, the QR code still points to the old password, which no longer works. You'd need to generate a new QR code with the updated password and replace the printed one. This is one reason to think twice before changing your WiFi password frequently — if you have a WiFi QR code displayed, you're committing to reprinting it each time the password changes. One approach is to set a stable, strong password specifically for your guest network (which you don't need to rotate regularly) and point the QR code at that.
On iPhones running iOS 11 or later and Android phones running Android 10 or later, the built-in camera app reads WiFi QR codes natively — no additional app required. This covers the overwhelming majority of phones in use today. For older devices, a free QR scanner app (most have this built into the camera in 2026) can scan the code, though the experience may require one additional tap to connect. Practically speaking, in 2026 you're unlikely to encounter a guest whose phone doesn't handle WiFi QR codes through the built-in camera.
Yes — QR codes have built-in error correction that allows up to 30% of the pattern to be obscured while still scanning correctly. This is why you often see logos embedded in the centre of branded QR codes. For a WiFi code, adding a small WiFi symbol or your business logo in the centre is technically fine as long as the logo doesn't cover too much of the pattern. The safe rule is to keep any added design element within the centre 20–25% of the code area, and always test the customised code on multiple devices before printing. If it scans reliably after adding the design, it's good to print.
Generally yes, but special characters in the SSID or password can occasionally cause issues depending on how the QR generator handles encoding. Characters like spaces, commas, semicolons, and backslashes sometimes need to be escaped in the WiFi QR format. A good generator handles this automatically. If your code fails to connect despite correct credentials, try regenerating it with a generator that explicitly handles special characters, or temporarily connect to the router admin panel and set a simpler temporary test password to isolate whether the special character is causing the issue.
Only if they have different network names (SSIDs). Many modern routers use the same name for both bands and automatically assign devices to whichever frequency is appropriate. If yours does this, one QR code works for both. If your router broadcasts them as separate networks — "HomeWifi" and "HomeWifi_5G" for example — and you want guests to connect to a specific one, make two QR codes labelled accordingly. For most guests, the 2.4GHz network is fine since it has broader coverage, while 5GHz is faster but only at closer range. One code pointing to the combined or 2.4GHz network is usually sufficient.
Two Minutes Now, No More Password Spelling
A WiFi QR code is one of those small things that has a disproportionately good return on the time it takes to set up. Two minutes of generation and printing, and you've permanently removed a small but genuinely irritating friction from every guest interaction in your home or business. Nobody asks for the password. Nobody mistype it. Nobody asks you to spell it again.
Generate yours at 21k.tools/qrcodeandscanner — select WiFi as the type, fill in your network name and password, download the PNG, and print. Your WiFi password never leaves your device during the process. Test it on your phone before printing, and you're done.
Comments (0)
Leave a Comment
No comments yet. Be the first to share your thoughts!