How to make a Wi-Fi QR code step by step
- Find the network name exactly as it appears in your phone's Wi-Fi list. Capital letters, spaces and symbols all count.
- Find the password. It is often printed on a sticker on the router, unless someone has changed it.
- Check the security type in your router settings or on the router sticker. If it says WPA2 or WPA3, pick the WPA option in the QR maker.
- Open a QR code maker, choose Wi-Fi, and fill in the three fields. Tick "hidden network" only if your network does not broadcast its name.
- Create the code and save it as an image.
- Test it on two different phones (one Android, one iPhone if you can) before you print anything.
Some generators sell "dynamic" Wi-Fi codes that send people through a web address first. A Wi-Fi code does not need that. The network details fit inside the code itself, so it works offline and does not depend on anyone's server staying online.
Havelt QR creates Wi-Fi QR codes from the network name, password and security type, and keeps the Wi-Fi codes you scan elsewhere in its history. Get it on Google Play
What a Wi-Fi QR code actually contains
A Wi-Fi QR code is plain text in a format that phone cameras recognise. The common layout, documented in the open-source ZXing barcode project, looks like this:
WIFI:T:WPA;S:HomeNetwork;P:correct-horse-staple;;
| Part | Meaning | Example |
|---|---|---|
| T: | Security type | WPA, WEP, or nopass for an open network |
| S: | Network name (SSID) | HomeNetwork |
| P: | Password | correct-horse-staple |
| H: | Hidden network (optional) | true |
If the network name or password contains a backslash, semicolon, comma, colon or double quote, the format expects a backslash in front of that character. A good generator handles this for you. If a code made with a home-made tool fails only on networks with symbols in the password, this is the usual cause.
Because the password sits in the code as readable text, anyone who scans the printed card can see it. Treat the card the same way you would treat the password written on paper.
Sharing Wi-Fi from your phone without a generator
On Android, Google's help page Connect to Wi-Fi networks on your Android device describes the built-in share option:
- Open Settings.
- Go to Network & internet, then Internet.
- Tap your Wi-Fi network, then Share.
- Your phone shows a QR code. The other person scans it with their camera.
Menu names vary between phone makers, but the Share button sits on the network's details screen. You may be asked to confirm with your fingerprint or PIN first. On an iPhone, what you can share depends on the iOS version, so check Apple's own help for your phone; a generator works the same on any device.
A screenshot of the code your phone shows is a quick way to get an image you can print.
Printing a Wi-Fi QR code sign
- Print the code at least the size of a playing card for a table stand or fridge, and larger for a wall where people scan from a distance.
- Keep a white margin (the "quiet zone") around the code. Cropping it tight or putting it on a busy background makes scanning slower.
- Dark code on a light background scans more reliably than light on dark.
- Write the network name and password underneath in plain text. Laptops and older phones cannot always scan.
- Laminate it or put it in a frame if it will sit in a kitchen, cafe or holiday let.
Guest networks and security
Many routers can run a separate guest network with its own name and password. Putting the guest network on the card keeps your main password private, and you can change the guest password without reconnecting every device in the house.
Choose WPA2 or WPA3 for the network. The Wi-Fi Alliance explains what WPA3 adds over older protection. An open network (no password) lets anyone nearby join, code or no code.
Why a Wi-Fi QR code stops working
| Symptom | Likely cause | Fix |
|---|---|---|
| Worked before, fails now | Password or network name changed | Make a new code with the new details and reprint |
| Phone says it cannot join | Wrong security type chosen | Recreate the code with the type your router uses |
| Fails only on some phones | Hidden network flag missing | Tick hidden network if your SSID is not broadcast |
| Camera does not react | Code too small, blurred or cropped | Print larger with a white border |
| Fails when the password has symbols | Characters not escaped | Use a generator that escapes symbols, or simplify the password |
A printed code holds the details as they were on the day you made it. Every time you change the router password, the old cards need replacing.
Keep the Wi-Fi codes you scan
Havelt QR keeps every scan in a searchable history, so the code for the office, the holiday let or a friend's flat is there next time you need it.
Get it on Google PlayiPhone version coming soon
More guides
- How to Scan a QR Code From an Image or ScreenshotScan a QR code that is already on your phone, from a screenshot or a photo in your gallery. Android steps, fixes for codes that will not read, and safety checks.
- vCard QR Code: Put Your Contact Details on a Business CardHow a vCard QR code works, which fields to include, how to make one for a business card, size and printing tips, and vCard vs MeCard vs a link to a profile page.
- Types of Barcodes: 1D and 2D Codes and What Each Is Used ForThe main types of barcodes explained with their uses: EAN and UPC on products, Code 128 and Code 39, ITF-14 on cartons, Codabar, QR Code, Data Matrix, PDF417 and Aztec.
- GS1 Application Identifiers: List of Common AIs and How to Read ThemWhat GS1 Application Identifiers are, a list of the common AIs (00, 01, 10, 17, 21 and more), how to read a GS1-128 label, date formats and the FNC1 separator.
Published by Zoranta, the developer of Havelt QR.