Practical Guides

Wi-Fi QR Codes: How to Share Your Network

Let guests join your Wi-Fi with a scan. How Wi-Fi QR codes work, how to make one, and how to keep them safe.

A Wi-Fi QR code lets anyone join your network by pointing a phone camera at a small square — no spelling out a cryptic password, no typos, no "is that a zero or an O?" It's one of the most genuinely useful things a QR code can do. 🐾

Whether it's a home guest network, a café, an office lobby, or a holiday rental, a Wi-Fi code turns onboarding into a two-second scan. This guide explains the format that makes it work, how to make one, and how to share it safely.

How does a Wi-Fi QR code work?

A Wi-Fi QR code encodes your network details as a small piece of specially formatted text. When a modern phone's camera reads it, the operating system recognises the pattern and offers a "Join network" prompt. Tap it, and you're connected — the phone fills in the network name and password for you.

This works natively on modern iOS and Android without any extra app; the camera app handles it. Older devices may need a QR scanner app, but current phones recognise Wi-Fi codes straight from the camera.

What is the WIFI: format?

Under the hood, the code contains a plain-text string in a standard format. It looks like this:

WIFI:T:WPA;S:<ssid>;P:<password>;;

Each part has a job:

  • T — the security type: WPA (covers WPA/WPA2/WPA3), WEP for old networks, or nopass for an open network.
  • S — the SSID, meaning your network name exactly as it appears.
  • P — the password. Leave it empty for an open network.
  • The trailing ;; closes the string.

So a network named CafeGuest with password coffee123 becomes:

WIFI:T:WPA;S:CafeGuest;P:coffee123;;

If your network name or password contains special characters like ;, ,, ", :, or \, those need to be escaped with a backslash. A good generator handles this for you, so you don't have to hand-craft the string.

Hidden networks

If your network doesn't broadcast its name, add H:true; to the string so the phone knows to look for a hidden SSID. Most networks broadcast normally and don't need this.

How do I make a Wi-Fi QR code?

You don't need to type the format by hand. The easy path:

  1. Choose the Wi-Fi option in a QR generator.
  2. Enter your network name (SSID) exactly — capitalisation matters.
  3. Enter the password and pick the security type (usually WPA).
  4. Generate the code, then test it on a couple of phones before printing.

You can create a free QR code for Wi-Fi right in your browser with QR Puppy — it builds the WIFI: string correctly, escapes special characters, and generates everything locally so your password is never sent anywhere. Because it's a static code, it never expires and needs no account.

Your Wi-Fi password lives inside the code as plain text. That's fine for a code you print and control — but it's exactly why you should generate it somewhere that doesn't phone home.

Should I use a guest network?

Yes — for anything you'll display publicly, a guest network is the single best safety habit. A guest network shares your internet but isolates visitors from your main network, so your computers, printers, storage, and smart-home devices stay out of reach.

The benefits:

  • Isolation. Guests can browse the web but can't see your private devices.
  • Easy rotation. Change the guest password whenever you like without disrupting your own devices — then just reprint the code.
  • Peace of mind. If a code ends up somewhere public, only guest access is exposed, not your whole home.

Most routers can create a guest network in a few minutes from their settings page. Make the Wi-Fi code point at that network, not your primary one.

Where should I display a Wi-Fi code?

Good spots make the code easy to find and easy to scan:

  • Home: on the fridge, in a guest room, or framed by the router.
  • Cafés and shops: on the counter, a table tent, or a window card.
  • Offices: in the reception area or a meeting room.
  • Rentals: in the welcome booklet or on the wall near the entrance.

Add a short label like "Scan to join Wi-Fi" and, helpfully, the network name in plain text so people who can't scan can still type it in. Print with strong dark-on-light contrast, keep the quiet-zone margin clear, and size it for the reading distance — our printing guide and quiet zone guide cover the details.

Is a Wi-Fi QR code safe?

It's as safe as the network you point it at, with a few things worth knowing:

  • The password is readable. Anyone who can decode the QR can read the password — the code is a convenience, not a secret vault. Treat a displayed code like a password written on a card.
  • Use a guest network for anything public, so a shared code never exposes your private devices.
  • Generate it locally. Prefer a tool that builds the code in your browser rather than uploading your credentials to a server.
  • Rotate when needed. If a code has been widely seen and you want to reset access, change the password and print a fresh code.

For a deeper look at the trade-offs and how to think about exposure, see our dedicated Wi-Fi QR code security guide.

Why static is the right choice here

Wi-Fi credentials are stable — you don't change your network name every week. That makes a static code ideal: the details are baked into the pattern, it works offline forever, and there's no server, subscription, or tracking involved. A dynamic redirect would add a dependency for no benefit. If you ever do change the password, you simply generate a new code. Our overview of static vs dynamic codes explains why permanence wins for printed, physical things.

Frequently asked questions

Do I need an app to scan a Wi-Fi QR code?

Not on modern phones. Current iOS and Android recognise Wi-Fi codes straight from the camera app and offer a "Join network" prompt. Only older devices might need a separate QR scanner app.

Can someone steal my password from the code?

Anyone who scans or decodes the code can read the password — it's stored as plain text inside the pattern. That's fine for a code you display deliberately; just use a guest network for anything public so your private devices stay protected.

Does the Wi-Fi code work without internet?

Yes. A static Wi-Fi code contains the network details directly, so scanning and joining works entirely offline. There's no server involved and nothing to expire.

What if my password has special characters?

Characters like semicolons, colons, commas, quotes, and backslashes must be escaped with a backslash inside the WIFI: string. A good generator does this automatically, so you can enter your password normally.

How do I change the network the code points to?

Generate a new code with the updated name or password and reprint it. Because the details are baked into a static code, editing means creating a fresh one — quick and free, with no subscription needed.

Make a QR code the honest way 🐾

Free forever, no tracking, no expiry — generated right in your browser.

🎨 Create a QR code →