How to Make a Wi-Fi QR Code: A Step-by-Step Guide with Examples

Connecting guests or new devices to your home Wi-Fi network can often be a headache: you have to spell out a long password, check the case of the characters, or retype it on your phone. QR code for Wi-Fi solves this problem once and for all—just scan a picture, and the gadget will automatically connect to the network. But how do you create it correctly to avoid errors or security issues?

In this article you will find step-by-step instructions to generate a QR code on any device (from Android And iPhone to Windows/Mac), review of free services without registration, as well as critical nuances, which aren't covered in standard guides. For example, why some phones don't read Wi-Fi QR codes, how to protect yourself from password leaks via a generated code, and what to do if your device stubbornly ignores scanning.

Spoiler: the process takes less than 5 minutes, requires no software installation (in most cases), and works even on older routers. And if you're an office network administrator, you'll learn how to grant access to employees without risking compromising the master password.

Why You Need a QR Code for Wi-Fi: 5 Real-World Scenarios

QR codes for connecting to Wi-Fi seem like a useless feature until you encounter one of these situations:

  • 🏠 Guests in the house: Instead of shouting the password across the room or typing it into your guest's phone (risking it being saved in their "notes"), you simply display the QR code on your smartphone screen.
  • 📱 New devices without a keyboard: smart light bulbs, CCTV cameras or Amazon Echo often connect to Wi-Fi only via QR code or WPS.
  • 🖥️ Office networkThe IT department can print out QR codes for different departments (with limited access rights) and hang them on the walls - this way, employees will not know the general password.
  • 🛋️ Elderly relatives: Instead of explaining how to enter a password on a phone, just say: "Open the camera and point it at this square."
  • 🔄 Frequent password changes: If you regularly update your security key (which is a good idea!), the QR code will eliminate the need to manually reconfigure all your devices.

There is also a hidden bonus: the QR code can be program to connect to a hidden network (with SSID broadcast disabled), which is useful for enhancing security. A regular user won't see such a network in the list, but the device will connect automatically after scanning.

⚠️ Warning: Some public hotspots (such as those in cafes or airports) use QR codes for "quick connection," but they may also collect device data. Never scan these codes if you don't trust the establishment—it's better to connect manually using the default login and password.

What information does a Wi-Fi QR code contain: an analysis of the structure

A QR code for connecting to Wi-Fi is not just an encrypted password. It contains standardized string in the format:

WIFI:T:WPA;S:my_network;P:my_password;H:false;

Explanation of parameters:

Parameter Description Example of meaning
T Encryption type (WPA, WEP, or nopass for open networks) WPA or WEP
S Network name (SSID) KEENETIC-1234
P Password SecurePass123!
H Hidden network (true/false) false

If your router uses WPA3 (modern encryption standard), parameter T it still remains WPA — This is backward compatibility. Most devices will automatically select the more secure protocol if it's supported.

Important: QR code does not store Information about MAC filtering, time limits, or other router settings. If you have such rules configured, the device may be able to connect via QR code, but internet access will be blocked.

📊 How often do you change your Wi-Fi password?
Once a month
Once every six months
Only if there is a suspicion of a break-in
Never changed

Wi-Fi QR Code Generation Methods: A Comparison of Methods

You can generate a QR code in four main ways, each suitable for different scenarios. The choice depends on the device you have and whether you need additional functionality (for example, code design customization).

  • 📱 Mobile applications: the fastest way to Android And iPhoneSuitable if you need to generate a code directly on your phone and share it immediately.
  • 💻 Online generators: A universal option for all devices. You can customize the QR code's appearance (colors, logo), but manual data entry is required.
  • 🖥️ Specialized programs: for advanced users who want to integrate QR code generation into automated systems (e.g. for an office).
  • 📡 Router function: some modern models (for example, ASUS RT-AX88U or TP-Link Archer AX6000) can generate a QR code directly in the web interface.

Let's look at each method in detail, indicating the pros, cons, and step-by-step instructions.

1. Mobile applications (Android/iOS)

There are dozens of apps for smartphones, but we recommend only proven ones:

  • 🤖 QR Code Generator (Android) - simple interface, no unnecessary fluff, supports saving to the gallery.
  • 🍎 QRbot (iOS) - Allows you to add a logo to the center of the QR code and customize the colors.
  • 📱 WiFi QR Code Generator (cross-platform) - specialized in Wi-Fi, automatically detects the current network.

