Stop giving out long, complicated Wi-Fi passwords. Learn how to generate a simple Wi-Fi QR code that lets your guests or customers connect instantly.
Stop spelling out long passwords. A Wi‑Fi QR code lets guests connect instantly—open the camera, scan, and tap Join. This guide shows exactly how to create, test, print, and securely share a Wi‑Fi QR code that works on iPhone and Android in under two minutes.
Last updated: July 2026
Author: [Your Name], Senior Technical Writer & Google Search Quality Expert
Experience: 12+ years documenting network setup, QR standards, and mobile UX; tested across iOS, Android, and common routers
Reading time: ~12–15 minutes
Example Wi‑Fi QR payload:
WIFI:T:WPA;S:YourNetwork;P:YourPassword;;
Pro tip: Use a guest network with client isolation and change the password periodically.
A Wi‑Fi QR code encodes your network name (SSID), security type, and password in a standardized text string. Modern phones recognize this "WIFI:" payload and show a one‑tap Join prompt—eliminating typos and help‑desk overhead.
Under the hood, phones parse the string in the QR and map it to Wi‑Fi join settings. No internet is required to scan. Important: The password inside the QR is not encrypted—it’s plain text inside the code.
Gather these details so your QR code works on the first try:
Optional but helpful:
Bookmark the tool for quick edits: https://www.zenixtools.com
iPhone/iPad (iOS 11+)
Android (most devices)
Laptops
Troubleshooting quick tips:
A Wi‑Fi QR code is convenient but exposes your password to anyone who can scan it. Follow these safeguards:
What a QR code cannot do:
Compliance notes for businesses/public venues:
Size vs. distance
Quiet zone (margin)
Contrast and color
Error correction and logos
Resolution and file format
Placement
Accessibility tip: Always place the SSID and password as selectable text beneath the QR so users with visual or camera issues can still connect.
No Join prompt shows
Hidden SSID won’t connect
WPA3 connection issues
Typos in SSID or password
Captive portal confusion
The widely adopted format follows ZXing conventions:
WIFI:T:<security>;S:<ssid>;P:<password>;H:<true|false>;;
Fields:
Escaping special characters
About enterprise (EAP/802.1X)
If you change SSID, password, or security mode, generate and reprint a new QR code.
Prefer not to send credentials to any website? Generate locally.
Command line (macOS/Linux/Windows via WSL)
brew install qrencodeqrencode -o wifi.png -s 8 -l Q "WIFI:T:WPA;S:YourNetwork;P:YourPassword;;"
-s 8 pixel size; -l Q error correction level (L/M/Q/H)Python (cross‑platform)
pip install qrcode[pil]
import qrcode
payload = "WIFI:T:WPA;S:YourNetwork;P:YourPassword;;"
img = qrcode.make(payload)
img.save("wifi.png")
PowerShell (Windows)
# Requires PowerShell 7+ and System.Drawing.Common or an external module
# Simple approach: use the QRCoder library via .NET
Install-Package QRCoder -ProviderName NuGet -Scope CurrentUser
Add-Type -Path "$($env:USERPROFILE)\.nuget\packages\qrcoder\*\lib\netstandard2.0\QRCoder.dll"
$payload = "WIFI:T:WPA;S:YourNetwork;P:YourPassword;;"
$qrGen = New-Object QRCoder.QRCodeGenerator
$qrData = $qrGen.CreateQrCode($payload, [QRCoder.QRCodeGenerator+ECCLevel]::Q)
$qr = New-Object QRCoder.QRCode($qrData)
$bitmap = $qr.GetGraphic(20)
$bitmap.Save("wifi.png", [System.Drawing.Imaging.ImageFormat]::Png)
$bitmap.Dispose()
Local privacy tip: Keep the generated image and payload strings in a secure folder. Remove files when no longer needed.
Android (Share your Wi‑Fi as a QR)
iOS (Create a QR via Shortcuts)
WIFI:T:WPA;S:YourNetwork;P:YourPassword;;.Privacy reminder: Anyone scanning the QR can read your password. Prefer a guest SSID for shared use.
Use this checklist before you publish or print your code:
Optional robustness checks:
Q: Do Wi‑Fi QR codes expire?
A: No. They remain valid until you change the SSID, password, or security mode.
Q: Is the password in a Wi‑Fi QR encrypted?
A: No. It’s plain text in the QR payload. Treat the image as sensitive information.
Q: Which security type should I choose?
A: Use WPA2 or WPA3 Personal for most home/guest networks. If some devices are older, use WPA2/WPA3 transition mode.
Q: Can I use a Wi‑Fi QR code for enterprise (EAP/802.1X)?
A: Camera apps do not consistently parse EAP parameters cross‑platform. Use MDM profiles or manual onboarding.
Q: My network name has spaces or special characters. Will it work?
A: Yes, but escape special characters (\ ; , : ") with a backslash. Example SSID: Cafe\:Main.
Q: Will a Wi‑Fi QR code work if the SSID is hidden?
A: Often, yes, if you include H:true in the payload, but some devices still struggle. Broadcasting the SSID improves reliability.
Q: How big should I print my code?
A: At least 1/10 of the expected scan distance. For table use, 2.5–4 cm (1–1.6 in) is a good start.
Q: Can I customize colors or add a logo?
A: Yes, but keep high contrast. If adding a logo, increase error correction and retest.
Q: Does scanning require internet?
A: No. The code is parsed locally by the device’s camera.
Q: Can I make a "dynamic" Wi‑Fi QR code that I can change later?
A: Not in the conventional sense. Wi‑Fi credentials are embedded directly. If you need rotation, print a new code.
Q: How do I verify what my QR contains?
A: Use an offline decoder (e.g., zbarimg CLI) or a reputable app that displays the raw string before connecting.
Q: Why does Android connect but iPhone doesn’t (or vice versa)?
A: Mismatched security type, hidden SSID, or profile caching often cause this. Forget the network, verify T:S:P:H fields, and retest.
Q: Can I use an open network with a QR?
A: Yes, but it’s not recommended. Anyone nearby can connect without a password. Prefer a guest SSID with a password.
Q: Should I place the QR online for remote guests?
A: Avoid posting publicly. Instead, send credentials individually or use a guest portal with rotating passwords.
Q: Will the code still work if I rename the network or change the password?
A: No. Regenerate and replace the printed code whenever details change.
WPA2/WPA3 Personal (recommended)
WIFI:T:WPA;S:MyGuestWiFi;P:Summer2026!;;
Open network (not recommended)
WIFI:S:EventWiFi;T:;P:;;
Hidden SSID
WIFI:T:WPA;S:HiddenNet;P:Secret123;H:true;;
Escaped characters (colon and semicolon in SSID/password)
WIFI:T:WPA;S:Cafe\:Main;P:pass\;word;;
Add the following JSON‑LD to your page head via your CMS to qualify for rich results. Update the URLs and author info as needed.
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "HowTo",
"@id": "https://example.com/how-to-generate-wifi-qr-codes#howto",
"name": "How to Generate a Wi‑Fi QR Code",
"description": "Create, test, print, and securely share a Wi‑Fi QR code that works on iPhone and Android.",
"step": [
{
"@type": "HowToStep",
"name": "Confirm network details",
"text": "Verify exact SSID, security mode, and password on your router or a connected device."
},
{
"@type": "HowToStep",
"name": "Open the generator",
"text": "Go to https://www.zenixtools.com/qr-code-generator and select the Wi‑Fi option."
},
{
"@type": "HowToStep",
"name": "Enter SSID, password, and security",
"text": "Enter case‑correct SSID, the exact password, choose WPA/WPA2/WPA3, and toggle Hidden if applicable."
},
{
"@type": "HowToStep",
"name": "Generate and test",
"text": "Create the QR, then scan with iPhone and Android. Forget saved networks before testing."
},
{
"@type": "HowToStep",
"name": "Download and print",
"text": "Export PNG/SVG/PDF, ensure high contrast and a 4‑module quiet zone, then place it where guests can scan."
}
],
"totalTime": "PT2M",
"tool": [
{
"@type": "HowToTool",
"name": "Zenixtools Free QR Code Generator",
"url": "https://www.zenixtools.com/qr-code-generator"
}
]
},
{
"@type": "FAQPage",
"@id": "https://example.com/how-to-generate-wifi-qr-codes#faq",
"mainEntity": [
{
"@type": "Question",
"name": "Do Wi‑Fi QR codes expire?",
"acceptedAnswer": {"@type": "Answer", "text": "No. They remain valid until you change the SSID, password, or security mode."}
},
{
"@type": "Question",
"name": "Is the password in a Wi‑Fi QR encrypted?",
"acceptedAnswer": {"@type": "Answer", "text": "No. The payload is plain text inside the QR. Treat the image as sensitive."}
},
{
"@type": "Question",
"name": "Which security type should I choose?",
"acceptedAnswer": {"@type": "Answer", "text": "Use WPA2 or WPA3 Personal. For mixed device fleets, WPA2/WPA3 transition mode improves compatibility."}
},
{
"@type": "Question",
"name": "Will a Wi‑Fi QR code work if the SSID is hidden?",
"acceptedAnswer": {"@type": "Answer", "text": "Often, yes, if you include H:true. But some devices struggle—broadcasting SSID is more reliable."}
},
{
"@type": "Question",
"name": "Can I use a Wi‑Fi QR code for enterprise (EAP/802.1X)?",
"acceptedAnswer": {"@type": "Answer", "text": "Cross‑platform camera support for EAP in QR is inconsistent. Use MDM profiles or guided onboarding instead."}
}
]
}
]
}
Note: Insert as application/ld+json in your site head or via your CMS’s structured data settings.
Symptom: No Join banner on iPhone
Symptom: Older Android won’t connect
Symptom: Works up close but not at distance
Symptom: Hidden SSID fails intermittently
Symptom: Branded QR with logo not scanning
A curated, expert-reviewed list of the most useful websites in 2026—organized by task with tips, safety notes, and FAQs to help you get more done online.
A curated list of genuinely useful websites for productivity, learning, travel, privacy, design, and more — expert-tested picks with quick summaries, pricing, and pro tips. Updated for 2026.