CIRCULATEQR

QR code glossary · Formats and payloads

WiFi QR code

Also called: Wi-Fi QR code, WIFI: URI

Definition

A WiFi QR code is a QR code that contains a network’s name, password and security type in the WIFI: text format, such as WIFI:T:WPA;S:Cafe Guest;P:espresso-2026;;, so a phone that scans it can offer to join the network without typing the password.

How it works

The code holds one line of text made of fields, each ending with a semicolon, with one more semicolon at the end:

Fields in the WIFI: format
FieldMeaningValues
TSecurity typeWPA, WEP or nopass for an open network
SNetwork name (SSID)Exactly as broadcast; capitals and spaces count
PPasswordLeft out for an open network
HHidden networkOptional; true if the name is not broadcast

A backslash, semicolon, comma, colon or double quote inside the name or password is escaped with a backslash, so the password pa;ss is written pa\;ss. Password-protected WPA2 and WPA3 networks normally use T:WPA; Android can also write T:SAE for WPA3-only networks.

The format began in the open-source ZXing barcode project, modeled on MECARD. It has since been registered with IANA as the provisional wifi URI scheme, which points to section 7 of the Wi-Fi Alliance’s WPA3 specification for its definition. Current iPhone and Android camera apps recognize it.

Why it matters

A WiFi code is always static: the phone needs the credentials themselves, not a link, so it cannot be tracked or edited, and changing the password means printing a new code. Anyone who can photograph the code has the password, so put guests on a separate guest network rather than the one your payment terminal and office computers use.

Escaping is where codes most often go wrong, because generators and phones do not all handle special characters the same way. If the name or password contains any of the reserved characters, test the printed code on an iPhone and an Android phone. Printing the network name and password as text beside the code helps people whose phones will not join automatically.

Example

WIFI:T:WPA;S:Cafe Guest;P:espresso-2026;; is 41 characters and fits a version 3 code (29 × 29 modules) at error correction level M.

In CirculateQR

The free WiFi generator builds the code in your browser, so the password is not sent to a server, and escapes all five reserved characters. WiFi codes are always static, free and never expire.

Learn more

Sources

Last updated . Written by the CirculateQR team; technical facts follow the sources listed above. Example codes and sizes are computed with the open-source qrcode encoder that CirculateQR uses. Spotted something wrong? Email support@circulateqr.com. QR Code is a registered trademark of DENSO WAVE INCORPORATED.

← Browse the full glossary