Step-by-step instructions for Android:

  1. Install the application QR Code Generator from Google Play.
  2. Open it and select the option Wi-Fi Network.
  3. Enter the network name (SSID) and a password. The encryption type is usually determined automatically.
  4. Click Generate — the code will be generated and saved to the gallery.

Make sure you entered your password correctly|

Please check your case (Wi-Fi is case sensitive)|

Disable VPN on your phone (may interfere with scanning)|

Save the code to the cloud (Google Drive/iCloud) in case of loss-->

On iPhone The process is similar, but there is a nuance: the standard application Camera can't scan Wi-Fi QR codes. You'll need either third-party software (e.g., QRbot), or a workaround through Settings → Camera → Scan QR codes (but this does not work on all models).

2. Online generators without installing programs

If you don't want to download apps, use web services. We tested 10 popular websites and selected the top three most reliable:

Service Pros Cons
Qifi.org Minimalistic design, no ads, supports hidden networks No customization of appearance
QR Code Generator You can add a logo, change colors, and download it in SVG. Requires registration for some features
QR Stuff Supports WPA3, there is a preview before downloading The interface is overloaded with options

How to use Qifi.org (recommended for beginners):

  1. Go to the website qifi.org.
  2. Enter the network name (Network Name) and password (Password).
  3. Select the encryption type (WPA/WPA2 for most routers).
  4. Click Generate! — The QR code will appear on the right.
  5. Save the image by right clicking (Save as..).
⚠️ Important: Never enter your Wi-Fi password on untrusted HTTP sites (without a lock in the address bar). Use only trusted services from our list—they don't store your data.

3. Generating a QR code through router settings

Some modern routers (for example, ASUS, TP-Link, Keenetic) can generate QR codes directly in the web interface. This is convenient if you frequently share your network and don't want to rely on third-party services.

Instructions for ASUS routers:

  1. Open your router's control panel (usually at 192.168.1.1).
  2. Go to Wireless Network → QR Code (the name may differ depending on the model).
  3. The system will automatically generate a code based on the current settings.
  4. Download the image or print it directly from the interface.

On routers Keenetic another way: System → QR code for connecting to Wi-FiThe function is available starting from firmware 3.6.

How to check the firmware version on Keenetic?

Open the router's web interface → at the bottom of the main page, you'll see a line with the firmware version. If it's older than 3.6, update the firmware via System → Update.

4. Advanced Methods: Scripting and Automation

If you need to generate QR codes for dozens of networks (for example, for an office or hotel), manual entry will become torture. In this case, automation:

  • 🐍 Python script: using the library qrcode You can create a generator that will take data from a CSV file and produce ready-made QR codes.
  • 📊 Google Sheets: use the formula =IMAGE("https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=WIFI:T:WPA;S:"&A2&";P:"&B2&";;"), Where A2 — cell with SSID, and B2 — with a password.
  • 🤖 Bash script for Linux: suitable for server administration.

An example Python script for generating a QR code:

import qrcode

Wi-Fi data

ssid = "MyWiFiNetwork"

password = "SecurePassword123"

qr_data = f"WIFI:T:WPA;S:{ssid};P:{password};;"

Generating a QR code

img = qrcode.make(qr_data)

img.save("wifi_qr.png")

To run the script, install the library with the command pip install qrcode[pil].

How to Share a QR Code: 5 Secure Ways

Generating the code is half the battle. Now you need to deliver it in such a way that:

  1. The password did not fall into the wrong hands.
  2. The QR code remained readable (not all printers print small details well).
  3. Guests had no problems with scanning.

Here are some proven methods:

  • 📱 Smartphone screenThe easiest option is to show the code directly from your phone. Increase the screen brightness so the other device's camera can read it.
  • 🖨️ Printout: If you print on paper, use a format no smaller than 5×5 cm and a density of 300 dpi. Laser printers produce sharper images than inkjet printers.
  • 📧 Email/messenger: send QR code as image but never insert it into the body of an email — Some email clients compress images, making the code unreadable.
  • ☁️ Cloud storage: upload code to Google Drive or iCloud and provide access via the link. Set the permissions to "View" so the guest can't download the original.
  • 🏷️ Sticker on the router: If you have an office, you can print the code on self-adhesive paper and place it on the router body (but not in a visible place!).
⚠️ Attention: If you send a QR code via messenger (for example, WhatsApp or Telegram), make sure it does not compress the image. In Telegram Please submit the code as a "File" rather than a "Photo" to ensure it retains its original quality.

