How to create a WiFi QR code
- Select the WiFi tab in the generator
- Enter your network name (SSID)
- Enter the network password
- Select the security type (WPA/WPA2, WEP, or no password)
- Download your QR code and place it where guests can scan it
Most modern smartphones can scan WiFi QR codes directly from their camera app without requiring additional software.
Required fields
The name of your WiFi network (Service Set Identifier). This is the network name that appears in the WiFi list on devices.
The network password. Leave empty if your network has no password (open network).
The security protocol used by your network:
WPA- WPA/WPA2 (most common, recommended)WEP- WEP (older, less secure)nopass- No password (open network)
Whether the network is hidden (doesn’t broadcast its SSID). Most networks should leave this as
false.WiFi QR code format
The generator uses the standard WiFi QR code format that’s recognized by iOS, Android, and other devices:Format breakdown
- S: Network name (SSID)
- T: Authentication type (WPA, WEP, or nopass)
- P: Network password
- H: Hidden network flag (true/false)
- ;; Double semicolon terminates the string
Example formats
- WPA/WPA2 network
- Open network
Use cases and scanning instructions
Guest WiFi in homes
Print and frame a WiFi QR code near your entrance so guests can easily connect without asking for the password.
Coffee shops and restaurants
Display WiFi QR codes on tables, menus, or receipts to provide instant customer access.
Office visitor networks
Place QR codes in reception areas or conference rooms for easy guest network access.
Events and conferences
Share event WiFi access through QR codes on badges, signage, or printed materials.
How to scan a WiFi QR code
iOS (iPhone/iPad):- Open the Camera app
- Point at the QR code
- Tap the WiFi notification banner that appears
- Tap “Join” to connect
- Open the Camera app or WiFi settings
- Look for “Scan QR code” option in WiFi settings
- Point at the QR code
- Tap “Connect” when prompted
Some older Android devices may require a third-party QR scanner app that supports WiFi codes.
Implementation example
Here’s how the WiFi template works in the source code:The WiFi template is located at lines 116-135 in
src/components/QRGenerator.jsx. The state is initialized at line 11 with default encryption set to ‘WPA’ and hidden set to false.Security considerations
Password visibility
The generated QR code contains your WiFi password in plain text format. Anyone who scans the code can see the password using a QR code reader app.
Guest networks recommended
For security, create a separate guest network with limited access rather than sharing your main network credentials.
Rotate passwords periodically
Change your guest network password regularly and update the QR codes accordingly.