Preparing your generator page
We are loading content and tools so everything is ready to use.
We are loading content and tools so everything is ready to use.
Build a QR code for a Wi-Fi network. The form opens on MyHomeWiFi and the visible password StrongPassword123!. The text inside the code is WIFI:T:WPA;S:MyHomeWiFi;P:StrongPassword123!;H:false;;. The preview loads that image from QuickChart, so the network name and password are part of the image request.
More helpers are in Utility tools.
Last updated: October 8, 2026 · Published: 2026-04-09 · Updated: 2026-10-08
WiFi QR preview
WiFi payload
WIFI:T:WPA;S:MyHomeWiFi;P:StrongPassword123!;H:false;;
Print this QR near your router, guest room, or office desk so users can join WiFi without typing long passwords.
It writes a WIFI: string and asks QuickChart to draw it as a QR image. The fields are encryption (T), network name (S), password (P), and hidden (H). Every payload ends with ;;.
The ZXing wiki section “Wi-Fi Network config (Android, iOS 11+)” uses this shape and says a reader can prompt before configuring Wi-Fi. This page does not connect a phone. It also always writes H, including H:false, and it keeps the password text when you choose Open network.
Copy WiFi payload copies the string. Download QR opens the QuickChart image and requests the file name wifi-qr-code.png or wifi-qr-code.svg. The tool is not affiliated with QuickChart.
Four steps. The payload and the image update as you type.
The name, the visible password StrongPassword123!, WPA, and H:false are already filled in.
The line under the preview is the text inside the QR, ending with two semicolons.
WEP, Open network, and Hidden SSID network rewrite T or H. Open network keeps the password text.
Copy WiFi payload copies the WIFI: line. Download QR requests the PNG or SVG from QuickChart.
The code the form produces before you change a field.
| Setting | This generator |
|---|---|
| Sample payload | WIFI:T:WPA;S:MyHomeWiFi;P:StrongPassword123!;H:false;; |
| Length | 54 characters |
| Encryption buttons | WPA, WEP, Open network |
| Hidden flag | Always written, H:false on the sample |
| Empty network name | Replaced with WiFi |
| Escaped characters | Backslash, semicolon, comma, colon |
| Not escaped | Double quotes |
| Image host | quickchart.io, with the payload in the request |
| Size | 320 to start, 128–1024 allowed |
| Preview width | At most 360 pixels on the page |
| Margin | 2 to start, 0–20 allowed |
| Error correction | M to start, also L, Q, and H |
| Colors | #000000 and #FFFFFF, sent without the hash |
| Download name | wifi-qr-code.png or wifi-qr-code.svg |
Reset restores the sample password as well as the network name.
SSID and password are trimmed. An empty name becomes WiFi. The password box is type text.
WPA, WEP, or Open network (nopass). Switching to Open network does not empty P.
Off writes H:false. On writes H:true. The field is never left out.
Size 128–1024, starting at 320. Margin 0–20, starting at 2. The preview caps the drawn width at 360.
Black and white by default, sent as 000000 and FFFFFF. PNG or SVG. Error correction starts on M.
The file name on the link is wifi-qr-code.png or wifi-qr-code.svg. Reset returns the MyHomeWiFi sample.
Copy WiFi payload on the untouched form. The exclamation mark is not escaped.
WIFI:T:WPA;S:MyHomeWiFi;P:StrongPassword123!;H:false;;
How the sample boxes land in the string.
| Field | Rule | Sample |
|---|---|---|
| T | WPA, WEP, or nopass | WPA |
| S | Trimmed name, or WiFi if blank | MyHomeWiFi |
| P | Trimmed password, kept even for nopass | StrongPassword123! |
| H | true or false, always present | false |
Short definitions for the words on this page.
The text encoded in the QR. This form writes T, S, P, and H, then two semicolons.
The network name. The sample is MyHomeWiFi. A blank box becomes the name WiFi.
The value written when Open network is selected. The password box is still copied into P.
The hidden-network flag. This form writes H:false or H:true on every payload.
The preview and download load an image from quickchart.io and include the WIFI: string in that address.
The MyHomeWiFi sample, why Open network still keeps the password, and why the preview sends the string to QuickChart.