How to Create a QR Code for WiFi: Connect Guests Instantly

Create a free WiFi QR code that lets guests connect to your network by scanning — no typing passwords. Step-by-step guide for homes, offices, cafés, and Airbnbs.

Typing a 20-character WiFi password on a phone keyboard is annoying. Mistype one character and you start over. A WiFi QR code eliminates this entirely — guests scan the code with their phone camera, tap "Join," and they're connected in under three seconds. No spelling out your password, no sticky notes on the router.

This works for any scenario where people need your WiFi: home guests, Airbnb check-ins, office visitors, café customers, hotel rooms, co-working spaces, or event venues. Here's how to create one for free.

What You Need

ItemWhere to Find It
Network name (SSID)Router sticker, or Settings > WiFi on a connected device
PasswordRouter sticker, or your router's admin page
Encryption typeAlmost always WPA/WPA2 for modern networks

That's it. No account creation, no software download, no payment.

How WiFi QR Codes Work

A WiFi QR code encodes a standardized connection string that phones recognize:

WIFI:T:WPA;S:MyNetwork;P:MyPassword;;

The parameters:

  • T — encryption type (WPA, WPA3, or nopass)
  • S — network name (SSID), exactly as it appears in your WiFi settings
  • P — password (case-sensitive)
  • H — optional, set to true for hidden networks

When a phone camera detects this format, it offers to join the network automatically. The phone doesn't open a website or send data anywhere — it reads the credentials from the QR code and connects directly to the router.

Step-by-Step: Create Your WiFi QR Code

Step 1: Find Your WiFi Credentials

Your network name and password are printed on a sticker on most routers. If you've changed them from the default:

  • On Mac: System Settings > WiFi > click the network name > Show Password
  • On Windows: Settings > Network & Internet > WiFi > your network > Properties > Show Password
  • On your router: Open 192.168.1.1 or 192.168.0.1 in a browser and log in to the admin panel

Write down the network name exactly — WiFi names are case-sensitive. "HomeNetwork" and "homenetwork" are different networks.

Step 2: Generate the QR Code

  1. Open our QR Code Generator
  2. Enter the WiFi string in this format:
WIFI:T:WPA;S:YourNetworkName;P:YourPassword;;

Replace YourNetworkName with your actual SSID and YourPassword with your actual password.

Examples:

ScenarioWiFi String
Standard home networkWIFI:T:WPA;S:Smith Family WiFi;P:c0ffee2026!;;
Open café network (no password)WIFI:T:nopass;S:CafeGuest;;
Hidden networkWIFI:T:WPA;S:OfficeNet;P:Secure99;H:true;;
WPA3 networkWIFI:T:WPA3;S:ModernHome;P:xK9#mP2v;;
  1. Click Generate to create the QR code
  2. Download as PNG for basic printing or SVG for professional signage

Step 3: Test Before Printing

This step is worth the 10 seconds it takes:

  1. Open your phone's camera app
  2. Point it at the QR code on your screen
  3. Tap the "Join network" prompt
  4. Confirm your phone connects to the correct network

If it doesn't work, check that the network name and password are entered exactly right. Spaces, capitalization, and special characters all matter.

Step 4: Print and Display

For homes and Airbnbs: Print on a standard sheet and frame it, or use a small card on the bedside table. Include the text "Scan to connect to WiFi" above or below the code.

For offices and meeting rooms: Print on a tent card for conference tables, or add to the wall near the entrance. Consider including the network name as text below the QR code for people who prefer to type.

For cafés and restaurants: Add the QR code to table tents, menus, or a sign near the counter. Pair it with your branding.

For events: Include in the event program, project on a slide, or place on each table.

Sizing and Print Guidelines

The QR code needs to be large enough for phone cameras to read from a comfortable distance:

Viewing DistanceMinimum QR Code Size
6 inches (handheld card)0.8 × 0.8 inches (2 × 2 cm)
1-2 feet (table tent)1.2 × 1.2 inches (3 × 3 cm)
3-5 feet (wall sign)2 × 2 inches (5 × 5 cm)
10+ feet (poster/projection)4+ × 4+ inches (10+ × 10+ cm)

