qr.cihat.dev

Wi-Fi QR code generator

Guests point their camera at the code and join your network without typing the password. Print it for the kitchen, the office or the front desk.

Security
Colours and shape
#111827
#ffffff
Module shape
Error correction level

L recovers about 7% damage, M 15%, Q 25%, H 30%. Higher levels make the code denser.

Logo in the middle
Fill in the fields and the code appears here.

cm

How to use it

  1. Type the network name exactly as phones show it, including capitals and spaces.
  2. Type the password and pick the security type. Most home and office networks are WPA2 or WPA3.
  3. Check the line under the code, then download it or print it at the size you want.
  4. Test it once: open your phone camera, point it at the code and tap the join prompt.

What the code contains

A Wi-Fi QR code holds one line of text in a format phone cameras recognise, for example WIFI:T:WPA;S:Home;P:secret;;. T is the security type, S the network name, P the password, and H:true marks a hidden network. Special characters such as semicolons and colons in the name or password are escaped with a backslash, which this page does for you.

The password is written into the code in plain text. Anyone who can photograph the code can read it, so put the code where you would put the password itself.

Which security type to pick

Pick WPA for any WPA, WPA2 or WPA3 network: phones use the same code for all three. Pick WEP only for very old routers. Pick no password for an open network.

  • Enterprise networks that ask for a user name as well as a password (802.1X) are not made here. ZXing defines fields for them, but that login is personal and would sit in the code in plain text.
  • If the router name has a trailing space or an emoji, type it the same way, or the phone will look for a different network.

Finding your network name and password

On Android, open Settings, then Wi-Fi, tap the network you are on and choose Share: the phone shows the password under its own QR code. On iPhone with iOS 18 or later, the Passwords app lists saved networks under Wi-Fi. Many routers also print the default name and password on a label underneath.

The fields, one by one

The format comes from ZXing, the open-source barcode project, whose documentation lists it as read on Android and on iOS 11 and later. Fields can come in any order, and the line ends with an extra semicolon.

Fields in a Wi-Fi QR code
FieldMeaningExample
TSecurity type: WPA, WEP or nopass. ZXing also defines WPA2-EAP for enterprise logins.T:WPA
SNetwork name (SSID). The only required field.S:Cafe Guest
PPassword. Left out when T is nopass.P:secret
HOptional: true if the network is hidden.H:true

Worked example: escaping

ZXing’s rule: a backslash, semicolon, comma, double quote or colon inside the name or password gets a backslash in front of it. For a network called Cafe Guest with the password tea:time;2026, this page writes WIFI:T:WPA;S:Cafe Guest;P:tea\:time\;2026;;.

Without the backslashes a phone would cut the password at the semicolon and fail to join. An open, hidden network called Lobby becomes WIFI:T:nopass;S:Lobby;H:true;;.

How big the code gets

WIFI:T:WPA;S:Home;P:secret;; is 28 bytes and makes a version 3 code, 29 × 29 modules, at level M. A passphrase such as correct horse battery staple brings it to 56 bytes and version 4, 33 × 33 modules. Printed 4 cm wide with its margin, that version 4 code has modules close to 1 mm each.

Print the network name in plain text under the code as well, so a guest whose camera does not react can still pick the network. To check a code before you print it, read it back with the QR reader for images.

Questions people ask

Do iPhones and Android phones read Wi-Fi QR codes?

Yes. The built-in camera app on current iPhones and most Android phones recognises the Wi-Fi format and offers to join the network.

Is my Wi-Fi password sent anywhere?

No. The code is drawn in your browser. The password only exists on this page and in the image you download.

Will the code stop working?

Only if you change the network name or password. The code itself never expires.

Can I hide the password from guests?

No. Anyone with a QR reader can see the password inside the code. Use a separate guest network if that matters.

Why does my phone fail to join?

Usually the network name or password differs by one character or capital letter, or the security type is wrong. Scan the code with the reader on this site to see exactly what it contains.

How do I join Wi-Fi from a QR code on iPhone?

Open Camera, point it at the code and tap the notice that appears. Apple lists Camera and the Scan Code control in Control Center as the two ways to scan.

My network name has a semicolon or colon. Does that work?

Yes. Type it as it is; the page adds the backslashes the format needs, as in the example above.