Wi-Fi QR Code: How to Create, Scan and Share
2026-10-24

Short answer: A Wi-Fi QR code stores your network name, password and security type in a standard text format. Guests scan it with the phone camera and tap to join, with no typing. Create one by entering those three details in a generator, test it on an iPhone and an Android phone, then print it where guests sit.
Last updated: 13 November 2026
Reading out a Wi-Fi password is slow, and long passwords get mistyped. A Wi-Fi QR code removes that step. This guide explains how the code works, how to create one, how to print and place it, and what it can and cannot protect.
What is a Wi-Fi QR code?
A Wi-Fi QR code is an ordinary QR code whose content is a short line of text describing a wireless network. Phones that recognise the format offer to join that network. The format is documented in the ZXing project's "Barcode Contents" wiki and is read by the iPhone and Android camera apps.
The text looks like this:
`` WIFI:T:WPA;S:mynetwork;P:mypass;; ``
| Field | Meaning | Example |
|---|---|---|
| T | Security type: WPA, WEP, WPA2-EAP, or nopass for an open network | WPA |
| S | Network name (SSID). Required | mynetwork |
| P | Password. Ignored when T is nopass | mypass |
| H | Optional. true if the network is hidden | true |
Field order does not matter. The special characters backslash, semicolon, comma, double quote and colon must be escaped with a backslash. If your network name or password contains them, a good generator does this for you, which is one reason to use a generator instead of typing the text by hand.
How do you create a Wi-Fi QR code?
- Find your exact network details. Check the network name (SSID), the password and the security type in your router settings. Names are case-sensitive, and a lookalike character such as a capital O instead of a zero will break the connection.
- Open a generator with a Wi-Fi type. The free QR code generator has one. QRCodable's account area offers Wi-Fi as one of its 13 QR types.
- Enter the name, password and security type. Choose WPA for most modern home and business networks, or "no password" for an open network. Tick the hidden-network option only if your network does not broadcast its name.
- Download the code as SVG or PNG. Use SVG or a high-resolution PNG for print.
- Test before printing. Scan the code with an iPhone and an Android phone that have never joined the network. Check that each one connects and loads a web page.
- Print and place it. See the placement and size sections below.
If the password changes later, the code must be regenerated and reprinted. The password is part of the pattern, so there is nothing to edit afterwards. For that reason, many businesses print Wi-Fi codes on cheap, replaceable stands or cards.
How do guests scan a Wi-Fi QR code?
On an iPhone or iPad, open the Camera app, point it at the code and tap the notification that appears to join. Apple's support page also describes Code Scanner, available from Control Center, as another way to scan codes. On Android phones, the camera or Google Lens usually recognises the code and offers to connect.
- Open the camera and hold the phone so the whole code is in view.
- Wait for the on-screen prompt naming the network.
- Tap the prompt and confirm you want to join.
- Open a web page to confirm you are online.
Behaviour differs slightly between phone makers and OS versions. If a guest's phone shows nothing, check that camera QR scanning is switched on in the phone settings, and offer the typed network name and password as a backup.
Where should you put a Wi-Fi QR code?
Put the code where people already wait or sit, at eye level, with a short instruction.
| Setting | Good placement | Wording to print beside it |
|---|---|---|
| Café or restaurant | Table stand, menu back, counter | "Scan to join our Wi-Fi" |
| Hotel or rental | Room card, welcome folder, desk | "Scan to connect. Guest network" |
| Office reception | Frame at the desk | "Visitors: scan to join Guest Wi-Fi" |
| Event or conference | Badge back, signage, session screens | "Event Wi-Fi: scan to join" |
| Home | Fridge magnet, hallway frame | "Guests: scan to connect" |
Always print the network name and password in plain text underneath. Some older devices cannot scan Wi-Fi codes, and a typed fallback saves a support request.
For the full use-case walk-through, see our Wi-Fi QR code page.
How big should a Wi-Fi QR code be?
A Wi-Fi code holds more text than a short link, so its pattern is denser. Make it large enough that the phone does not struggle.
- Table or desk card (scanned from about 20-30 cm): 3 cm wide is a safe minimum. 4 cm is more comfortable.
- Wall or reception sign (scanned from about 1 m): about 10 cm.
- Keep the quiet zone. DENSO WAVE, the inventor of the QR Code, says the code needs a clear margin four modules wide on every side. Do not let borders or text touch the pattern.
- Use dark modules on a light background. Inverted codes fail in some scanners.
These sizes are starting points based on the common rule of thumb that the code should be about one tenth of the scanning distance. Always test on the printed material. Our QR code size guide covers this in detail.
Is a Wi-Fi QR code secure?
A Wi-Fi QR code is exactly as private as the printed password. Anyone who can photograph the code can join the network. That is acceptable for a guest network and a poor idea for a network that reaches your payment terminals or office computers.
- Use a separate guest network. Most business routers can create one that is isolated from your main devices.
- Choose WPA2 or WPA3 where your router supports it. WEP is outdated and weak. It is only included in the format for compatibility.
- Change the password on a schedule and regenerate the code each time. Keep a record of the date.
- Do not print the code in public places for a private network. A sign on a street-facing window can be scanned from the pavement.
- Open networks have no password to protect. Scanning a "nopass" code still gives the guest a way in, so treat it like any public Wi-Fi.
Phones show a prompt before joining, so the user stays in control of the connection.
Should you use a static or dynamic Wi-Fi QR code?
A Wi-Fi code is normally a static code: the network details are stored inside the pattern itself. That has two consequences. It keeps working without any internet connection to a service, and it cannot be edited later. A dynamic QR code, by contrast, holds a short redirect link that you can change after printing and that counts scans. That is useful for menus and flyers but does not suit joining a network, because the code has to contain the Wi-Fi details, not a web address.
A practical setup for a hospitality business is two codes on the same card:
- A static Wi-Fi code for joining the guest network.
- A dynamic code to your menu, booking page or review link, which you can change and measure.
Our guide to static and dynamic QR codes explains the trade-offs.
How do you fix a Wi-Fi QR code that will not connect?
- Check the password and name. Typos and case differences are the most common cause. Re-enter them from the router settings.
- Check the security type. A WPA network encoded as open, or the reverse, makes the phone fail to join.
- Check special characters. A password with a semicolon, comma, colon, quote or backslash needs escaping. Regenerate the code with a tool that handles it.
- Check hidden networks. If the network does not broadcast its name, the hidden flag must be set.
- Check enterprise networks. Networks that need a username and certificate (WPA2-EAP) have extra fields. Many simple generators do not support them.
- Check the print. A low-contrast, scuffed or too-small code may not be read. Reprint it larger.
- Check the router. Some routers limit connected devices or block new ones until a captive-portal page is accepted.
Common Wi-Fi QR code mistakes
- Printing the staff network password on a public sign.
- Putting the code behind glass with a glare that blocks the camera.
- Changing the router password and forgetting to reprint the code.
- Making the code too small because the password is long.
- Giving no instruction, so guests do not know what the code does.
- Skipping the typed fallback for older phones.
Frequently asked questions
How do I make a QR code for my Wi-Fi password?
Enter your network name, password and security type into a Wi-Fi QR code generator, then download and print the code. The generator writes them in the standard WIFI: text format that phones recognise. Test the printed code with an iPhone and an Android phone before you put it on display.
Do iPhones and Android phones scan Wi-Fi QR codes?
Yes, in general. The iPhone Camera app and the Android camera or Google Lens recognise the Wi-Fi format and offer to join the network. Behaviour varies by device and software version, so test on the phones your guests are likely to use and keep a typed password as a backup.
Can I change the Wi-Fi password without reprinting the QR code?
No. The password is stored inside the code pattern, so if it changes you must create and print a new code. This is the main limit of Wi-Fi codes. Printing them on inexpensive, easily replaced cards or stands keeps the cost of changes low.
Is it safe to share a Wi-Fi QR code?
It is as safe as sharing the password itself. Anyone who sees the code can join. Use a separate guest network, use WPA2 or WPA3 if available, change the password regularly and never print the code for your main business network in a public place.
Can a Wi-Fi QR code track how many people scan it?
Not by itself. A Wi-Fi code contains the network details, not a web link, so there is no redirect to count. To measure interest, place a separate dynamic QR code beside it that links to a page you control, and use the scan analytics to see time, device, country and city.
Related guides
- QR codes for Wi-Fi: use-case guide
- QR code size and print quality
- Static vs dynamic QR codes
- QR code menus for restaurants
Ready to make yours? Use the free QR code generator for a Wi-Fi code, or create a free account for 5 trackable dynamic codes to sit next to it. Pro is $9/month for 100 codes and Business is $19/month.
Sources and notes
- ZXing project wiki, "Barcode Contents", Wi-Fi Network config section (github.com/zxing/zxing/wiki/Barcode-Contents), page edited October 2026, accessed 13 November 2026. Source of the WIFI: format, field table and escaping rules.
- DENSO WAVE, "Point for determining the code area" (qrcode.com/en/howto/code.html), accessed 13 November 2026. Four-module quiet zone.
- Apple Support, "Scan a QR code with your iPhone or iPad" (support.apple.com/en-us/102680), dated 14 September 2026. Camera app and Code Scanner.
- Phone behaviour on Android differs by manufacturer and version. We have not tested every device.
- The one-tenth size-to-distance ratio is a rule of thumb, not part of the QR Code standard. Sizes given are recommendations to test.


