How to create a Wi-Fi QR code

Let guests join your network with a camera instead of a password — and understand exactly what you are sharing when you do.

Updated 5 December 2026 · 7 min read

A Wi-Fi QR code lets a guest join your network by pointing a camera at a card. No password to spell out, no "is that a capital I or a lowercase L". This guide explains the format, the security trade-off, and the cases where it will not work.

What the code actually contains

A Wi-Fi QR code holds a short line of text in a format agreed across Android and iOS:

WIFI:T:WPA;S:CafeGuest;P:coffee2026;H:false;;

Each field is a key and a value: T is the security type (WPA, WEP or nopass), S is the network name, P is the password and H marks a hidden network. Characters that would otherwise break the format — semicolons, commas, colons, quotes and backslashes — have to be escaped with a backslash. The generator on this site does that for you, which is why a password like p@ss;word,1 still produces a working code.

Create one in four steps

  1. Open the QR code generator and choose Wi-Fi.
  2. Enter the network name exactly as it appears in your phone's Wi-Fi list — it is case-sensitive, and a trailing space will break it.
  3. Enter the password, then pick the security type. Choose None for an open network; the password field then disappears.
  4. Download an SVG for print or a PNG for a screen, then scan it with a phone that is not already connected to that network.

The security question

Be clear about what you are doing: you are publishing your Wi-Fi password. Anyone who can see the code can read it with a free scanner app, and anyone who reads it can join the network. That is the point — but it means the code belongs on a guest network, never on the network your till, cameras, NAS or smart devices use.

  • Create a separate SSID for guests, with client isolation enabled if your router supports it.
  • Change the guest password periodically and reprint the card. Treat it like a shared key, because that is what it is.
  • If your router supports a captive portal with a time-limited voucher, that is stronger than a shared password and worth the extra setup for a busy venue.
  • Never put a Wi-Fi code in a photograph or a public listing where you cannot control who sees it.

Compatibility and limits

The WIFI: format is recognised by iOS 11 and later and by Android 10 and later through the built-in camera or Google Lens. Older Android devices may need a scanner app. A few practical limits:

  • Enterprise networks (802.1X) with a username and certificate are not covered by this format. Guests will still have to join manually.
  • Hidden networks are supported via the H:true flag, but behaviour varies between devices; test before relying on it.
  • WPA3-only networks generally work when the code declares WPA, because the field describes the class of security rather than the exact version.
  • MAC filtering will still block a guest even with the correct password.
  • The phone must be on and unlocked; joining a network is not something a phone does silently from a locked screen.

Where to put it

Print the code at 30–40 mm square on a card, a table tent or a sticker near the entrance, with the network name and the password in readable text underneath. That text is not redundant: it helps anyone whose camera is refusing to cooperate, and it makes the code honest about what it does.

For a café, a small framed card on each table works better than one sign by the till. For an office, put it in the meeting-room folder and the guest welcome sheet. For a rental property, add it to the welcome pack and laminate it — guests scan it before they have any connection, which is exactly when it earns its keep.

Test on the network, not near it. Scan the code with a phone that has never joined that network. A code that only works on a phone already connected is a code that has not been tested.