What goes in the T field

After T: there are only three legal values. Get one letter wrong and the code still scans — it just never connects, and the error usually says "incorrect password", which sends people down the wrong path.

1. The three legal values

T valueMeaningP field
WPAWPA / WPA2 / WPA3-Personal (including mixed mode)Required — the pre-shared key
WEPLegacy WEPRequired (many devices refuse it)
nopassOpen network, no passwordMust be omitted

There is no WPA2, WPA3, SAE or 802.1X value. The spec is deliberately coarse: any personal-key network is WPA.

2. WPA3 compatibility

What actually happens

  • The code is fine: T is WPA, P is the password, modern devices join normally.
  • Devices from around 2018 and older may be WPA2-only and report "unable to join" on a WPA3-only network.
  • So: for unknown guests, run WPA2/WPA3 mixed; keep WPA3-only for your own hardware.

3. Open networks: no key at all

Write WIFI:T:nopass;S:MyCafe;;. Adding an empty P:; makes some systems attempt a keyed handshake and fail; adding a real password makes the OS treat it as protected and fail too.

4. Enterprise networks don't fit

802.1X (EAP-TLS, PEAP and so on) needs a username, certificate, EAP method and server validation — none of which exist in the standard payload. At best the code prefills the SSID. For corporate WiFi, a sign saying "ask IT for the connection method" is more honest than a half-working code.

5. Five ways people get it wrong

MistakeResult
Writing WPA2 in TUnrecognised; may be read as open or ignored
Adding P to an open networkHandshake fails; "unable to join"
Unescaped ; in the passwordField truncated mid-password
Mixed case (Wpa, NoPass)Parsers differ; some devices fail outright
Declaring WEP on a WPA networkHandshake mismatch; can never connect

Pick a radio button instead

The studio takes WPA / WEP / open and generates the escaping and field order for you.

Open the WiFi QR studio

Related guides

Frequently asked questions

My network is WPA2 — do I write WPA2 in T?
No. The spec only defines WPA, which covers WPA, WPA2 and WPA3-Personal as one family. Writing WPA2 is unrecognised and gets skipped or misread as open.
Will a code work on a WPA3 network?
Yes, T stays WPA. But WPA3 needs device support: phones from before roughly 2018 may be WPA2-only and refuse a WPA3-only network. For guests, use WPA2/WPA3 mixed mode.
Why must an open network omit the password field?
An open network has no key, so P must be absent and T is nopass. Including P makes some systems attempt a keyed handshake and fail.
Can an enterprise (802.1X) network be encoded?
No. The standard payload has no username, certificate or EAP method fields — at most you can prefill the SSID. Joining still has to be done manually.
Is WEP still valid?
The value exists in the spec, but WEP is broken and most modern devices refuse it. Use it only while stuck on a legacy router, and replace that router.

Templates that fit this setup

Three layouts picked for this scenario — swap the venue name and password, then export.