WiFi QR Code Generator
Create a QR code that connects devices to a Wi-Fi network, locally.
Encode a Wi-Fi password into a scan-to-join code
A Wi-Fi QR code is a normal QR code that encodes a `WIFI:` payload containing the network name, password and encryption type, which most phone cameras recognize and offer to join directly. This tool builds that payload from a form instead of asking you to type the field syntax by hand, and generates the code as you fill it in. It matters more than most QR use cases that this runs locally, since the payload it builds contains a real, working password for your network, not just a link.
How to use the WiFi QR Code Generator
- Type the network name into the SSID field.
- Choose the encryption type: WPA/WPA2, WEP, or None for an open network.
- Enter the password, unless the network has no encryption.
- Turn on 'Hidden network' if the SSID isn't broadcast, so scanners know to search for it.
- Scan the resulting QR code with a phone's camera app to join the network without typing the password.
The payload follows the format `WIFI:T:<encryption>;S:<ssid>;P:<password>;H:<hidden>;;`, with backslashes, semicolons, commas and colons in the SSID or password escaped so they aren't misread as field separators by the scanning app.
The encryption field only distinguishes WPA/WPA2, WEP and open networks, since that's what the payload format defines; most phones still connect to WPA3 networks using the WPA option, because WPA3 devices generally accept a WPA2-style credential during the join.
Frequently asked questions
- Is my Wi-Fi password sent anywhere when I generate this QR code?
- No, the SSID, password and encryption type are assembled into the payload string and drawn as a QR code by a JavaScript library running in your browser, so the password never leaves your device as network traffic.
- What does the QR code actually encode?
- A single text string starting with `WIFI:` followed by the encryption type, SSID and password as colon-and-semicolon-separated fields, which is the same format most phone camera apps look for to offer a 'Join Network' prompt.
- Does this work for hidden Wi-Fi networks?
- Yes, turn on 'Hidden network' before scanning; it adds an `H:true` field to the payload so the connecting device knows to actively search for the SSID instead of waiting to see it broadcast.
- Can I still give someone the password if they can't scan the code?
- Yes, the raw payload text is shown below the form with a copy button, and the password itself is just whatever you typed into the password field, so you can read it out or send it separately.