Share password from Wi-Fi at home with guests or colleagues is a routine task that often turns into dictating complex combinations of letters and numbers. Fortunately, modern smartphones allow you to create Android allow you to create QR code for connecting to Wi-Fi literally in a few taps. Such a code can be printed, sent to a messenger, or simply shown on the screen - and another person will connect to the network without entering a password.
In this article we will analyze all the current methods of generating a QR code for Wi-Fi on Android (including devices from Samsung, Xiaomi, Google Pixel and other brands). You'll learn how to get by without third-party apps, which apps to use for advanced features, and how to protect your code from hackers. And also why sometimes a QR code does not work and how to fix it.
Why a QR code is more convenient than a dictionary password
The traditional way of connecting to Wi-Fi - entering the network name (SSID) and password - has several disadvantages:
- ๐น Input errors: complex passwords with characters
!@#$%are easy to confuse, especially on a small screen. - ๐น Security: dictating a password in a public place risks being overheard.
- ๐น Time: Entering a 16-digit password takes up to 30 seconds, while scanning a QR code takes 1-2 seconds.
A QR code solves these problems: it contains encrypted network data (SSID, encryption type, password), which the smartphone automatically recognizes and applies. In this case, the code itself can:
- ๐ฑ Show on the phone screen.
- ๐จ๏ธ Print and hang on the refrigerator (relevant for offices or guest houses).
- ๐ค Send to WhatsApp, Telegram or by email.
In addition, the QR code can be programmed for a limited period of validity (for example, for guest access) or additional parameters can be added to it - we will discuss this below.
Method 1: Built-in Android function (without applications)
Starting from Android 10 (and on most firmware from manufacturers, for example MIUI 12+ or One UI 3.0+), the system has a built-in QR code generator for Wi-Fi. Here's how to use it:
- Open
SettingsโWi-Fi(orNetwork and Internet โ Wi-Fi). - Tap on the name of your network to which you are connected.
- Click on the icon "Share" (usually a QR code icon or three dots in the upper right corner โ
Share). - The system will ask for confirmation by
PIN, fingerprint or pattern key. - After authorization, a QR code will appear - it can be scanned with another device.
Important: on some devices (for example, Xiaomi Redmi Note 11) The QR code is hidden behind the additional menu. If you donโt see the icon, try holding your finger on the network name for 2-3 seconds.
Make sure that the phone is connected to the desired Wi-Fi network
Check that a PIN or biometrics is installed on the device
Disable the VPN (it may block code generation)
Update the firmware if the function is missing-->
If your version of Android does not have a built-in generator, proceed to the following methods.
On Samsung Galaxy c One UI The QR code can be found in menu Settings โ Connections โ Wi-Fi โ Network name โ Share. On some models Xiaomi the path is different: Settings โ Wi-Fi โ Advanced (โ๏ธ) โ QR code network
Method 2: Applications for generating QR code
If the built-in function is missing or you need advanced features (for example, time limit or code design customization), use third-party applications. We tested top solutions from Google Play and selected the best:
| Application | Features | Cons | Rating |
|---|---|---|---|
| QR Code Generator | Simple interface, Wi-Fi QR support, code history | Advertising in the free version | 4.7 |
| WiFi QR Code | Automatic filling of network data, export to PNG | No Russian language | 4.5 |
| QR & Barcode Scanner | Generator + scanner in one, dark theme support | Requests location permission | 4.6 |
Instructions for QR Code Generator (works similarly in other applications):
- Download and install the application from Google Play.
- Open it and select
Wi-Fiin the list of QR code types. - Enter:
- ๐ถ Network name (
SSID). - ๐ Security type (usually
WPA2/WPA3). - ๐ Password.
- ๐ถ Network name (
Generate โthe code is ready!Some applications (for example, WiFi QR Codecan automatically pull up data of the current networkif you give them permission to access Wi-Fi.
How to hide a password in a QR code?
A QR code for Wi-Fi always contains the password in clear text (it can be retrieved using special services). To secure the network:
1. Create a guest network in the router with a separate password.
2. Generate a QR code for the guest network.
3. Limit the speed or duration of guest access in the router settings.
Method 3: Online QR code generators
If you do not want to install applications, use online services. They work directly in the browser and do not require registration. Popular options:
- ๐ Qifi โa specialized service for Wi-Fi QR.
- ๐ QR Code Generator โa universal generator with Wi-Fi support.
- ๐ QR Stuff โallows you to customize the code design.
An example of creating code on Qifi:
- Go to the website qifi.org.
- Enter network data:
- ๐ถ
Network Name (SSID). - ๐
Security(selectWPA2orWPA3). - ๐
Password. - ๐
Hidden Network(check if the network is hidden).
- ๐ถ
Generate! โthe code will appear on the right.PNG or SVG.Attention: online generators transfer network data to third-party servers. Do not use them for corporate or highly secure networks.
For maximum security, generate. QR code offline (via built-in Android function or offline application).
Method 4: Terminal (for advanced users)
If you like to work with ADB or Termux, you can generate a QR code via the command line. This method is suitable for automation (for example, creating codes for multiple networks).
Install Termux from F-Droid (version from Google Play is outdated) and run the commands:
pkg update && pkg upgradepkg install qrencode
echo "WIFI:S:;T:WPA;P:;;" | qrencode -o wifi_qr.png
Where:
โ replace with yoursSSID.โ Wi-Fi password.T:WPAโencryption type (forWPA3specifyT:WPA3).
The file wifi_qr.png will be saved in the folder /storage/emulated/0/ (root directory of the internal memory).
โ ๏ธ Attention: When using Termux on Android 11+ you will need to grant permission to access memory manually through Settings โ Applications โ Termux โ Permissions.
Method 5: Creating a QR code through Google Assistant
Few people know, but Google. Assistant can generate QR codes for Wi-Fi (though not on all devices). Check if the function works for you:
- Activate Assistant by voice (โOk Googleโ) or by holding the button
Home. - Say: "Show the QR code for my Wi-Fi".
- If the function is supported, the Assistant will request confirmation by
PINcode and show the code.
This method works on Pixel, some Samsung and devices with clean Android. On Xiaomi or Huawei may not work due to custom firmware.
Common problems and their solutions
The QR code does not always work the first time. Here are typical errors and how to fix them:
| Problem | Cause | Solution |
|---|---|---|
| The QR code is not scanned | Low screen resolution or dirt on the camera | Show the code on another device or print it |
| No connection to the network | Invalid encryption type in the QR code | Check that the code contains WPA2/WPA3and not WEP |
| The QR code contains errors | Password characters are not supported (for example, Cyrillic) | Use only Latin characters and numbers in the password |
If an error appears after scanning the QR code "Could not connect", check:
- ๐ The router is enabled and distributes the network.
- ๐ต MAC filtering disabled (if enabled, add the device's MAC address to the white list).
- ๐ Network mode (for example, if the router operates only in the range
5 GHz, and the device does not support it).
โ ๏ธ Attention: On some routers (for example, TP-Link Archer C6), the "Client Isolation"function is enabled by default. It blocks interaction between devices on the same network - disable it if guests need to exchange files.
FAQ: Answers to popular questions
Is it possible to make a QR code for a hidden Wi-Fi network?
Yes, but you need to indicate in the generator that the network is hidden. For example, in Qifi there is a checkbox Hidden Network. Manually add the parameter to the QR code line H:true:
WIFI:S:;T:WPA;P:;H:true;;
How to limit the validity period of a QR code?
The QR code itself does not have an expiration date, but you you can:
- Change the Wi-Fi password after the required period has expired.
- Use a guest network with a time limit (setting in the router).
- Generate a code through applications like WiFi QR Code Prowhere there is an option
Expiry Date(does not work on all routers).
Is it safe to display a Wi-Fi QR code in public places?
No. The QR code contains the password in an encrypted but reversible form. An attacker can:
- Scan the code and connect to your network.
- Extract the password using online decoders (for example, ZXing Decoder).
For public places, create guest network with a separate password and speed limit.
Can I scan a QR code from a TV or laptop?
Yes, if the device supports scanning QR codes:
- ๐บ TVs: on Samsung Tizen or LG webOS open the camera via the remote control (button
MicrophoneorCamera). - ๐ป Laptops: use a webcam and an online scanner (for example, WebQR).
- ๐ฅ๏ธ Windows 10/11: built-in camera + application QR Code Scanner iz Microsoft Store.
How to print a QR code so that it scans well?
Follow the rules:
- ๐ผ๏ธ The size of the code on paper is not less
5ร5 cm. - ๐จ Colors: black code on a white background (contrast at least 70%).
- ๐จ๏ธ Print resolution -
300 dpior higher. - ๐ Paper: matte (glossy gives glare).
Before printing, check whether the code can be scanned from the computer screen.