You know the routine. A guest arrives, asks for the WiFi password, and you either spell out a 20-character string of mixed-case letters and numbers or scrawl it on a napkin. WiFi QR codes eliminate this friction entirely. Your guests scan a code, tap "Join," and they are connected. No typing, no mistakes, no shouting your password across the room.
How WiFi QR Codes Work
A WiFi QR code encodes your network credentials in a standardized text format that smartphones recognize natively. When a phone's camera detects this format, it offers to connect to the network automatically. Here is the format under the hood:
WIFI:T:WPA;S:MyNetworkName;P:MyPassword;H:false;;
Breaking that down:
T:-- The security type. Common values areWPA(covers WPA, WPA2, and WPA3),WEP, ornopassfor open networks.S:-- The SSID (network name). This is case-sensitive and must match exactly.P:-- The password. Also case-sensitive.H:-- Whether the network is hidden. Set totrueif your SSID is not broadcast,falseotherwise.
Both iOS (since iOS 11) and Android (since version 10) support WiFi QR codes natively through the built-in camera app. No third-party QR reader needed.
Step-by-Step: Creating a WiFi QR Code
1. Gather Your Network Details
You need three pieces of information:
- Network name (SSID) -- Exactly as it appears in your WiFi settings. Copy it character by character; a single wrong letter will cause the connection to fail.
- Password -- The WiFi password, exactly as set in your router.
- Security type -- Almost all modern networks use WPA2 or WPA3. If you are not sure, check your router's admin page. Select "WPA" in the generator -- it covers WPA2 and WPA3.
2. Generate the QR Code
Open the QR Forge generator and enter your WiFi string in this format:
WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;
Replace YourNetworkName and YourPassword with your actual credentials. If your network name or password contains special characters like semicolons, colons, commas, or backslashes, escape them with a backslash (for example, my\;password).
For WiFi QR codes, we recommend error correction level M or Q and a size of 256px or larger. WiFi codes contain relatively little data, so they stay clean and easy to scan even at moderate sizes. Download as SVG if you plan to print it.
3. Test It
Before printing or displaying your code, test it with at least two different phones:
- Open the camera app and point it at the QR code on your screen
- A notification should appear offering to join the network
- Tap it and verify the connection works
- Test with both iPhone and Android if possible
Security Considerations
Sharing your WiFi credentials via QR code is convenient, but it comes with trade-offs you should understand.
A WiFi QR code contains your password in plain text. Anyone who scans it -- or even photographs it -- has your WiFi credentials. Treat the printed code with the same care you would treat a written-down password.
For Homes
- Use a guest network -- Most modern routers support a separate guest network. Create a WiFi QR code for your guest network rather than your main one. This isolates guest devices from your personal devices and file shares.
- Place it thoughtfully -- A framed QR code in your guest room or living room is fine. Avoid placing it where it is visible through a window to passers-by.
- Rotate the password periodically -- If you share the code widely, change the guest password every few months and print a new code.
For Offices
- Separate employee and visitor networks -- Give visitors access to a restricted VLAN, not your corporate network.
- Display it in meeting rooms -- Conference rooms are the most common place visitors need WiFi. A small card or sticker on the table works perfectly.
- Update when credentials change -- If your IT team rotates WiFi passwords, make sure the displayed QR codes are updated at the same time.
For Cafes and Restaurants
- Use a dedicated customer network -- Keep your POS system and business devices on a separate network.
- Pair it with your menu QR code -- Guests often need WiFi to load a QR code menu. Put both codes on the same table tent.
- Set bandwidth limits -- Configure your router to limit per-device bandwidth on the guest network so one person streaming does not slow everyone else down.
- Accept that the password is public -- If the QR code is on every table, your WiFi password is effectively public. That is fine as long as you use a guest network with proper isolation.
Where to Display Your WiFi QR Code
The best placement depends on your environment:
At Home
- Guest bedroom -- Print and frame a small card with the QR code and network name. Guests appreciate not having to ask.
- Refrigerator magnet -- A magnet with the QR code is practical and easy to update.
- Welcome binder -- If you rent on Airbnb or similar, include the WiFi QR code on the first page of your welcome guide.
At the Office
- Meeting room tables -- A small acrylic stand or sticker on the conference table.
- Reception area -- Let visitors connect while they wait.
- Visitor badges -- Some offices print the WiFi QR code on temporary visitor passes.
At a Cafe or Restaurant
- Table tents -- Combine the WiFi QR code with your menu QR code on the same display.
- Counter displays -- A small sign near the register reading "Free WiFi -- scan to connect."
- Wall posters -- Near seating areas, at a size large enough to scan from a comfortable distance (at least 10 cm x 10 cm for a 1-meter scanning distance).
Printing and Display Tips
- Label the code clearly -- Print "Scan for WiFi" or "Connect to WiFi" above or below the QR code. Without a label, most people will not know what the code does.
- Include the network name as text -- Some guests may prefer to connect manually. Print the SSID name (but not the password) as text next to the code.
- Use a durable format -- Laminated cards, acrylic stands, or stickers under a clear coat last longer than paper in high-traffic areas.
- Size for scanning distance -- A 3 cm code works for phone-distance scanning. For a wall poster scanned from 1-2 meters away, go at least 10 cm. See our error correction guide for more on how code density affects scannability.
- Use SVG format -- Download your QR code as SVG from QR Forge for perfect quality at any print size.
Troubleshooting
- Phone does not offer to connect -- Make sure the camera app supports QR scanning (most modern phones do). On older Androids, you may need a QR reader app.
- Connection fails -- Double-check the SSID and password in the QR string. They are case-sensitive. Even one wrong character will cause a failure.
- Hidden network not found -- If your SSID is hidden, make sure you included
H:truein the WiFi string. - WEP network issues -- WEP is obsolete and insecure. If you are still using WEP, upgrade to WPA2 or WPA3. Besides the security risk, some modern phones have dropped WEP support entirely.
For details on adding a QR code to your business cards, check out our dedicated guide.
Create Your WiFi QR Code
Generate a free WiFi QR code in seconds. No account needed.
Create Your QR Code Now