# How to make a Wi-Fi QR code so guests join without typing the password, and what the code really contains

> Print it, stick it on the fridge, and every guest joins in one scan. Here is how to fill in the form, what the text inside the code looks like, how it handles hidden networks and special characters in passwords, and the one thing to remember: anyone who can see the code can read the password.

Published 2026-10-23 by Toolcloak. 6 minute read. Original: https://toolcloak.com/articles/how-to-make-a-wifi-qr-code-so-guests-join-without-typing-the-password-and-what-the-code-really-contains
Related free tool: [WiFi QR Code Generator](https://toolcloak.com/tools/wifi-qr-code-generator)

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](https://toolcloak.com/tools/wifi-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.

> **In short**
> - Type the **network name**, choose the **security** type, enter the **password**, and press **Create Wi-Fi QR code**. You can download it as a PNG or print it.
> - The code is just a short line of text such as `WIFI:T:WPA;S:HomeNet;P:Sunny2026;;`. Phones know this format and offer to join the network.
> - It supports **WPA/WPA2/WPA3**, **WEP** and **open networks with no password**, plus a **Hidden network** switch.
> - Anyone who can scan the code can **read the password** from it. Treat the printout like writing the password on paper.
> - It does not support networks that ask for a **username and password** (many offices and colleges).

## How to make the code, step by step

1. Open the [Wi-Fi QR Code Generator](https://toolcloak.com/tools/wifi-qr-code-generator).
2. In **Wi-Fi name (SSID)**, type the network name **exactly** as it appears on a phone, including capital letters and any spaces.
3. Choose **Security**: **WPA / WPA2 / WPA3** for almost every modern router, **WEP** only for very old equipment, or **No password** for an open network.
4. Enter the **Password**, exactly as set on the router. If you chose No password, the field is not needed.
5. Turn on **Hidden network** only if your network does not show up in the list of nearby networks.
6. Pick a **Size**: Small (300 px), Medium (400 px) or Large (600 px, meant for print).
7. Press **Create Wi-Fi QR code**, then **Download PNG** or **Print**.

Try it: [WiFi QR Code Generator](https://toolcloak.com/tools/wifi-qr-code-generator). Enter the network name and password, choose the security type, and create the code. Then test it with a phone.

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;;`.*

**A normal network and a hidden one**

| Normal network | Hidden network |
| --- | --- |
| No H field | H:true added |
| `WIFI:T:WPA;S:HomeNet;P:Sunny2026;;` | `WIFI:T:WPA;S:Lab;P:secret99;H:true;;` |
| The phone finds it in the list of nearby networks | The network does not announce its name, so the phone must be told to look for it |
| Most home and shop networks | 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](https://toolcloak.com/articles/whats-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.*

> **Type it exactly:** The most common reason a code “does not work” is a typo in the name or the password. Capital letters count, and so do a zero versus the letter O. Check by connecting a phone by hand with the same text first.

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

**From the printed code to being online**

1. **Open the camera.** On most recent iPhones and Android phones, the normal camera app reads QR codes. On some Android phones, Google Lens does it.
2. **Point at the code.** A banner appears with the network name, such as “Join network HomeNet”.
3. **Tap to join.** The phone fills in the password by itself and connects.
4. **Done.** No 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.

**Using the code safely**

| Box | What it means |
| --- | --- |
| Home | Fine on the fridge or by the door. Only people who are in your home can see it. |
| Cafe or shop | Use a separate guest network, not your main one, so customers cannot reach your till or printers. |
| Public posters | Avoid. A code on a wall in public gives the password to everyone who walks past. |
| After a change | Whenever you change the password, replace every printed copy. Old codes stop working and can confuse guests. |

*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](https://toolcloak.com/tools/password-generator) and the article on [why length matters more than symbols](https://toolcloak.com/articles/your-password-is-not-weak-because-it-is-short) explains how to choose it. Since a QR code removes the need to type it, you can afford a long, random password.

> **Not for office or college Wi-Fi:** Many workplaces and colleges ask for a username and a password (called enterprise Wi-Fi). This code has fields only for a name and one password, so it cannot carry a username. For those networks, the code will not work.

> **Privacy:** The code is drawn in your browser, so your password is not sent to Toolcloak. The PNG you download, however, contains the password. Keep it out of shared chats, public folders and screenshots you post.

## 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](https://toolcloak.com/tools/qr-code-reader). If you want a QR code for a website, a phone number or a payment instead, see the [QR Code Generator](https://toolcloak.com/tools/qr-generator), and the guide to [creating a UPI QR code for your shop](https://toolcloak.com/articles/how-to-create-a-upi-qr-code-for-your-shop-or-payments-fixed-amount-or-any-amount-and-how-to-test-it-safely).

## Frequently asked questions

### 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.

