QR Codes for Wi-Fi and Contact Cards

undefined

The WIFI: format

A Wi-Fi QR code uses the WIFI: payload: WIFI:T:WPA;S:MyNetwork;P:password;H:false;;. T is the authentication type (WPA, WEP or nopass), S is the network name (SSID), P is the password, and H marks whether the network is hidden. A scanner that recognizes the format offers to join the network directly, without the user typing anything.

The password sits in plain text inside the code. Anyone who scans it can read it, and anyone who can photograph the code from a distance can read it too. That convenience is exactly why you should think twice before printing a Wi-Fi code and leaving it where strangers can see it.

The VCARD: format

A contact card uses the VCARD format: BEGIN:VCARD, VERSION:3.0, then fields such as FN (full name), TEL (telephone), EMAIL, ADR (address) and ORG (organization), ending with END:VCARD. Scanning it offers to save a new contact with the fields already filled in. It is handy for business cards, conference badges and email signatures, because the recipient never has to type the details.

Only the fields you include are encoded. If you do not want your home address scanned by strangers, leave ADR out. Like any payload, a vCard carries exactly what you put into it and nothing more.

The privacy caveat for public Wi-Fi codes

Printing a Wi-Fi QR code in a public place — a café window, a shared office wall, a community noticeboard — puts the network name and password where anyone can read them. A passerby can scan it and join the network, or simply copy the credentials and connect later from outside. If the network carries printers, file shares or other devices you do not want strangers reaching, a printed guest-code is a weak link.

The safer pattern is a separate guest network with limited access, or printing the code inside the premises where only visitors who are already there can see it. Treat a printed Wi-Fi code as if the password were written in plain text beside it — because it is.

What the scanner sees

This reader names the format it found — Wi-Fi network, contact card, calendar event, phone number — before it does anything. It never joins a network or saves a contact automatically. The decoded payload is shown to you first, so you can confirm what the code contains before you act on it.

Scan a QR code — free and private

← All QR guides