Turn Your WiFi Password Into a Scannable QR Code
Type in your network name and password, and this WiFi QR code generator builds a scannable code in seconds. Guests point their phone camera at it and join your network instantly — no password typing, no awkward spelling out of P@ssw0rd!2024.
Everything runs directly in your browser. Your password and network name are never uploaded to any server — they stay on your device the whole time.
How to Create a WiFi QR Code (Step by Step)
- Select "WiFi" mode in the tool above (it may already be selected by default).
- Enter your network name (SSID) — this is exactly what appears in your phone's WiFi list.
- Enter your WiFi password — leave blank if your network has no password.
- Pick your security type — choose WPA/WPA2 for most modern routers, WEP for older ones, or None for open networks.
- Customise (optional) — adjust the QR size (128 px to 1024 px) or change the foreground and background colours to match your brand.
- Download as PNG or SVG — PNG is great for printing; SVG scales to any size without going blurry.
Scanning the QR code connects the phone to the network automatically. No app is needed — the built-in camera on iOS 11+ and Android 9+ handles it natively.
Worked Example
Say your home network looks like this:
| Field | Value |
|---|---|
| Network name (SSID) | HomeOffice_5G |
| Password | SunflowerHill#99 |
| Security | WPA2 |
The generator encodes this as the string below (the QR standard for WiFi is called WIFI string format):
WIFI:T:WPA;S:HomeOffice_5G;P:SunflowerHill#99;;
That string is then converted into a QR code image. When someone scans it, their phone decodes the string and offers to join HomeOffice_5G with the password pre-filled. They tap "Join" — done.
How to Generate a WiFi QR Code in Code
If you want to generate WiFi QR codes programmatically — for example to print one per room in a hotel — here are minimal working examples.
Python (using the qrcode library)
# pip install qrcode[pil]
import qrcode
ssid = 'HomeOffice_5G'
password = 'SunflowerHill#99'
encryption = 'WPA' # WPA, WEP, or nopass
wifi_string = f'WIFI:T:{encryption};S:{ssid};P:{password};;'
img = qrcode.make(wifi_string)
img.save('wifi_qr.png')
JavaScript (using the qrcode npm package)
// npm install qrcode
const QRCode = require('qrcode');
const ssid = 'HomeOffice_5G';
const password = 'SunflowerHill#99';
const encryption = 'WPA';
const wifiString = `WIFI:T:${encryption};S:${ssid};P:${password};;`;
QRCode.toFile('wifi_qr.png', wifiString, { width: 512 }, (err) => {
if (err) throw err;
console.log('WiFi QR code saved!');
});
Both snippets produce the same encoded string and output a PNG you can drop straight into a print layout.
How It Works Under the Hood
A WiFi QR code is just a text QR code that follows a specific format: WIFI:T:[security];S:[ssid];P:[password];;. The double semicolons at the end are required by the spec. Phone cameras recognise this format and trigger a "Join network" prompt automatically.
The generator in your browser takes your inputs, assembles that string, and uses the QR Code standard (Denso Wave) to calculate the correct pattern of black and white modules. No server is involved at any step — the image is created entirely client-side and downloaded directly to your device.
QR codes encode data directly, so they never expire and don't rely on any redirect or external service. They are also free to use — there are no licensing fees for generating or printing them.
When to Use a WiFi QR Code
- Guest WiFi at home — print it, frame it, done. No more reading out your password letter by letter.
- Cafés, restaurants, and offices — stick it on tables or at reception so visitors can self-serve.
- Events and pop-ups — paste the code into a slide or print it on a banner.
- Airbnb or rental properties — leave a laminated card with the QR in the property.
- Hotel rooms — generate one per SSID programmatically (see the Python snippet above).
When a WiFi QR Code Is NOT the Right Tool
- Enterprise / 802.1X networks — these require certificates and a username, not just a password. The WIFI string format doesn't support 802.1X, so a QR code won't connect users to those networks.
- Changing passwords frequently — if you rotate your password every week, you'll need to reprint the QR each time. For frequently rotating credentials, a password manager link or a captive portal may suit better.
- Very old Android phones (pre-Android 9) — they may need a third-party scanner app. Most phones in use today are fine.
Ready to stop spelling out your password? Fill in the form above, download your WiFi QR code, and print or share it in under a minute.