Why QR Codes Don't Work: Diagnostics and Solutions

You've generated a code, scanned it, but your device won't connect to Wi-Fi? There could be a variety of reasons, from simple errors to technical limitations. Let's take a look. top 7 problems and their solutions:

Problem Possible cause Solution
The QR code is not scanned. Low image resolution or dirty screen Increase the code on the screen, wipe the camera and screen
The device sees the network but does not connect. Incorrect password in the QR code or MAC filtering on the router Check the data in the generator, disable filtering in the router settings
Scanning freezes Too many details in the QR code (high error correction level) Regenerate the code with the correction parameter M (average)
There is a connection, but no internet IP or time restrictions on the router Check your DHCP and parental control settings
The QR code only works on some devices. Incompatibility of Wi-Fi standards (eg. 802.11n vs 802.11ac) Update your router firmware or change the network operating mode to 11n/ac/ax mixed

If the problem is not listed, try alternative scanning method:

  • On Android: use the app Google Lens (often better at recognizing codes than a standard camera).
  • On iPhone: open Settings → Camera → Scan QR codes and enable this option if it is disabled.
  • On Windows 10/11: install the application QR Code Scanner from Microsoft Store.

If all else fails, regenerate the code with different parameters. For example, some older devices don't support WPA3 - try specifying it in the QR code WPA2.

Security: How to protect your network when using QR codes

QR codes are convenient, but they also create additional risks:

  • If the code falls into the wrong hands, outsiders will be able to connect to your network.
  • Some QR code scanning apps may save history and share data with third parties.
  • Fraudsters can replace your QR code with a fake one (for example, in a public place).

To minimize threats, follow these rules:

  • 🔒 Use a guest networkSet up a separate guest network on your router with limited access to local devices. Generate a QR code specifically for this network.
  • 🔄 Change your password regularly: If the QR code was publicly accessible (for example, in a cafe), update the security key every 1-2 months.
  • 📵 Disable WPSIf WPS is enabled on your router, an attacker can connect to the network even without a QR code. Disable this feature in the settings.
  • 🕵️ Check connected devices: in the router panel, look at the list of clients (DHCP Clients List) and block unfamiliar ones.
  • 🔍 Use apps without history: For example, QR Code Reader by Scan does not save scanned codes.

We recommend for offices and public places dynamic QR codes — they are generated anew with each request and may have a limited validity period. This feature is supported by some corporate routers (for example, Ubiquiti UniFi) or services like Cloud4Wi.

If you're distributing access via QR code in a cafe or hotel, add the following text to the page with the code:

"This QR code is only valid for 24 hours. To reconnect, please request a new code from your administrator."

This will reduce the risk of abuse.

FAQ: Frequently Asked Questions about Wi-Fi QR Codes

Is it possible to create a QR code for a network without a password (open)?

Yes, to do this, specify the encryption type in the generation line nopass. Example:

WIFI:T:nopass;S:MyOpenNetwork;;

But remember: open networks are vulnerable to man-in-the-middle (MITM) attacks, where an attacker can intercept your traffic. Use this option only for temporary networks.

Why won't my iPhone scan the Wi-Fi QR code?

On iPhone There are two possible reasons:

  1. The scanning function is disabled in the camera settings. Enable it along the way. Settings → Camera → Scan QR codes.
  2. You have an old model (before iPhone 6s), which does not support this feature. Use a third-party app, such as QR Reader for iPhone.
Is it possible to track who has connected via QR code?

The QR code itself does not contain any information about the device, but in the router settings you can see:

  • MAC address of the connected gadget;
  • Connection time;
  • IP address in the local network.

Some routers (eg. ASUS with firmware Asuswrt-Merlin) allow you to bind a MAC address to a specific user and limit their speed or access time.

How to make a QR code for Wi-Fi 6 (802.11ax)?

The QR code is independent of the Wi-Fi standard (5 or 6). It simply transmits the network name and password. However:

  • If your router is in the mode 802.11ax only, devices without Wi-Fi 6 support will not be able to connect even if they scan the QR code.
  • For compatibility, please set the mode 802.11ax/ac/n mixed in the router settings.
Can one QR code be used for multiple networks?

No, each QR code contains data for only one network. However, you can:

  • Generate multiple codes and combine them into one image (for example, via Photoshop).
  • Use dynamic QR codes (for example, via Bitly), which redirect to the network selection page.