Browsers & softwarePractical guides

Wi-Fi QR code shows the wrong network? Check SSID escaping and decoded content

If a Wi-Fi QR scans but displays the wrong network name, compare the original SSID with the encoded text. Colons and semicolons have structural roles in the payload. This fictional example follows a name through generation, image decoding and a connection check.

A wireless router antenna and illuminated status lights
Illustrative photo: dlxmedia.hu · Unsplash License

Key Takeaways

Enter the original network name and password in the Wi-Fi form. Let the generator escape the fields, inspect the encoded text and decode the downloaded image. Confirm the network and connection separately on the target phone.

In this article

Use a network name containing a semicolon

The ZXing Wi-Fi format notes describe fields for the name, authentication, password and hidden-network flag. Our teaching example uses SSID Studio;Guest, password Demo:pass123, WPA authentication and a visible network. These values describe no real access point.

Open the QR tool, choose Wi-Fi and enter the raw values. Let the form perform escaping. Adding a backslash yourself before entering the SSID can introduce an unintended character.

Expected encoded text

WIFI:T:WPA;S:Studio\;Guest;P:Demo\:pass123;H:false;;
Fictional exercise. The escaped delimiters remain literal characters within the name and password.

Check generation, the downloaded image and the phone

A correct image can still lead to a failed join if the password changed or the access point applies additional restrictions. Ask the network maintainer to confirm the configuration. For a printed card, follow the quiet-zone and print check.

  1. After generating, inspect S, P, T and H in Encoded content. H:false matches this exercise’s visible-network setting.
  2. Check the generator’s automatic PNG read-back status, then download the plain PNG. Use the intended phone or an app that reads QR images to verify the final downloaded file. Recheck after editing or adding a logo; automatic read-back covers the image generated in this run.
  3. For a real handoff, use an authorized guest network. Scan on the intended phone, read the network name before joining, and record the recognition and connection results.

Locate the failing step

If the phone displays only Studio, inspect the escaping before the semicolon. If the full name appears but joining fails, check credentials and authentication. If recognition itself fails, try the original PNG at a readable size with ordinary contrast.

A real acceptance note can record matching decoded text, the displayed SSID and a successful connection to an agreed test page. The fictional values only support generation and read-back practice. Keep the final image with the publication-pack checks.

A Wi-Fi QR contains the network name and credentials. Share it with people authorized to use that guest network.

Further reading & sources

Put the guide into practice

Open the relevant tool, preview the result and check your exported file.