Skip to content

How to Make a Wi-Fi QR Code and Who Can Read the Password

The text inside a Wi-Fi code, how to make one in the Passwords app or a generator, why it will not connect, and where to keep the password.

Get Stash

Quick answer

A Wi-Fi QR code holds the network name, security type and password as plain text, so anyone who scans or photographs it can read the password. Print one for a guest network, not your main one.

What is inside
A short text such as WIFI:T:WPA;S:name;P:password;; that phones read and turn into a join prompt.
On iPhone
In the Passwords app, tap Wi-Fi, choose the network and tap Show Network QR Code. A guest can scan it from your screen.
For printing
Make a static code with the exact network name, the security type and the password, then test it before you print.
When to use a vault
When the router password, the admin login or a screenshot of the code should sit behind a code of its own, not in Photos or Notes.

Best overall: Stash

A Wi-Fi QR code shares its password with everyone who scans it, and the router and network passwords people keep end up in screenshots or notes that open with the phone's passcode. Stash keeps chosen notes, photos and files behind a PIN of its own, inside a working calculator. Items in the vault are encrypted on the iPhone with AES-256 and stay outside the Photos library and iCloud Photos. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.

What a Wi-Fi QR code contains

A Wi-Fi QR code is a short line of text in a fixed format. The format phone cameras read was published by the ZXing barcode project, and it looks like this: WIFI:T:WPA;S:mynetwork;P:mypass;; (ZXing Barcode Contents, as of 2 December 2026). The fields are:

  • T is the security type: WEP, WPA, or nopass for an open network.
  • S is the network name (SSID). It is required.
  • P is the password, left out for an open network.
  • H is optional and set to true when the network is hidden.

