Skip to content
XUtilHub

How to Make a QR Code for Your WiFi Password

XUtilHub Team ·

Reading out a 16-character WiFi password to every guest gets old fast. A WiFi QR code lets visitors join your network by pointing their phone camera at it, with no typing and no spelling mistakes.

How WiFi QR codes work

The QR code stores your network details in a standard format that phones understand:

WIFI:T:WPA;S:MyHomeNetwork;P:my-secret-password;;
  • T is the security type (WPA, WEP or none)
  • S is the network name (SSID)
  • P is the password

When a phone scans it, the camera app offers to join the network. Both iPhone (iOS 11 and later) and Android (10 and later) support this in the built-in camera.

How to make one

  1. Open the WiFi QR code generator.
  2. Enter your network name exactly as it appears, including capitals and spaces.
  3. Enter the password and choose the security type. Most home routers use WPA/WPA2 or WPA3; choose WPA.
  4. Tick hidden network if your router doesn't broadcast the name.
  5. Download the QR code as PNG or SVG and print it.

The code is generated in your browser, so your WiFi password isn't sent to any server.

Test before you print

Scan it with your own phone, ideally one that has never joined the network, or forget the network first. The QR code scanner can also decode the image to show exactly what's inside.

Where to put it

  • Home: on the fridge, in the guest room, or framed by the door.
  • Cafés, clinics and offices: on table cards, reception desks and waiting rooms.
  • Airbnb and rentals: in the welcome booklet.

Print it at least 3–4 cm wide so it scans easily from a normal distance.

Security tips

Anyone who sees the code can join your network, and can decode the password from it. So:

  • Use a guest network for visitors if your router supports one. It keeps guests away from your computers, printers and cameras.
  • Don't post it publicly, such as on social media or a shop window facing the street.
  • Change the password occasionally, and print a new code when you do.

If it doesn't work

  • Check the network name for exact spelling and capitalisation.
  • Special characters in the password, such as ; , : or \, must be escaped. A proper generator handles this automatically.
  • Older phones may need a QR scanner app instead of the camera.
  • WPA3-only networks may not connect from older phones; a WPA2/WPA3 mixed mode works more widely.

Tools mentioned in this article

← All articles