Advertisement

WiFi QR Code Generator

Create a Wi-Fi QR code so guests join your network by pointing their phone camera at it. Supports WPA/WPA2/WPA3, WEP, open and hidden networks.

Leave off for iPhone and modern Android cameras.

Print a QR code that lets guests join your Wi-Fi without typing the password. The camera app on iPhone (iOS 11 or later) and on Android 10 or later recognises the code and offers to join the network directly. Optionally get a printable card with the code, the network name and the password. The code is built in your browser; the password is never sent anywhere.

How to use this tool

  1. Type the network name exactly as phones show it — capitals and spaces matter.
  2. Enter the password and pick the security type from your router settings.
  3. Tick Hidden network only if the router does not broadcast the name.
  4. Download the QR code or the printable card and put it where guests can scan it.

Formula

WIFI:T:<WPA|WEP|nopass>;S:<network name>;P:<password>;H:true;;

This is the ZXing "Barcode Contents" Wi-Fi format that phone cameras read. In the name and password, the characters \ ; , : and " are escaped with a backslash. P: is left out for open networks and H:true is added only for hidden ones. WPA covers WPA, WPA2 and WPA3 personal networks.

Example

Network Home with password p;ssword on WPA2 becomes WIFI:T:WPA;S:Home;P:p\;ssword;; — the semicolon in the password is escaped so it is not read as a field separator. These 31 bytes need QR version 3 at level M. An open café network called Cafe becomes WIFI:T:nopass;S:Cafe;;.

Frequently asked questions

Is it safe to put my Wi-Fi password in a QR code?

Anyone who scans the code can join, exactly as if they read the password on a sticker. Use a guest network for visitors, and replace the code if you change the password.

Which security option should I choose?

WPA/WPA2/WPA3 for almost every modern router, WEP only for very old equipment, and None for open hotspots. If unsure, check the Wi-Fi or wireless page of your router settings.

The phone shows the network but will not connect. Why?

Usually the name or password differs from the router by one character, a capital letter or a trailing space. Check them, generate a new code and scan again.

What does the hex-name option do?

Old ZXing-based scanner apps treat a name made only of 0–9 and A–F (such as CAFE) as hexadecimal bytes; wrapping it in quotes fixes those apps. iPhones read the quotes literally, so the option is off by default.

Last updated: 2026-10-30

Advertisement