WiFi QR Code Generator

Turn a network name and password into a QR code guests can scan to join instantly. Supports WPA, WEP and open networks plus hidden SSIDs. Everything is generated locally in your browser.

Let guests join without reading out the password. Fill in the network details and scan the result with any modern phone camera. The QR code is drawn locally, so your password is never sent anywhere.

QR code

Enter a network name to generate the code.

This is the exact string the QR code contains, in the WIFI: format understood by Android and iOS.

How a WiFi QR code actually works

It is a text string, not a magic image

There is nothing special about a WiFi QR code as an image. It encodes a short piece of plain text in a format that Android has understood since 2010 and iOS since version 11, and it looks like this: WIFI:T:WPA;S:MyNetwork;P:hunter2;;. Three fields do the work - T for the security type, S for the SSID and P for the password - and a trailing semicolon closes the record.

Because it is plain text, you can read the payload this tool generates before you print it, verify the SSID is spelled correctly, and confirm nothing unexpected is in there. The camera app parses those fields, offers to join the network and hands the credentials to the operating system. No app, no account, no intermediate service.

Escaping is where naive generators break

Five characters are structural inside the WIFI: format: backslash, semicolon, comma, colon and double quote. A password containing any of them has to be escaped with a backslash, or the parser will treat it as the end of a field. A password of pa;ss written unescaped produces a code that connects with the password pa, and the failure is silent - the phone just reports a wrong password and nobody suspects the QR code.

This generator escapes all five. It is worth checking the payload field if your password is unusual, because a correctly escaped string will show backslashes in front of those characters. Those backslashes are part of the encoding, not part of your password, and the phone strips them before connecting.

Hidden networks and error correction

The H:true; field tells the phone the SSID is not broadcast. Without it, a phone scanning a code for a hidden network will look for the SSID, fail to see it advertised, and give up. With it, the phone knows to probe for the network by name instead. Setting the flag for a normal broadcast network is harmless but slightly slower to connect, so only tick it if the network really is hidden.

Error correction level controls how much of the code can be damaged and still scan. Level L survives about 7% loss and produces the smallest code; level H survives about 30% but packs the same data into far more modules, making them physically smaller at a given print size. For a card on a desk, M is the right default. For a sticker that will be scuffed, or a code with a logo placed over the centre, go to Q or H.

The QR code is rendered locally by node-qrcode (MIT licence). Your network name and password never leave the browser.

Frequently asked questions

Is my password sent anywhere?
No. The QR code is rendered in your browser by a local library, and the payload never leaves the page. You can disconnect from the internet and this tool still works.
Which phones can scan it?
Any iPhone on iOS 11 or later and essentially every Android phone since 10, using the built-in camera app. No separate scanner app is needed.
What if my password contains a semicolon or a comma?
It is escaped automatically. Those characters are structural in the WIFI: format, so a backslash is inserted before each one. The phone removes the backslashes before connecting.
Should I use WPA or WPA2 in the security field?
The same `WPA` value covers WPA, WPA2 and WPA3 - the format has no separate tokens for them. Pick WEP only for genuinely old equipment, and open for networks with no password.
Why would I raise the error correction level?
If the printed code will be scratched, curved, or partly covered by a logo. Higher levels tolerate more damage but pack more modules into the same square, so print it larger to compensate.
Can someone recover the password from the image?
Yes - a QR code is not encryption. Anyone who can photograph the code can read the password out of it. Treat a printed WiFi QR code exactly as you would treat the password written on paper.