Skip to main content

WiFi QR Code Generator

Enter your network name and password once, print the code, and guests join with a single scan — no spelling out a password letter by letter, no typos. It works with the camera built into every modern iPhone and Android phone.

Private by construction: the code is built entirely in your browser. Your WiFi password is never uploaded, stored, or logged — check the payload shown above the code: what you see there is all the code contains.

Security type

Turn on if the network does not broadcast its name.

Error correction

What the code contains — check it before you share it

WIFI:T:WPA;S:Home Net;P:correct horse;;

The password is inside the code — that is how guests join without typing. Anyone who scans it can also read it, so share the printed code the way you would share the password itself.

Version 3 · 29 × 29 modules · 39 bytes · contrast 21.00:1

Embed this calculator on your website →

The formula

WIFI:T:WPA;S:Home Net;P:correct horse;;

  • One payload format. Phones read a QR code starting WIFI: as a network offer. The fields are T: the security type, S: the network name (SSID), P: the password, and H:true when the network is hidden.
  • Escaping is the correctness detail. Inside a value, the characters \ ; , : " are the format's punctuation, so each one in your name or password is written with a backslash before it — otherwise a password containing a semicolon would silently end the field early and the code would offer the wrong password.
  • WPA covers WPA2. The format has one token for the whole WPA family, so WPA, WPA2, and mixed-mode networks all use T:WPA. Open networks use T:nopass and carry no password field at all.

Worked example: a network named Home Net with password correct horse produces exactly the payload printed above — 38 characters, which at level M becomes a version 3 code (29×29 modules).

How it works

Print it where guests can see it. A fridge door, a guest-room frame, the back of a café counter card. The PNG at 512 px prints sharply up to about 10 cm wide; choose 2048 px for anything larger, and keep the white border around the code — scanners need it.

The password travels with the code. That is the point — scanning hands the phone your password so nobody has to type it. It also means the printed code deserves the same care as the password itself: when you change the password, print a fresh code.

Older security types. WEP is included only because old equipment still exists; it was cracked long ago and protects almost nothing. If your router offers WPA2 or WPA3, use it — the codes here work for both via the WPA setting.

Examples

  • Home guests — one framed print by the door ends the “what's the WiFi password?” ritual for good.
  • Cafés and rentals — a counter card or welcome-book page that joins customers without staff reading the password aloud.
  • A changed password — regenerate and reprint: the whole update takes under a minute, and the old print goes in the shredder.

Frequently asked questions

Is my WiFi password uploaded or stored?

No. The code is generated entirely in your browser; the password never leaves your device and is not stored anywhere. It does live inside the QR code itself — that is how scanning joins the network — so treat a printed code like the password written down.

Which phones can scan it?

Any modern iPhone (iOS 11 and later) and virtually all Android phones (Android 10 and later, and most earlier ones) join directly from the built-in camera. Older devices can use any QR scanner app.

My network is WPA2 or WPA3 — which setting?

Choose WPA / WPA2. The payload format uses the single token T:WPA for the whole WPA family, and phones sort out the exact variant with your router during the join.

The scan joins with the wrong password — why?

Almost always a special character. This tool escapes the format's five punctuation characters automatically; if you typed the password with a trailing space or the router's name differs by one character from the phone's WiFi list, the join fails the same way typing it wrong would. Compare the payload shown above the code with your router's settings.

Can I hide the password from the printed code?

No — a join code must contain the password; that is what it is for. If you do not want the password readable by anyone with a scanner, a guest network with its own simpler password is the safer setup.