QRAnalytica

How to Create a WiFi QR Code Sign Guests Can Actually Scan

A WiFi QR code sign holds your network name, password and security type. Generate it, escape special characters, test on iPhone and Android, then print.

Nookesh Karri · 8 min read
Dark cover card with the title 'How to Create a WiFi QR Code Sign Guests Can Actually Scan' in white and a lime accent bar

A WiFi QR code sign is a printed card with a QR code that holds your network name, password and security type, so guests join by pointing their camera at it instead of typing. To make one, generate a WiFi-type QR code (not a URL code), check the password’s special characters, test it on an iPhone and an Android phone, then print it large enough to scan from where people sit.

How does a WiFi QR code work?

A WiFi QR code is a short line of text in a fixed format that phones recognise as network settings. The ZXing project’s barcode reference gives the example WIFI:T:WPA;S:mynetwork;P:mypass;;, where:

  • T is the security type: WPA for password networks, WEP for old ones, or nopass for an open network.
  • S is the network name (SSID). It is the only required field.
  • P is the password.
  • H:true is optional and marks a hidden network.

The format is now registered with IANA as the wifi URI scheme, which points to section 7 of the Wi-Fi Alliance WPA3 specification and says it stays compatible with the format popular devices already used. In practice that means the code has no web link inside it. The phone reads the credentials straight from the pattern and asks the guest whether to join.

Which phones can scan a WiFi QR code sign?

Current iPhones and Android phones read WiFi QR codes with the built-in camera, no app needed. ZXing lists the format as working on Android and iOS 11+, and one generator’s documentation puts native support at iOS 11 and Android 10.

On an iPhone, guests open the Camera in Photo mode, point it at the code and tap the yellow Join button. If nothing appears, Settings > Camera > Scan QR Codes has been switched off. On Android, the camera or Google Lens shows a prompt to connect.

Android can also make the code for you. Google’s Android help says to open Settings > Network & internet > Internet, pick your network and tap Share. That is handy for a quick test, but a phone screenshot is a poor master file for a printed sign.

How to create a WiFi QR code sign, step by step

Making the code takes a minute. Most failed signs come from the details in steps 2 and 4.

  1. Set up a guest network first. The FTC’s Wi-Fi security guide notes that many routers can run a guest network with its own name and password. That keeps guest devices, and any malware on them, off the network your own devices use. Set it to WPA3 Personal or WPA2 Personal.
  2. Copy the network name exactly. SSIDs are case-sensitive and spaces count. Cafe Guest and cafe guest are different networks to a phone.
  3. Choose a WiFi QR type in your generator, not a URL type. Pick WPA/WPA2/WPA3 as the security type for any password network.
  4. Check the password for special characters. Backslash, semicolon, comma, double quote and colon have meaning in the format and must be escaped with a backslash, per ZXing’s spec notes. A good generator does this for you; check that yours does.
  5. Download a vector or high-resolution file. SVG or a large PNG keeps the module edges sharp when the code is scaled for print.
  6. Test before printing. Scan the file on screen with one iPhone and one Android phone, and actually join the network on both.
  7. Print, then test the print. Scan the physical sign from where a guest would hold their phone.

A worked example: the password with a semicolon

Escaping is where hand-made codes break. Say a cafe’s guest network is Juniper Guest and the password is latte;art,flat. Paste that into a template without escaping and the string becomes WIFI:T:WPA;S:Juniper Guest;P:latte;art,flat;;.

A phone reads the first semicolon as the end of the password. It tries to join with latte, fails, and the guest sees a wrong-password error even though the code scans fine. The correct string is:

WIFI:T:WPA;S:Juniper Guest;P:latte\;art\,flat;;

Field order doesn’t matter, so S before T is fine. ZXing also suggests wrapping a name or password in double quotes if it could be read as hex, such as ABCD.

The WPA3 trap: T:SAE vs T:WPA

WPA3 networks have no separate security value in the QR format. According to a write-up quoting section 7.1 of the WPA3 spec, the type for any password network is WPA. The same author found that Android, KDE Plasma and GNOME write T:SAE when sharing a WPA3 network, while Windows writes T:WPA.

So if your router runs WPA3 and you made the code by screenshotting an Android share screen, some phones may refuse it. Regenerate it in a tool that writes T:WPA and test again. The Wi-Fi Alliance publishes the WPA3 specification if you want the grammar itself.

What to put on the sign and how big to print it

A WiFi sign needs the QR code, the network name in plain text, a one-line instruction and the password in text for laptops that can’t scan. One printable template uses a 5×7 inch card (127 x 178 mm) with the network name below a large code and a short line like “Scan to connect to WiFi”.

For file size, one generator recommends exporting 1024px for a counter sign, 2048px or SVG for a wall poster, and never below 512px for print. The physical size depends on scan distance; our guide to QR code size for printing has the rule of thumb.

Good spots by venue:

  • Cafe or restaurant: a table tent on each table, plus one by the counter where people ask.
  • Short-term rental: a framed card on the living room table or by the router, not buried in a welcome book.
  • Office: reception desk and meeting rooms, on the visitor network only.

Brand colours are fine if contrast stays high. Dark code on a light background is safest, and a logo needs the right error correction level, covered in our post on putting a logo in the middle of a QR code.

Treat the printed password as public

Anyone who photographs a WiFi QR code sign can decode the password. Both Cleverence and SlideModel say this plainly, and both point to a guest network as the fix. Follow the FTC’s advice too: no password built from your business name, address or router brand.

My take: if your router can’t run a separate guest network, don’t put the password on a public sign at all. Hand it out verbally until you can split the network. A sign on your main network is a standing invitation to everything plugged into it.

The limitation: you can’t edit a WiFi code after printing

A WiFi QR code can’t be updated once it’s printed. The credentials live in the pattern, and there is no redirect server in between, so the dynamic-code trick of changing the destination later doesn’t apply. Our dynamic vs static QR code guide explains why redirects only work for links.

Change the guest password and every sign goes stale. Plan for it: print on cheap card stock you can replace, or rotate passwords on a fixed schedule and reprint in one batch. If a sign stops working, run through our checklist for QR codes that won’t scan before assuming the code itself is wrong.

When you’re ready to build one, our WiFi QR generator makes the code and the printable card in one place.

FAQ

Do guests need an app to scan a WiFi QR code?

No. The iPhone Camera app has read WiFi QR codes since iOS 11, and Android phones since Android 10. The phone asks before it joins, and the guest taps Join.

Is it safe to print my WiFi password as a QR code?

Treat any password on a public sign as public, because anyone with the image can decode it. Put the sign on a guest network with its own password, never on the network your till, cameras or office computers use.

Can I change the WiFi password without reprinting the sign?

No. A WiFi QR code stores the network name and password in the pattern itself, so a new password needs a new code and a new print.

Why does my WiFi QR code scan but fail to connect?

The usual causes are a typo in the network name, an unescaped semicolon, comma, colon, quote or backslash in the password, or a code made with T:SAE for a WPA3 network that the scanning phone doesn’t accept. Regenerate it with T:WPA and the special characters escaped.

Sources

Track your dynamic campaigns. 7-day trial, no credit card.
Generate Dynamic QR