Special characters in the name or password (\, ;, ,, " and :) are escaped with a backslash. When a phone scans the code, it reads this text and offers to join the network.

The point that matters for privacy is in the third field. The password is not scrambled or hashed. It sits in the code as readable text, and any QR reader app that shows the raw content will display it.

How to share Wi-Fi with a QR code on iPhone

Apple added a Wi-Fi QR code to the Passwords app, which arrived with iOS 18. Apple's iPhone User Guide, as of 2 December 2026, describes it (Find and share your Wi-Fi password):

  1. Open the Passwords app.
  2. Tap Wi-Fi. You may need to tap the Back button first to see the categories.
  3. Tap the network.
  4. Tap Show Network QR Code. Apple says friends and family "can scan to join the network".

Without a code, two Apple devices can share the password directly. Apple's support page lists the conditions: both devices have Wi-Fi and Bluetooth on, Personal Hotspot is off, each person has the other's Apple Account email or phone number in Contacts, and the devices are close together. When the other person taps your network, your unlocked iPhone asks you to tap Share Password (How to share your Wi-Fi password, published 17 March 2026).

To see the password itself in iOS 16 and later: Settings > Wi-Fi, tap the Info button next to the network, then tap the Password field and unlock with Face ID, Touch ID or the passcode (Find your saved Wi-Fi passwords, published 27 May 2026).

How to make a printable Wi-Fi QR code

The on-screen code in Passwords is for people standing next to you. For a card on a guest room table or a sign in a shop, make a static code you can print. The QR code generator on this site builds it in the browser tab, so the password is not sent to a server.

  1. Choose Wi-Fi.
  2. Type the Network name (SSID) exactly as it appears in the Wi-Fi list. Capital letters and spaces count.
  3. Under Security, choose WPA / WPA2 for almost every home and office router, WEP only for very old hardware, or None for an open network.
  4. Type the Password. The tool reminds you that WPA passwords have at least 8 characters.
  5. Tick Hidden network (does not broadcast its name) if the network does not show up in the Wi-Fi list.
  6. Scan the code on screen with a phone that is not yet on the network, and check that it joins.
  7. Download SVG for print, or a large PNG.

Why a Wi-Fi QR code does not connect

  • The network name is not exact. "Home WiFi" and "home wifi" are different names.
  • The security type is wrong. A WPA network does not accept a code marked WEP or None.
  • The hidden flag is missing. A network that does not broadcast its name needs it.
  • The password changed. A printed code keeps the old password until you print a new one.
  • The print is hard to read. Glossy lamination, a small code or a cropped light border all slow down the camera.

Who can read the password in a Wi-Fi QR code

This table is about a code printed on a card or sign. It is based on the ZXing format above, where the password is stored as plain text.

Who Can they get the password? How
A guest who scans the code with the iPhone camera Can join, and the code they scanned holds the password The camera offers to join the network
Anyone with a QR reader that shows raw text Yes The reader shows P: and the password
Someone who takes a photo of the card Yes The photo scans like the original
A person who sees a photo of the card online Yes Any picture of the code can be scanned
Anyone on the network Yes, in effect They are already connected with it
A device that once joined Keeps access It stays connected until the password changes

The last row is the one people forget. Removing the card does not remove access. Only a new password on the router does, and then every printed code needs to be replaced.

Use a guest network for the printed code

Most current routers can run a second, separate network for visitors. Put that network on the printed card, not your main one:

  • Visitors get internet access while your own computers, printers and storage stay on another network.
  • You can change the guest password whenever you like, reprint the card, and leave your own devices alone.
  • A photo of the card that ends up online exposes only the guest network.

Check your router's manual or app for the exact setting name; it is usually called a guest network or guest Wi-Fi.

When the Passwords app QR code is enough

For sharing at home, it often is:

  • A visitor is in the room and can scan your screen.
  • You want them on the network once, without writing the password down.
  • Nothing is printed, so nothing is left behind on a table or a fridge door.

When you need more than the Passwords app

The Passwords app shows codes for networks your iPhone has joined. The other secrets that come with a network usually live elsewhere: the router's admin password, the label on the bottom of the router, the guest password you rotate, and often a screenshot of a Wi-Fi code saved for later. Those screenshots land in the Photos library, where they appear in search, sync with iCloud Photos and open with the phone's passcode. Notes typed into the Notes app are in the same position unless locked.

Keep them under a separate lock when:

  • Several people use your iPhone or know its passcode.
  • A screenshot shows the password or the code itself.
  • You manage networks for a family member, a small shop or a rental flat and keep several passwords.

For how the built-in options compare, see iPhone Keychain vs a vault.

How to keep Wi-Fi passwords and codes private with Stash

Stash looks and works like a calculator. Your PIN opens the vault, and items in it are encrypted on your device with AES-256, with the key kept in the iOS Keychain.

  1. Install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
  2. Open it, choose your PIN and write down the recovery key that Stash shows once during setup.
  3. Write the router admin password, the guest password and the network names in a secure note in the vault.
  4. Tap + and import any screenshots of Wi-Fi codes or photos of router labels.
  5. Delete the originals in Photos, then again in Recently Deleted, where they otherwise stay for 30 days.

When you change the guest password, update the note, make a new code in the generator and reprint the card.

FAQ

Does a Wi-Fi QR code contain my password?

Yes, as plain text in the P: field. Anyone who scans or photographs the code can read it with a reader that shows the raw text.

How do I create a WiFi QR code?

To create a WiFi QR code, choose Wi-Fi in the generator, type the exact network name, the security type and the password, then scan the result with a phone that is not yet on the network. For a quick code on your own iPhone, use the Passwords app instead.

How to generate WiFi QR code for printing?

How to generate WiFi QR code for a card or sign: use the same generator, tick Hidden network if the network does not show up in the Wi-Fi list, and download SVG or a large PNG. Print the code for a guest network, not your main one.

How do I show a Wi-Fi QR code on my iPhone?

Open the Passwords app, tap Wi-Fi, tap the network and tap Show Network QR Code. The Passwords app is part of iOS 18 and later.

Which security type should I choose?

WPA / WPA2 for almost every network today, WEP only for very old routers that use it, and None for an open network without a password.

Why does my Wi-Fi QR code not work?

Usually the network name is not typed exactly, the security type is wrong, the hidden flag is missing, or the password has changed since the code was made.

Is my password uploaded when I make the code?

Not with the generator on this site: the code is calculated in the browser tab and nothing is sent to a server. Other generators work differently, so check before typing a real password.

Does a Wi-Fi QR code expire?

No. It keeps working until you change the password or rename the network.

Is it safe to print a Wi-Fi QR code?

For a guest network with a password you change from time to time, yes. For your main network, anyone who photographs the card gets the password.

How do I stop someone using a Wi-Fi code they scanned?

Change the Wi-Fi password on the router. Every device that joined, and every printed code, stops working until it gets the new password.

The Bottom Line

A Wi-Fi QR code is convenient because it does the typing for your guests, and that is also its limit: the password sits inside the code in plain text, readable by any scanner that shows raw content and by anyone who has a photo of the card. The table above shows that removing the card does not remove access; only a new password does.

So show the code from the Passwords app when a visitor is in the room, print codes only for a guest network, and change that password when you want to close the door. Keep the router admin password, the guest password and any screenshots of codes out of the camera roll, in a vault with its own PIN, so the network's keys are not one passcode away.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: How to Make a Wi-Fi QR Code and Who Can Read the PasswordDownload this guide as an image