Skip to content
Processing locally — files never leave your device

WiFi QR Code Generator

Enter your WiFi SSID, password, and security — get a QR code that connects any phone to your network without typing the password.

Bloggers — embed this widget for free

Add this tool to your own site with one line of HTML. Free forever — just keep the small credit link.

How to use WiFi QR Code

  1. Type your network name (SSID) exactly as it appears — it is case-sensitive, so “MyHome” and “myhome” are different networks.
  2. Choose the security type: WPA/WPA2/WPA3 for almost all modern networks, WEP only for legacy hardware, or Open for password-free networks.
  3. Enter the WiFi password. If you picked Open, the password field disappears because none is needed.
  4. Toggle “Hidden network” on if your router does not broadcast its SSID, so the phone knows to search for it.
  5. Download the PNG, print it, and stick it on the fridge, a guest-room wall, or a café table — anyone can scan to join without typing the password.

How a WiFi QR code joins a network

A WiFi QR code does not contain a link — it contains a small, structured string that phones recognise as network credentials. When the camera decodes it, the operating system reads the network name, security type, and password, and offers a one-tap "Join" prompt. No typing, no spelling out a long password to a guest, no app to install.

The WIFI: string format

The payload follows a compact, field-tagged convention. A typical WPA network encodes as:

WIFI:T:WPA;S:MyHomeWiFi;P:my-password;;

Each field is a letter, a colon, the value, and a semicolon. T is the security type (WPA, WEP, or nopass), S is the SSID (network name), and P is the password. A hidden network adds H:true;. The string ends with a final extra semicolon, which is why you see two together at the end.

Escaping special characters

Because semicolons and colons separate the fields, any of those characters inside your SSID or password would break the parsing. The format solves this with backslash escaping: the characters \ ; , : " must each be prefixed with a backslash. This tool applies that escaping automatically, so a password such as P@ss;word is encoded as P@ss\;word and decodes back correctly on the phone.

Open and hidden networks

For a password-free hotspot, the security type is nopass and the password field is left empty. For a hidden network — one whose router does not advertise its SSID — the H:true flag tells the phone to actively probe for that exact name, since it will never appear in a normal scan of nearby networks.

A note on security

The password lives inside the code in plain form, so treat a printed WiFi QR code like a written-down password: anyone who can scan it can read the credentials with a decoder. For a home or café guest network that is usually exactly what you want. If you would rather not expose your primary password, set up a separate guest SSID on your router and make the QR code for that instead.

Related tools for guests and venues

A WiFi code is often part of a wider welcome kit. Pair it with a way to recover a password from a code you already printed, or with codes that hand out contact and booking details in the same lobby or café.

  • QR code decoder — lost the password? Scan the existing sticker to read the WIFI: string back out.
  • vCard QR code generator — put your reception or host contact on the same table tent as the WiFi code.
  • QR code generator — for a plain link to a house manual or guest portal instead of credentials.

Frequently asked questions

Does it work on iPhone?
Yes. iOS 11 and later recognise WiFi QR codes straight from the built-in Camera app and pop up a banner offering to join the network. Android 10 and later do the same. On slightly older Android phones you may need to use the WiFi settings “scan QR code” option instead of the camera.
Is my WiFi password sent anywhere?
Not to us. The credential string is assembled and drawn into the QR matrix by code running on this page, so your SSID and password are never POSTed to a server, logged, or kept after you close the tab. Pull the network cable and the generator keeps working — proof there is no round trip. The one thing to remember is that the password does end up inside the resulting image itself (see the question below), so guard the printed code the way you would a sticky note with the password on it.
Which security type should I choose?
Pick WPA/WPA2/WPA3 for virtually every modern home and office network — the WIFI: format uses the same “WPA” token for all three. Choose WEP only for old equipment that still uses that outdated standard, and choose Open for networks with no password (for example a free guest hotspot).
What is a hidden network and when do I toggle it?
A hidden network does not broadcast its SSID, so phones will not find it by scanning the air. If your router is set that way, turn on the “Hidden network” switch. That adds an H:true flag to the code so the phone knows to actively probe for the named network rather than wait to see it advertised.
Why does my password fail when it contains special characters?
In the WiFi QR format the characters backslash, semicolon, comma, colon, and double-quote have special meaning and must be escaped with a backslash. This tool escapes them automatically, so a password like P@ss;word"1 is encoded correctly. If you build the string by hand elsewhere, you must escape those characters yourself.
Can guests still see my password?
They do not see it during the join — the phone reads it from the code and connects silently. However, the password is embedded in the QR code, so anyone who scans the printed code with a decoder can read it. For a guest network this is usually fine; for your main network, consider creating a separate guest SSID.
Does the SSID matter for case and spaces?
Yes. WiFi network names are case-sensitive and spaces count, so enter the SSID exactly as your router broadcasts it. A mismatch means the phone will try to join a network that does not exist and report a failure.
Can I print the code small, like on a table tent?
Yes, but keep the modules large enough to scan and leave a clear white margin (quiet zone) around it. A long password makes the code denser; if it scans poorly when printed small, increase the printed size or shorten the password.

More tools you might find useful in the same flow.

Built by Muhammad Tahir · About