DEV Community

Cover image for How to Create a Wi-Fi QR Code — Share Your Network Password in One Scan
Shaishav Patel
Shaishav Patel

Posted on

How to Create a Wi-Fi QR Code — Share Your Network Password in One Scan

Instead of reading out your Wi-Fi password letter by letter, you can put a QR code on your wall. Guests scan it, they're connected. No typing. No "is that a capital I or a lowercase l?"

Here's how Wi-Fi QR codes work and how to create one for free.


How Wi-Fi QR Codes Work

A Wi-Fi QR code encodes your network credentials in a specific text format that phones recognize automatically:

WIFI:S:YourNetworkName;T:WPA;P:YourPassword;;
Enter fullscreen mode Exit fullscreen mode

Where:

  • S: — network name (SSID)
  • T: — security type (WPA, WEP, or nopass for open networks)
  • P: — password

When a phone camera scans this format, it detects the WIFI: prefix and opens a connection prompt automatically — no app needed on modern Android or iOS.


Create a Wi-Fi QR Code (Free, No Login)

  1. Go to the QR Code Generator
  2. Select Wi-Fi as the content type
  3. Enter your network name (SSID) and password
  4. Choose your security type (WPA2 for most home routers)
  5. Customize the style if you want — colors, dot shape, corner style
  6. Download as PNG or SVG

The QR code is generated entirely in your browser. Your Wi-Fi password is never sent to any server.


Security Type — Which to Choose

Security When to use
WPA / WPA2 Most home and office routers — choose this
WPA3 Newer routers with WPA3 support
WEP Older, legacy networks (rare)
No password Open/guest networks

If you're unsure, check your router's admin page or the sticker on the back of the router. Almost all modern home routers use WPA2.


Where to Put It

Printed and framed — the most common use. Print the QR code, put it in a small frame, and place it near your router or at your desk. Guests scan it on arrival.

On your phone screen — create the QR code, screenshot it, and show guests your screen. They scan directly from your display.

In a welcome document — if you run an Airbnb, short-term rental, or office, put the QR code in the welcome PDF or print it on an information card.

On a desk tent card — small folded card, QR code on one side, network name on the other. Common in coworking spaces and hotels.


Scanning a Wi-Fi QR Code

Android (8+): Open the camera app, point at the QR code. A notification appears — tap to connect.

iOS (11+): Same — open the native Camera app, point at the code. Tap the banner to join the network.

Older devices: Use a QR scanner app. Most will detect the WIFI: format and offer to connect.

No app download needed on modern phones. The camera handles it natively.


Can Someone Steal My Password From the QR Code?

Yes — anyone who scans the code gets your Wi-Fi password. Keep that in mind:

  • Don't post your Wi-Fi QR code publicly online (social media, websites)
  • For Airbnb or short-term rentals, use a separate guest network with its own password — not your main network
  • For offices, create a guest network with limited access

Most routers support a separate guest SSID. Create a QR code for the guest network only — that way guests connect without touching your main devices.


Updating the QR Code

Wi-Fi QR codes are static — they encode the password directly. If you change your Wi-Fi password, you need to generate a new QR code.

If you change passwords regularly, consider:

  • Keeping the password simple but memorable (so guests can type it if needed)
  • Using a dynamic QR code that redirects to a page where you update the password centrally — though this requires more setup

For most home and small office use, a static Wi-Fi QR code works fine. Passwords rarely change.


Generate your Wi-Fi QR code free: QR Code Generator — Wi-Fi, URL, vCard, and more

No login. No upload. Works on any browser.

Top comments (0)