Skip to content

Free tool

WiFi QR code generator

Make a code your guests scan to join your WiFi. It's drawn in your browser, so the password is never sent anywhere.

Made in your browserNetwork: none

Your network

Type it exactly as your phone shows it. Capitals and spaces count.

Security

Most networks. The code says WPA, which phones read for WPA, WPA2 and WPA3.

Case-sensitive. It stays in this tab.

Turn on if your network doesn't broadcast its name.

Add your network name to see the code.

What the code says

WIFI:T:WPA;S:…;P:…;H:false;;

Phones read this text and offer to join. A backslash goes before any \ ; , : or " in the name or password.

Files are made here. Nothing is uploaded.

Printable card

For a fridge, a front desk or a meeting room. Only the card prints, on one page.

The card appears once the code is ready.

Handy for laptops and phones that can't scan. Anyone who sees the card can read it.

On screen the password stays hidden while the password field is hidden. The printed card follows the switch above.

Sending the password to one person? A note that deletes itself is safer than chat.

How to use it

From password to scan in four steps

Type the network name
Exactly as your phone lists it. Network names are case-sensitive, and a space at the end counts.
Pick the security type
Almost every router with a password uses WPA2 or WPA3, so leave it on WPA/WPA2/WPA3. Pick None only for an open network.
Add the password
The one you'd type on a laptop. It goes inside the code, so the code is exactly as secret as the password.
Scan, save or print
Point a phone camera at the screen, download a PNG or SVG for a sign, or print a card for the fridge or the front desk.

Under the hood

What's inside a WiFi QR code

A WiFi QR code is a short line of text in a format phone cameras understand. For a network called Home with the password correct-horse, it reads:

WIFI:T:WPA;S:Home;P:correct-horse;H:false;;

T is the security type, S the network name, P the password and H whether the network is hidden. Semicolons separate the fields, so a semicolon, comma, colon, double quote or backslash inside the name or password needs a backslash in front of it: a password of tea;biscuits is written tea\;biscuits. Getting that wrong is the usual reason a home-made code says it can't join. This tool escapes every one of them and shows you the exact text.

Nothing in the code is encrypted. Anyone who scans it, or zooms into a photo of it, can read the password in plain text. That's fine for a guest network on the fridge. It isn't fine for the network your work laptop uses.

Phones

Who can scan it

Current iPhones and most Android phones read WiFi codes with the built-in camera: point, tap the banner, join. Many Android phones also have a QR scanner in their WiFi settings. Older phones may need a QR app. Laptops usually can't scan at all, which is why the printed card can show the password as text too.

For a hidden network the code says H:true, which tells the phone to look for a network that doesn't announce its name. Some phones still struggle with hidden networks; if one does, add the network by name in its WiFi settings. WPA3 networks use the same T:WPA value, and a phone that supports WPA3 uses it when the router offers it.

Privacy

Why it's drawn in your browser

Many online QR generators draw the image on their server, so the password you type passes through someone else's computer and perhaps their logs. This page draws the code with JavaScript in your tab. There's no upload: the PNG and SVG files are built on your device, and once the page has loaded the tool works with the network switched off. The code is open source under the MIT license, so you can check.

Without a code

When the guest isn't in the room

A QR code is for people standing next to it. To get the password to someone elsewhere, don't paste it into a group chat where it stays in every member's history. Put it in a secure note instead: it's encrypted in your browser, and the link can delete the note after one read. Our guide on how to share a WiFi password safely covers guest networks and the other options.

FAQ

Questions

Is this WiFi QR code generator free and private?

Yes. There's no account and no limit. The code is drawn in your browser, and the network name and password are never sent to our server or anyone else's. The page loads from our server like any website; after that the tool makes no network requests, and it keeps working offline.

Do WiFi QR codes expire?

No. The code simply holds your network name and password, so it works until you change either of them. When you change the password, make a new code and replace any printed cards.

Why won't my phone join after scanning?

Usually the name or password differs from the router's by a capital letter or a space, or the security type is wrong. Compare the text under "What the code says" with your router's settings. Hidden networks and networks on a band the phone can't use cause the rest.

Which security type should I choose?

WPA/WPA2/WPA3 for nearly every network with a password. WEP only for a very old router, and consider replacing it, because WEP can be broken in minutes. None for an open network with no password.

Does it work with WPA3?

Yes. The code says T:WPA, the value phone cameras read for every personal WPA version, and a phone that supports WPA3 uses it when the router offers it. Enterprise networks that ask for a username as well as a password aren't supported.

Can someone get my password from the QR code?

Yes, if they can scan it or a photo of it. A WiFi QR code is the password in another form, not an encrypted copy. Put printed cards where only your guests see them, and give guests their own network if your router can.

Can I print the card without the password showing?

Yes. Turn off "Print the password on the card". The password is still inside the QR code itself, so the card still deserves the same care as the password.

Related tools