Print quality matters: Use at least 300 DPI. Download the SVG version if you're printing larger than 3 inches — SVG scales to any size without pixelation. PNG works fine for smaller prints. See our free barcode generator guide for more on print-quality settings.

Security Considerations

Sharing WiFi via QR code is as secure as writing the password on a piece of paper — anyone who can see the code can connect. Keep these precautions in mind:

Use a Guest Network

Most modern routers support a separate guest network. Set one up and create the QR code for the guest network, not your primary one. This keeps guests isolated from your personal devices, shared drives, and printers.

Where You Display the Code Matters

A QR code in a private Airbnb room is fine. A QR code visible through a street-facing window gives your password to anyone walking by. Think about who can physically see the code.

Rotate Passwords Periodically

For businesses and rentals, change the guest WiFi password monthly or between guests. Generate a new QR code each time — our QR generator makes this a 30-second task.

Password Isn't Extractable Without Scanning

A common concern: can someone photograph the QR code and extract the password? Technically yes — any QR scanner will decode the full WiFi string, including the password in plain text. This is by design. The QR code is a convenience shortcut, not a security mechanism. Treat it like a written password: display it only where authorized people can see it.

Use Cases

Airbnb and Vacation Rentals

WiFi QR codes solve the most common guest complaint: struggling to connect. Place the code in your welcome guide or frame it on the nightstand. No more late-night messages asking for the WiFi password.

Cafés and Restaurants

Replace the "WiFi password is on the receipt" approach. A QR code on each table gets customers online faster and reduces staff interruptions. For networks that rotate passwords daily, print new codes each morning — it takes 30 seconds with our generator.

Offices and Co-Working Spaces

Visitors shouldn't need to find the receptionist for WiFi access. A QR code in the lobby, meeting rooms, or on visitor badges handles it. Use a guest network to keep visitor traffic isolated from your internal network.

Events and Conferences

Project the QR code on a screen during registration or include it in printed materials. For multi-day events, this prevents hundreds of people from asking the same question.

Home Guests

Frame a small QR code near the router or guest bedroom. It's friendlier than reciting "lowercase b, uppercase K, number seven, underscore, dollar sign..." — and your guests won't have to text you asking for the password again.

Troubleshooting

ProblemSolution
Phone doesn't recognize the QR codeMake sure the camera app has QR scanning enabled. On iPhone: Settings > Camera > Scan QR Codes. On older Android devices, use our scanner.
"Unable to join network" after scanningDouble-check the password in your WiFi string — one wrong character breaks it. Regenerate the QR code with the correct password.
QR code works on iPhone but not Android (or vice versa)This usually means the encryption type is wrong. Try WPA instead of WPA2 or WPA3 in the WiFi string — most phones treat WPA as WPA/WPA2.
Guest can scan but gets very slow internetThis is a router issue, not a QR issue. Your guest network may have bandwidth limits. Check your router's QoS (Quality of Service) settings.
Hidden network won't connectAdd H:true to the WiFi string: WIFI:T:WPA;S:HiddenNet;P:pass;H:true;;
8 min read

Frequently Asked Questions

Is it safe to share my WiFi password via QR code?
Yes, as long as you control where the QR code is displayed. The password is encoded directly in the QR code and read locally by the scanning device — it's not transmitted over the internet. For public venues, use a guest network so the QR code only grants access to a limited network, not your primary one.
Do WiFi QR codes work on both iPhone and Android?
Yes. iPhones running iOS 11 or later and Android phones running Android 10 or later can scan WiFi QR codes with the built-in camera app. Older devices may need a QR scanner app. When scanned, the phone prompts you to join the network automatically.
Does the QR code stop working if I change my WiFi password?
Yes. The password is encoded in the QR code at creation time. If you change your WiFi password, you need to generate a new QR code with the updated password. The old QR code will still scan but the connection will fail because the password no longer matches.
Can I create a WiFi QR code for a hidden network?
Yes. When generating the QR code, set the hidden network flag to true (our generator includes this option). The QR code will include the 'H:true' parameter, telling the scanning device to connect even though the network name isn't broadcast.
What encryption type should I select when making the QR code?
Select WPA/WPA2 for most home and business networks — this is the standard encryption on virtually all modern routers. Select WPA3 only if you've specifically enabled it on your router. Select 'None' only for open networks with no password.