In this article
Every household and every small shop knows the moment: a guest asks for the Wi-Fi password, and you read out a long mix of letters and numbers while they squint at their phone and type it wrong twice. A Wi-Fi QR code ends that. The guest points the camera, taps once, and they are online. The Wi-Fi QR Code Generator makes that code in a few seconds, and this guide explains what you are really creating so you can use it safely.
How to make the code, step by step
- Open the Wi-Fi QR Code Generator.
- In Wi-Fi name (SSID), type the network name exactly as it appears on a phone, including capital letters and any spaces.
- Choose Security: WPA / WPA2 / WPA3 for almost every modern router, WEP only for very old equipment, or No password for an open network.
- Enter the Password, exactly as set on the router. If you chose No password, the field is not needed.
- Turn on Hidden network only if your network does not show up in the list of nearby networks.
- Pick a Size: Small (300 px), Medium (400 px) or Large (600 px, meant for print).
- Press Create Wi-Fi QR code, then Download PNG or Print.
If you leave the name empty you will see “Enter the Wi-Fi name”, and if you leave the password empty on a protected network you will be asked to enter it or choose “No password”. The downloaded file is called wifi-qr-code.png.
What is actually inside a Wi-Fi QR code
A QR code is only a way of storing text in a pattern a camera can read. A Wi-Fi code stores one short line in a format that phones recognise. When the camera sees a line that starts with WIFI:, the phone knows it is not a web link but a network, and offers to join it.
| Part | What it means | Example |
|---|---|---|
WIFI: | Tells the phone this is a Wi-Fi network | WIFI: |
T: | Security type: WPA, WEP or nopass | T:WPA; |
S: | The network name (SSID) | S:HomeNet; |
P: | The password. Left out for an open network | P:Sunny2026; |
H:true | Added only for a hidden network | H:true; |
Final ; | Closes the line | ; |
Put together: WIFI:T:WPA;S:HomeNet;P:Sunny2026;;. An open cafe network becomes WIFI:T:nopass;S:Cafe Guest;;.
WIFI:T:WPA;S:HomeNet;P:Sunny2026;;- The phone finds it in the list of nearby networks
- Most home and shop networks
WIFI:T:WPA;S:Lab;P:secret99;H:true;;- The network does not announce its name, so the phone must be told to look for it
- Needed only if you turned off the name broadcast
Hiding a network does not make it safe. A strong password and WPA2 or WPA3 do that.
Because the line is so short, the picture is simple. A typical code like the ones above uses a pattern of 29 × 29 small squares, which are big and easy for a camera to read even from a distance. Even the longest case, a 32-character name plus a 63-character password and the hidden flag, only grows to about 45 × 45 squares. For how the squares, corner marks and error correction work, read what is inside the black squares of a QR code.
Special characters in passwords
The code uses a few symbols as separators, so a password that contains one of them could confuse the phone. The tool protects you from this by putting a backslash in front of each of these five characters: backslash, semicolon, comma, colon and the double quote.
| You type | Stored in the code as | Why |
|---|---|---|
pa;ss:word,1 | pa\;ss\:word\,1 | The semicolon, colon and comma would otherwise end a field |
Sunny#2026 | Sunny#2026 | A hash sign needs no protection |
My Home Wi-Fi | My Home Wi-Fi | Spaces and hyphens are fine in a name |
You do not need to do anything yourself. Type the password as it is, and the tool adds the backslashes.
Real Wi-Fi limits are worth knowing: a network name can be up to 32 characters, and a WPA password is 8 to 63 characters. The tool does not check these for you, so enter what your router really uses.
How guests scan it
- 1Open the cameraOn most recent iPhones and Android phones, the normal camera app reads QR codes. On some Android phones, Google Lens does it.
- 2Point at the codeA banner appears with the network name, such as “Join network HomeNet”.
- 3Tap to joinThe phone fills in the password by itself and connects.
- 4DoneNo typing, no spelling out letters.
If nothing appears, bring the phone closer, remove glare, and make sure the camera can see the whole code including the white margin.
A good test is to turn Wi-Fi off and on again on a phone that is not connected, or to ask a guest to scan it. A code that works for you may fail for a guest if you typed a password that you then changed on the router. If you ever change the router password, make and print the code again.
The security trade-off you must understand
A Wi-Fi QR code is convenient because it carries the password inside it. That is also its weakness. The password is stored as plain readable text in the pattern. Anyone who scans it, or photographs it, can get the password with any QR reader app.
A QR code does not make a weak password safer. A strong, long password is the real protection.
A guest network is a second network name on the same router with its own password, found in the router settings. A strong password is easy to create with the Password Generator and the article on why length matters more than symbols explains how to choose it. Since a QR code removes the need to type it, you can afford a long, random password.
Printing it so it scans first time
- Choose the Large size for anything you will print. It makes a 600 px picture, so the squares stay sharp on paper.
- Print it at least a few centimetres wide. A fridge or table card works well at about 5 to 6 cm. A tiny code on a card is harder to read.
- Keep the white margin. Do not crop right up to the black squares, because the margin helps the camera find the edges.
- Use black on white and print it on plain paper or a matte card. Shiny laminate can reflect light and make scanning hard.
- Add a text label. Write the network name under it so people know what they are joining, for example “Guest Wi-Fi: scan to join”.
- Test the real printout with two different phones before you stick it up.
To check a code you already have, or to read one a friend sends, use the QR Code Reader. If you want a QR code for a website, a phone number or a payment instead, see the QR Code Generator, and the guide to creating a UPI QR code for your shop.
Questions people ask
How do I make a QR code for Wi-Fi?
Open the Wi-Fi QR Code Generator, type the network name, choose WPA / WPA2 / WPA3, enter the password and press Create Wi-Fi QR code. Then download the PNG or print it. Guests scan it with their phone camera to join.
WiFi QR code kaise banaye?
Wi-Fi QR Code Generator kholiye, Wi-Fi ka naam aur password likhiye, security WPA rakhiye aur Create dabaiye. PNG download karke print kar lijiye. Mehman camera se scan karenge to bina password type kiye connect ho jayenge.
Is it safe to share my Wi-Fi with a QR code?
It is as safe as telling someone the password, because the password is stored as readable text in the code. Anyone who scans or photographs it gets the password. Use a guest network, a strong password, and do not put it on a public wall.
Why does my phone not join after scanning?
Usually the name or password was typed wrongly, or the router password has changed since you made the code. Check capital letters, then make the code again. Also try a closer scan with no glare.
How do I make a QR code for a hidden Wi-Fi network?
Turn on the Hidden network switch before creating the code. It adds H:true to the text so the phone searches for the network by name even though it is not shown in the list.
Does it work for WPA3 and for open networks?
Yes. The WPA / WPA2 / WPA3 choice covers modern routers, and No password makes a code for an open network. WEP is also offered for very old equipment.
Can I use it for office or college Wi-Fi that needs a username?
No. The code holds only a network name and a single password. Enterprise networks that ask for a username and password cannot be joined with this kind of code.
Is my Wi-Fi password uploaded when I create the code?
No. The code is created in your browser and nothing is sent to Toolcloak. Remember that the downloaded image itself contains the password, so share and store it carefully.

