Skip to content
GuestWiFiGuestWiFi

The Wi-Fi QR code format, explained

Every Wi-Fi QR code contains one line of text. Knowing the format helps you check a code and understand why some codes fail.

Step by step

  1. 01

    Start with WIFI: and add T: for the security type (WPA, SAE, WEP or nopass).

  2. 02

    Add S: with the network name and P: with the password, each followed by a semicolon.

  3. 03

    Put a backslash before any backslash, semicolon, comma, colon or double quote inside the name or password.

  4. 04

    Add H:true for a hidden network, and end the line with two semicolons.

An example

A network called Café;Guest with the password tide:7Kp4 becomes WIFI:T:WPA;S:Café\;Guest;P:tide\:7Kp4;;. Without the backslashes the phone would cut the name at the semicolon and the code would fail.

Error correction and print size

GuestWiFi uses error correction level M, which survives about 15% damage while keeping the squares large. Every code keeps a white border four squares wide, and nothing is drawn over the code. Print it at least 3 cm (1.2 in) wide for close-up scanning.

Questions

Is the password encrypted inside the code?

No. It is plain text that any QR reader can display, which is why guest networks are recommended.

What about non-Latin network names?

The text is stored as UTF-8. Modern phones decode it correctly; some older Android versions may not.

Can I check what a code contains?

Yes. Copy QR text in the card maker shows the exact string, and GuestWiFi tests its output by decoding it again.