Guide

Wi-Fi QR codes

The payload format, what phones do with it, and the security trade-off · Last updated 15 November 2026

Create a QR code →

A Wi-Fi QR code is not a link. It contains a short configuration string that phones recognise as a network credential, so scanning it opens the "join this network" prompt with the SSID and password already filled in. That is all it does — there is no magic, and nothing is checked against a server.

The Wi-Fi tab of the QR generator with the network name Bluebird-Guest, WPA/WPA2/WPA3 encryption, a masked password and a hidden-network option.
A Wi-Fi code carries the network name, the encryption type and the password — plus the option for a network that hides its SSID.

The payload

The format is a semicolon-delimited string:

WIFI:T:WPA;S:MyNetwork;P:my password;H:false;;

Escaping is where these break

The format has no length prefixes, so it relies on delimiters — which means a password containing a delimiter must escape it with a backslash. These four characters need escaping in the SSID or password:

\  ;  ,  "

A password of coffee;tea must be encoded as coffee\;tea. Get this wrong and the phone joins with a truncated password, which fails in the most frustrating way possible: the prompt appears, the join fails, and nothing explains why.

This generator escapes those characters for you when you type in the Wi-Fi tab, and it unescapes them again when you scan a code back into the editor, so round-tripping a real network credential does not corrupt it.

What each platform does

On iOS, the camera app shows a "Join Network" banner and adds the network without leaving the camera. On Android, the same string opens a network suggestion sheet or the Wi-Fi settings dialog depending on the version and the vendor's skin. In both cases the user still has to confirm — a code cannot join a network silently, which is the right behaviour but surprises people who expect a single tap.

Enterprise networks (WPA2-Enterprise, 802.1X) are not expressible in this format: there is nowhere to put a username or an EAP method. Guest networks with a captive portal are also a poor fit — the code joins the network, then the user still has to log in through a web page, which no QR code can do for them.

The security trade-off, stated plainly

A static code cannot be revoked. Print the Wi-Fi password on a table tent and it is public forever: anyone who has seen the code has the password, whether or not they ever scanned it while they were in the building. If that matters, the options are a guest network with a password you are willing to rotate — and reprint the codes when you do — or a captive portal, which the code cannot automate.

Two practical mitigations: use a separate SSID for guests so rotating the password does not disturb staff devices, and keep the guest network isolated from internal systems at the router, not just at the password.

Sizing and placement

A Wi-Fi payload is short, so the symbol stays sparse and scans easily even when small. A 2–3 cm code is right for a table tent read at arm's length, and it prints cleanly at that size because there are few modules to resolve. Avoid laminating over the code if you can: the highlight from a glossy surface is the most common reason a table code fails in a dim restaurant. The print guide has the sizing rules in full.

Troubleshooting

Make one in the generator — the Wi-Fi tab formats and escapes the payload as you type — and check the scannability guide before you print a batch. All guides are listed in the guides index.