How to create a QR code to connect to Wi-Fi

Imagine this: friends or business partners come to visit you, and the first question they ask is, "What's the Wi-Fi password?" Instead of dictating a complex combination of characters that's easy to confuse, you could simply ask your guest to point their smartphone camera at a special square pattern. That's it. QR code for Wi-Fi, a modern standard of convenience that turns lengthy data entry processes into instant connection.

QR (Quick Response) technology was originally created for product labeling, but it has now become an indispensable tool in everyday life. For wireless networks, this method has become a lifesaver against typos and forgotten passwords. You don't need to search for a piece of paper with a written key or dig through your router settings to remember a complex string of characters.

In this article, we'll cover in detail how to generate such a code yourself, the tools you'll need, and how to secure your network when using public generators. We'll cover both built-in smartphone features and third-party services so you can choose the most suitable option.

How a QR code works for a wireless network

The method is based on a standard text string, which is encoded into a graphic format. When a smartphone camera captures an image, it decodes this string and transmits a connection command to the operating system. The special data structure looks like this: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, where each parameter has its own value.

operating system automatically recognizes the encryption protocol and network name, prompting the user to join instantly. This works on almost all modern devices, whether iPhone, Android- a smartphone or tablet. The main thing is that the device has the appropriate scanning library installed, which is standard in 2026.

⚠️ Important: When using third-party online generators to create a code, remember that you are sharing your network password with a third party (the service owner). For a home network, it's best to use offline methods or your router's built-in features.

There are several types of encryption that can be encoded into code, and it is important to understand the differences between them to ensure proper operation.

  • 🔒 WPA/WPA2 — the most common and recommended type of protection for home networks.
  • 🔓 NOPASS - open network without password (use with caution).
  • 🔑 WEP — an outdated and insecure protocol that is still found in older equipment.
📊 What type of encryption does your home network use?
WPA2-PSK
WPA3
WEP (old router)
I don't know / Open network

Creating a QR code through Android and iPhone settings

Modern smartphones allow you to generate a code for a guest network directly from the settings, without having to connect to the internet or install additional apps. This is the safest and fastest method, as no data is transmitted.

On devices running Android (version 10 and above) the process is extremely simplified. Just go to your Wi-Fi settings, select a network you're already connected to, and click the "Share" button or the gear icon. The system will automatically generate an image that you can show to the guest or take a screenshot of.

Users iOS iPhones also have access to this feature, but with a slight caveat. To generate a code, the device must already be connected to the network. Unlike Android, iOS doesn't always display the actual graphic code on the screen for others to scan, but it does allow you to instantly share the passkey with other nearby Apple devices via AirDrop.

Android's Secret Feature for Guests

On some Android skins (such as MIUI or OneUI), tapping the QR code to connect will reveal the "Save Image" option. This allows you to create a permanent image for printing and posting on your wall, eliminating the need to show your phone screen every time.

It's important to note that the interface may vary on different phone models. If you can't find the Share button, try tapping the eye icon to see the password, then use a third-party generator, which we'll discuss below.

  • 📱 On Samsung Tap the gear next to the network name, then select QR code at the bottom of the screen.
  • 🤖 On Xiaomi Tap on the network name in the list of available ones, and the code will appear automatically.
  • 🍏 On iPhone Tap "Share Password" when a device with an Apple ID from your contacts appears next to it.

Using online generators and PC programs

If your smartphone's built-in features aren't available to you or you want to create a stylish design with your company logo, online services can help. They allow you to flexibly customize the appearance, add logos, and choose colors, which is especially useful for cafes, hotels, and offices.

One of the most popular and reliable tools is the service qiqr.com or qr-code-generator.comThe principle is simple: you select the "Wi-Fi" data type, enter the network name (SSID), select the encryption type, and enter the password. The service then generates an image that can be downloaded in PNG or SVG format.

WIFI:T:WPA;S:Office_Guest;P:SuperSecretPassword123;;

This is the string that generators "under the hood" generate. You can use specialized PC programs, for example, QuickMark or browser extensions if you need to generate codes in (a batch) for different networks.

⚠️ Note: Online generator interfaces change frequently. If you don't see the password entry field, make sure you've selected "Wireless" or "Wi-Fi" and not just "Text."

When creating a code for a public location, it's important to keep in mind that some generators allow you to set an expiration date or connection limit, although this requires more complex configuration of the router itself (for example, via a guest network with a timer).

☑️ Check QR code before publishing

Completed: 0 / 4

Setting up a guest QR code on a router

Many modern routers, such as Keenetic, TP-Link or Asus, have a built-in QR code generator function directly in the web interface. This is ideal, as the router automatically knows the current network settings and can update the code when the password is changed.

