Home › Generators & Text Tools › QR Code Generator for WiFi

QR Code Generator for WiFi

Stop reading your WiFi password out loud, letter by letter. This QR code generator for WiFi turns your network name and password into a single scannable code: guests point a phone camera at it and join — the same scan-and-done habit everyone in India already has from UPI payments. Cafés print it for customers, families stick it on the fridge, and offices keep it in the meeting room. It is free, it works offline once the page loads, and nothing leaves your device — your password is never uploaded anywhere.

Type the name exactly as it appears in your phone's WiFi list — it is case-sensitive, and spaces count.

Leave blank only if the network is open. Passwords are case-sensitive too.

Your QR code will appear here
Enter your network details and press Generate.

Privacy: the code is drawn in your browser. Nothing leaves your device — the network name and password you type are never sent to a server or stored.

How to use

  1. Type your network name exactly as it shows in your phone's WiFi list, capitals and spaces included.
  2. Choose the security type — WPA covers WPA, WPA2 and WPA3, which is what almost every home and office router uses.
  3. Type the password, tick Hidden network only if your router does not broadcast its name, and press Generate QR Code.
  4. Test the code with your own phone first, then use Download PNG to print it or share it on screen.

What is inside a WiFi QR code?

PartMeaningExample
TSecurity type: WPA, WEP or nopassT:WPA
SSSID — the network nameS:GuptaHome
PPassword (left out for open networks)P:wifi@1234
HHidden network flag, true or falseH:true
;;Two semicolons mark the end…;;

How it works

A WiFi QR code is just a short line of text in a standard format, drawn as a picture. When a phone camera reads it, the phone recognises the format, understands it as login details for a network, and offers a one-tap join. The generator's whole job is to write that line correctly — including the fiddly punctuation — and hand it to a QR drawing library, which turns the text into the black-and-white pattern of squares.

WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;  |  hidden networks add H:true;  |  open networks use T:nopass and skip the P: part entirely

Two details decide whether the code actually works. The first is exactness: WiFi names and passwords are case-sensitive, so GuptaHome and guptahome are different networks, and a trailing space in either field quietly breaks the join. Type both exactly as they are set on the router — you will find them printed on the router's sticker if nobody changed them. The second detail is escaping. If your name or password itself contains a semicolon, comma, quote, backslash or colon, that character must be protected with a backslash in the payload, or the phone will read it as a separator and cut the value short. This generator escapes those characters automatically, which is the main reason to use a tool instead of writing the payload by hand.

The security type matters as well. WPA is the right choice for WPA, WPA2 and WPA3 networks — phones accept the same code for all three, so leave it on WPA unless you know your router is ancient. WEP is the old, weak standard some very old routers still use. None builds a code with no password part, for open networks like those in some malls and railway stations — although a home network should never be left open. If your router hides its name (SSID broadcast turned off), tick the hidden box: the payload gains H:true, and the phone will search for the network instead of waiting to see it in the list.

Privacy is the reason this page is built the way it is. Your WiFi password is the key to your home network, and any generator that uploads it to a server is a risk you do not need. Here, the code is generated entirely in your browser with JavaScript — nothing leaves your device, nothing is stored, and you can prove it by loading this page, switching off your internet, and generating a code anyway. For extra safety, many routers offer a guest network with its own name and password: print a QR code for the guest network and your main password never gets shared at all. When you print, keep the code at least 5 cm wide with a quiet white border, on matte paper if you can — glare and tiny codes are the two usual reasons a scan fails.

Worked example

The Gupta family in Jaipur wants guests to join their home network, GuptaHome, protected with WPA2 and the password wifi@1234, without anyone dictating it across the room.

Step 1: Type GuptaHome in the network name field.
Step 2: Keep the security type on WPA / WPA2 / WPA3.
Step 3: Type wifi@1234 as the password and leave the hidden-network box unticked.
Step 4: Press Generate QR Code.

The generator builds the payload WIFI:T:WPA;S:GuptaHome;P:wifi@1234;; and draws the matching code — the page opens with exactly these details filled in, so the code you see is this example already made. A guest scans it, taps Join, and is online. The family downloads the PNG, prints it on a small card, and keeps it by the TV for the next visitor.

FAQ

Do I need an app to scan a WiFi QR code?

No. The built-in camera on iPhones and almost all Android phones recognises WiFi QR codes by itself — point it at the code and a join prompt appears. On some Android phones you can also open the WiFi settings and tap the QR icon next to Add network to scan from there.

Is my WiFi password uploaded or stored?

No. The QR code is created entirely in your browser, on your own device. Nothing leaves your device — the network name and password are never sent to our server or saved anywhere. You can even go offline after the page loads and the generator will still work.

Why does the phone fail to join after scanning?

Almost always a typing mismatch: WiFi names and passwords are case-sensitive, so check capitals, and make sure no extra space slipped in at the end of either field. Also check the security type matches your router, and if your network name is hidden, tick the hidden network box before generating.

My router uses WPA3. Which security type should I pick?

Pick WPA / WPA2 / WPA3 — the payload uses T:WPA, which phones accept for WPA, WPA2 and WPA3 networks alike. Most routers run WPA3 in a mixed mode that also accepts WPA2 devices, and the same code works for every guest phone.

What size should I print the QR code?

At least 5 cm wide for a code guests scan from a chair or counter, and bigger for a wall poster scanned from a distance. Keep a plain white border around it and avoid glossy lamination, which reflects light and defeats phone cameras. Test the printed copy with your own phone before putting it out.

Is it safe to display a WiFi QR code in my café or shop?

It is as safe as giving customers the password — anyone who scans it gets the password too, since a phone can read it back out of the code. For a business, use your router's guest network for the printed code, keep your main network private, and change the guest password from time to time.