Wi-Fi QR code and card
qr_wifiCreate Wi-Fi QR codes that phones scan to join a network, with support for WPA/WPA2/WPA3, WEP, open and hidden networks. Export as PNG, SVG, or printable PDF cards and posters.
Instructions
Make a Wi-Fi QR code that phones join by scanning (WPA/WPA2/WPA3, WEP or open; hidden networks), as PNG or SVG, or a printable PDF card like the website's: coloured header with the Wi-Fi symbol, "Scan to join", the QR code, network name and (optionally) the password, on an A6 card, an A4 poster, or A4 sheets of 4 or 9 cards to cut. Special characters (; , : " ) are escaped. The PDF card uses English labels and Latin text only for now. Web version: https://s3eidat.github.io/wifi-card/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | PNG/SVG: image size in px. | |
| ssid | Yes | Network name (SSID). | |
| theme | No | PDF: card colour; "saver" is an ink-saving outline. | teal |
| title | No | PDF: heading on the card (default "Wi-Fi"). | |
| format | No | pdf = printable card sheet (default); png/svg = just the QR code. | |
| hidden | No | The network is hidden (not broadcast). | |
| layout | No | PDF: a6 = one A6 card; a4 = one A4 poster; a4x4 = A4 sheet of 4 cards (default); a4x9 = A4 sheet of 9 small cards. | a4x4 |
| margin | No | PNG/SVG: quiet zone in modules. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). | |
| password | No | Wi-Fi password (ignored for open networks). | |
| security | No | WPA (WPA/WPA2/WPA3, default), WEP, or nopass (open network). | WPA |
| returnBase64 | No | Also return the output as base64 in the result (only for small files). Default false. | |
| showPassword | No | PDF: print the password under the code. |