To find this feature, you need to log into your router's control panel. This is usually done through a browser at 192.168.0.1 or 192.168.1.1After entering your administrator login and password, find the "Wi-Fi network" or "Guest network" section.

In routers KeeneticFor example, this feature is implemented brilliantly: in the “My Networks and Wi-Fi” section there is a “QR Code” button that immediately shows the finished image for printing. TP-Link With the Tether shell, this is also available in the basic wireless settings.

Router model Location of the function Peculiarities
Keenetic My Networks and Wi-Fi -> Main Network Generates code automatically, you can download it
TP-Link (Archer) Basic Setup -> Wireless Mode Often requires scanning a code from a sticker on the bottom
Asus (AsusWRT) Network Map -> Guest Network Allows you to create a separate code for guests
MikroTik HotSpot / User Manager Requires manual configuration via scripts or WinBox

Using the router's built-in feature ensures that if you change the password in the security settings, the new QR code (if updated) will work correctly, unlike a static image created manually.

Printing and placement: design and materials

Once you've created the image, it needs to be positioned correctly. Simply printing a black-and-white square on office paper isn't always the best solution. For cafes and restaurants, aesthetics are important, so the code is often incorporated into the menu design or placed on the counter at the entrance.

When printing, it's important to maintain contrast. The QR code should be clearly visible: dark dots on a light background. If you decide to add color or a logo to the center, make sure it covers no more than 20-30% of the code's area; otherwise, older smartphone cameras may not be able to read the information.

The material used also plays a role. Glossy paper can reflect light, making scanning difficult. It's better to use matte surfaces or laminated cards. Place the code at eye level or on tables where people typically use their phones.

  • 🖨️ Use high resolution (minimum 300 dpi) when printing to ensure clear dot edges.
  • 🎨 Add a call to action, such as "Scan to connect."
  • 📏 The optimal size of the printed code is at least 2x2 cm to ensure reliable reading from arm's length.

Avoid placing the QR code too high or in a dark corner. Remember, people hold the phone in one hand and scan it with the other, so it needs to be within easy reach.

Security: Risks and Data Protection

By creating a public QR code, you effectively make your password accessible to anyone who can photograph it. Even if the code is displayed indoors, an intruder could take a photo from a window or through a door.

The most effective method of protection is to create a separate Guest networkIn your router settings, you activate a guest SSID, set a separate password for it (which you encode in QR code), and, most importantly, enable client isolation. This will prevent guests from seeing other devices on your network, such as your computer with documents or a smart TV.

⚠️ Important: Never use a QR code with a password for the main network where your personal devices and files are located. Always create a separate guest profile with limited access.

It's also a good idea to periodically change the password on your guest network. While this will require reprinting the QR code signs, it's crucial for security. Some advanced systems allow you to change the password while keeping the network name (SSID) the same, but then the old codes will no longer work.

What's hidden in a QR code?

Wi-Fi QR codes don't contain viruses; they're just text. However, theoretically, an attacker could create a fake QR code that would redirect you to a phishing website. Always verify that after scanning, your phone prompts you to "Connect to Wi-Fi" and not "Follow this link."

Regularly check the list of connected clients in the router's web interface. If you see an unfamiliar device, immediately change the password and regenerate the QR code.

Frequently Asked Questions (FAQ)

Why doesn't my phone connect after scanning the QR code?

Most often, the problem stems from the incorrect encryption type selected when generating the password (for example, WEP was selected, but the network uses WPA2). It could also be caused by a weak Wi-Fi signal at the scanning location or an error in a single character of the password when generating it.

Is it possible to make a QR code for a hidden network (Hidden SSID)?

Technically, it is possible to create such a code by specifying the exact network name, but most standard smartphone scanners will ignore attempts to connect to a hidden network via QR, as it requires active searching rather than passive listening.

Is it safe to scan QR codes from unknown Wi-Fi networks?

Code scanners are secure in themselves, but connecting to an unknown network puts your data at risk. The owner of such a network can intercept unencrypted traffic. Use a VPN when connecting to public Wi-Fi.

How do I create a QR code if I don't know the password for my current network?

If you're already connected to the network on Android, you can view the password in the Wi-Fi settings (fingerprint verification is often required) and find the QR code there. On Windows, you can find the password in "Network and Sharing Center" -> "Wireless Network Properties" -> "Security" tab (show symbols).

Does this method work on older phones?

Smartphones released before 2015-2016 may not have built-in support for scanning Wi-Fi QR codes with their cameras. They will require installing a third-party scanner app from an app store.