WiFi QR Code Generator
Generate a QR code for your WiFi network so guests can connect by scanning. Supports WPA, WEP, and open networks.
A WiFi QR code packs your network name, security type, and password into a single scannable image using the WIFI: URI format originally defined by the ZXing library and now part of the WPA3 specification. Point a phone camera at the code, tap the connect prompt, and the device joins without typing. iOS has supported this natively since iOS 11 (2017) and Android since Android 10 (2019). This tool renders the QR entirely in your browser - nothing is sent to any server.
About WiFi QR Code Generator
How It Works
The tool builds a WIFI:T:...;S:...;P:...;H:...;; string and renders it as a QR image via the qrcode npm library running client-side. iOS 11+ and Android 10+ recognise the format in their stock Camera apps.
| Step | Action |
|---|---|
| 1. Enter network name (SSID) | Type your WiFi network name exactly as it appears on devices |
| 2. Enter password | Type your WiFi password (leave blank for open networks) |
| 3. Choose security type | Select WPA/WPA2/WPA3, WEP, or None |
| 4. Hidden network (optional) | Toggle on if your SSID is not broadcast |
| 5. Generate and download | The QR code renders instantly - download as PNG |
Worked example: For SSID Cafe Guest, password coffee;time, WPA2, visible network, the encoded string is WIFI:T:WPA;S:Cafe Guest;P:coffee\;time;; - note the semicolon in the password is escaped with a backslash per the WPA3 spec. Spaces are allowed, but colons, semicolons, commas, backslashes, and double-quotes must be escaped.
| Step | Action |
|---|---|
| 1. Enter network name (SSID) | Type your WiFi network name exactly as it appears on devices |
| 2. Enter password | Type your WiFi password (leave blank for open networks) |
| 3. Choose security type | Select WPA/WPA2/WPA3, WEP, or None |
| 4. Hidden network (optional) | Toggle on if your SSID is not broadcast |
| 5. Generate and download | The QR code renders instantly - download as PNG |
Supported Security Types
| Type | Security Level | When to Use |
|---|---|---|
| WPA/WPA2/WPA3 | Strong (AES encryption) | Default for nearly all home and office networks since ~2006 |
| WEP | Weak (known vulnerabilities) | Only for very old devices that do not support WPA; upgrade if possible |
| None (open) | No encryption | Intentionally open networks like guest hotspots in public venues |
How Many People Scan QR Codes Now?
QR code scanning is now mainstream: Juniper Research forecasts 2.2 billion active QR code users globally in 2025, and Uniqode's 2026 industry report finds 59% of smartphone users scan a QR code at least once per week. WiFi sharing is one of the top three personal use cases, behind only menu access and mobile payments. Scan friction has also collapsed - iOS 11 (2017) and Android 10 (2019) made WiFi scanning work from the stock camera app with a single tap.
| Stat (2025/2026) | Value | Source |
|---|---|---|
| Global QR users | ~2.2 billion (29% of smartphone users) | Juniper Research 2025 |
| Weekly scan frequency | 59% scan at least weekly | Uniqode 2026 report |
| QR payment volume | $3 trillion (2025), projected $8T by 2029 | Juniper Research |
| US share of global scans | ~42% of volume | Uniqode 2026 report |
| iOS native WiFi QR support | iOS 11 (Sep 2017) | Apple release notes |
| Android native support | Android 10 (Sep 2019) | Google release notes |
Why Are Some WPA3 WiFi QR Codes Broken?
Plenty of online generators still output T:WPA2, but the WPA3 spec only recognises WPA (covering WPA1/2/3) or WEP. A value of WPA2 is non-standard and newer WPA3 clients may refuse it. This tool always writes T:WPA so the same QR works from WPA1 through WPA3 transition networks.
A second common break is incorrect escaping. The WPA3 URI ABNF requires \, ;, ,, :, and " inside an SSID or password to be backslash-escaped. Characters outside the printable ASCII set should be percent-encoded. Generators that skip this produce codes that some Android builds parse differently from iOS. The escapeWifiString helper in this tool handles all five reserved characters on both the SSID and password before building the string.
Supported Security Types
| Type | Security Level | When to Use |
|---|---|---|
| WPA/WPA2/WPA3 | Strong (AES encryption) | Default for nearly all home and office networks since ~2006 |
| WEP | Weak (known vulnerabilities) | Only for very old devices that do not support WPA; upgrade if possible |
| None (open) | No encryption | Intentionally open networks like guest hotspots in public venues |
Where to Place Your WiFi QR Code
| Location | Format | Tips |
|---|---|---|
| Fridge or notice board | Printed on paper, attached with magnets or tape | Print at least 3x3 cm for reliable scanning |
| Near the router | Small printed card or sticker | Guests naturally look near the router when they need WiFi |
| Framed on the wall | Printed, framed with a label "Scan to connect" | Works well in living rooms and offices |
| Airbnb/rental welcome pack | Printed in a welcome booklet | Include the network name as text backup in case scanning fails |
| Cafe or restaurant table | Laminated table tent or wall sign | Include your business name and "Free WiFi" text |
| Conference room | Printed on the whiteboard or wall | Makes onboarding meeting attendees fast |
| Digital sharing | Share the PNG via WhatsApp, email, or Slack | Useful for remote teams who need office WiFi before they arrive |
Which Devices Can Scan WiFi QR Codes?
Every mainstream phone sold in the last five years scans WiFi QR codes from the stock camera app. Desktop support is patchier: Windows and macOS cameras do not parse QR codes natively, so you would need a reader app or the phone as a bridge.
| Device | How to Scan | Supported Since |
|---|---|---|
| iPhone / iPad | Open the Camera app and point at the QR code | iOS 11 (2017) |
| Android phones | Open the Camera app or Google Lens | Android 10+ natively; earlier versions with QR scanner apps |
| Windows 11 laptops | No native camera QR scanning; use Camera app with a QR extension or phone | N/A |
| macOS | No native camera QR scanning; type manually or use a QR reader app | N/A |
| Samsung Galaxy (One UI) | Quick settings tile "Scan QR code" or camera | One UI 2 (2020) |
The WIFI URI Format
Behind the scenes, the QR code encodes a string in this format:
WIFI:T:WPA;S:MyNetwork;P:MyPassword;H:false;;
| Parameter | Meaning | Values |
|---|---|---|
| T | Security type | WPA, WEP, or blank (open) |
| S | SSID (network name) | Your network name (special characters are escaped) |
| P | Password | Your network password (omitted for open networks) |
| H | Hidden network | true or false |
| R | Transition Disable (WPA3 only) | Hex bitmap to block downgrade attacks |
| K | Public key (WPA3 only) | Base64 public key for out-of-band provisioning |
What Are the Security Considerations?
A printed WiFi QR is no more or less sensitive than the password it contains - anyone who can read or photograph the QR can join the network. The practical controls are physical placement and network segmentation.
| Concern | Risk Level | Mitigation |
|---|---|---|
| QR code visible to visitors | Low - same as giving out the password verbally | Place in private areas; use a guest network for public spaces |
| Password stored in the QR image | Low - the password is in the QR data, not encrypted | Anyone who can scan it can read the password; this is by design |
| Using your main network for guests | Medium | Set up a separate guest network on your router for visitors |
| Password server leak | None here | The QR code is generated entirely in your browser; nothing is uploaded |
| Photo of the QR shared online | High | Anyone seeing the photo can join - rotate the password after any accidental share |
Common Mistakes That Break WiFi QR Codes
- Wrong security type - selecting "None" when the network actually uses WPA2 means the phone prompts "connected" but cannot authenticate.
- Trailing spaces in the SSID - many routers expose an SSID like
MyNetworkwith an invisible trailing space. Copy it exactly or connecting will silently fail. - Unescaped special characters - passwords containing
;,,,:,", or\must be backslash-escaped. This tool does it automatically. - Printing too small - below 2 cm per side, phone cameras struggle to resolve all modules. Aim for 3 cm minimum for a dense WPA2 password.
- Low contrast printing - coloured or faded QR codes fail. Stick with black on white for reliability.
- Hidden SSID without the H flag - if you tick "Hidden network" on the phone while scanning a QR without
H:true, some Android builds refuse to connect.
Printing Your QR for Reliable Scans
Most scanning failures come from print size or contrast, not the QR data itself. ISO/IEC 18004 (the QR spec) recommends a "quiet zone" of at least 4 modules of whitespace around the code. For a typical WiFi string at error correction level M, 3 cm x 3 cm on 300 DPI paper gives 99%+ first-try scan rates on modern phones.
| Print Size | Typical Scan Distance | Good For |
|---|---|---|
| 2 cm x 2 cm | ~15 cm | Business card (phone held close) |
| 3 cm x 3 cm | ~25 cm | Wallet card, table tent |
| 5 cm x 5 cm | ~50 cm | Welcome booklet, framed at desk |
| 10 cm x 10 cm | ~1 metre | Wall poster in cafe or reception |
| 20 cm x 20 cm | ~2 metres | Conference room, lecture hall |
For general-purpose QR codes from any text or URL, use the QR code generator. Need a strong password for your network? Try the password generator - a 20-character random password is both secure and easy to share via QR code. If you also need to share device identifiers, the UUID generator covers that case.
Sources
- Wi-Fi Alliance - WPA3 Specification (WIFI URI ABNF)
- ZXing Project - WiFi Network Config Format
- ISO/IEC 18004:2024 - QR Code Specification
- Juniper Research - QR Code Payment Market Report
- Uniqode - QR Code Trends & Statistics Report
- Apple Support - Connect to Wi-Fi on iPhone
- Google - Share saved Wi-Fi networks on Android
Frequently Asked Questions
How does the WiFi QR code work?
The QR code encodes your WiFi credentials in a standard format that smartphones understand. When someone scans the code with their phone camera, the device automatically connects to the network without needing to type the password manually.
Which devices can scan WiFi QR codes?
Most modern smartphones support WiFi QR codes natively. iPhones running iOS 11 or later can scan with the Camera app. Android phones running Android 10 or later support it through the camera or Google Lens.
Is my WiFi password safe?
Yes. The QR code is generated entirely in your browser using the qrcode JavaScript library. Your SSID and password never leave your device and are never sent to any server. Anyone who can see or scan the printed code can read the password though, so treat the printed code like the password itself.
What security type should I choose?
WPA/WPA2/WPA3 is the most common and recommended option for home and office networks. WEP is an older, less secure protocol. Choose "None" only for intentionally open networks like guest hotspots.
Can I use this for a hidden network?
Yes. Toggle the "Hidden network" option and the QR code will include a flag telling the scanning device to look for a hidden SSID.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/wifi-qr-generator/" title="WiFi QR Code Generator - Free Online Tool">Try WiFi QR Code Generator on ToolboxKit.io</a>