It's not uncommon for friends to come over or you need to connect a new gadget, but you've completely forgotten the complex password for your home network. Fortunately, modern smartphones running the operating system Android We've long learned to store this data to save users from unnecessary headaches. However, it was previously impossible to simply read this combination of characters in text form, which created certain difficulties for those not familiar with technology.
In this article, we'll take a detailed look at all the existing methods for restoring access to your wireless network's security key. We'll cover the built-in operating system tools for versions 10 and above that allow you to view the code via a QR code, as well as more complex methods for older devices that require root rightsUnderstanding these mechanisms will help you not only in everyday situations, but will also ensure better safety your personal information.
It's worth noting that the methods may vary significantly depending on the manufacturer of your device. Shell interfaces MIUI from Xiaomi, One UI from Samsung or pure Android Pixel apps have their own unique navigation features. So, even if menu items have different names, the logic remains consistent across the entire ecosystem.
Standard features of Android 10 and later
Starting with the tenth version of the mobile operating system, Google introduced a feature that allows sharing network access without having to dictate a complex set of characters. This was made possible by generating a special QR code, which contains encrypted information about the network name and access key. This method is the most secure and does not require third-party software.
To use this feature, go to your smartphone's wireless settings. Find the Wi-Fi section and select a network you're already connected to or one saved on your device. In most cases, next to the network name or in the properties menu that opens, you'll see a button with a gear or arrow icon.
⚠️ Note: Some smartphone models (e.g., Xiaomi or Huawei) may require unlocking the screen with a fingerprint, PIN, or pattern to view the QR code. This is an additional security measure for user data.
After you press the corresponding button, a square code will appear on the screen. The password itself is usually written in small print underneath it, but on many devices this line is hidden by asterisks or dots. In this case, you'll need a second phone with a camera or a special scanner app to read the information.
Scanning the code allows another device to instantly connect to the network. However, if you want to find the text combination to enter into, say, a router or smart light bulb, you'll need to use a third-party scanner. Simply point the second device's camera at the first device's screen, and the text you're searching for will appear in a notification or search bar.
Using a QR code to restore access
The way QR codes work in Android is based on a standard data transfer protocol. When the system generates an image, it encodes a string of the following format: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;. Here SSID — this is the network name, and after the symbol P: Your password is hidden. Understanding this structure allows you to use various decoding tools.
If you don't have a second smartphone handy, you can use the built-in gallery or search engine. Many modern Android skins feature "smart image analysis." Simply take a screenshot of the screen with the QR code, open it in the gallery, and tap "Search by image" or a similar AI option.
- 📱 Take a screenshot of the QR code displayed by the Android system.
- 🖼️ Open the image in the standard Gallery or Google Photos app.
- 🔍 Click on the "Search" or "Lens" button (usually a lens icon).
- 📝 The system will recognize the text and display network data, including the password.
It's important to understand that this method only works for networks the phone has previously connected to. If you're trying to find the password for a neighbor's network or a public hotspot you don't have access to, this method won't work. The operating system only stores data that has been successfully used for authentication.
Finding a password on rooted devices
For users whose devices are running older versions of Android (below version 10) or who want to have full control over the system, there is a method using root rightsHaving superuser rights allows applications to read system files, which store all saved security keys in clear text.
The main file of interest in this case is wpa_supplicant.confIt is located in the system directory. /data/misc/wifi/This text file contains a list of all networks the device has ever connected to, along with their passwords. Accessing it requires specialized file managers, such as Root Explorer or RE Manager.
⚠️ Warning: Rooting your device may void your warranty and block some banking apps or contactless payment services. Proceed with caution and only if you understand the risks.
The process for viewing the file is as follows: after opening the file manager with superuser rights, navigate to the specified path. Once you find the configuration file, open it as a text document. Inside, you will see the lines where ssid denotes the network name, and psk — the password you are looking for.
What to do if the wpa_supplicant.conf file is empty?
In some modern firmware versions, especially those with data encryption enabled, the system may not store passwords in plaintext even with root access, or the file may be protected by an additional layer of encryption. In this case, the only solution is to reset the router.
There are also specialized apps from the Google Play store that automate this process. Programs like WiFi Password Viewer With root access, they automatically find the required file and display a list of networks in a user-friendly interface. This eliminates the need to manually dig through system folders.
Checking through the router settings
If mobile methods fail to provide information, the most reliable way is to contact the source of the signal—your router. Almost all modern routers allow you to view and change wireless network settings via a web interface. To do this, you'll need any browser and a connection to the router (via Wi-Fi or cable).
In the browser's address bar, you need to enter the IP address of the device. Most often, this is 192.168.0.1 or 192.168.1.1, however, the exact address may vary depending on the model and manufacturer. The login details (administrator username and password) are usually located on a sticker on the bottom of the device, unless you've changed them.
After successfully logging in to the control panel, you need to find the section responsible for wireless mode. It may be called Wireless, Wi-Fi Settings or Wireless network. In the security subsection (Security) there will be a field Wireless Password or PSK Key, where the current key is displayed. It's often masked with asterisks, but you can remove this by checking the "Show password" box.
| Manufacturer | Entrance address | Settings section | Password field |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Wireless Network -> General | Authentication method |
| Keenetic | 192.168.1.1 | My Networks and Wi-Fi -> Home Network | Wi-Fi network password |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
Using the router's web interface offers another important advantage: the ability to not only find out your password, but also immediately change it to a more complex one if you suspect someone has accessed your network. After changing the settings, be sure to reconnect all your devices using the new password.
Google Sync and Cloud Services
The Google ecosystem offers a convenient mechanism for syncing passwords across your account. If "Autofill by Google" is enabled on your device, saved Wi-Fi network keys can be accessed through your account's web interface. This is especially useful if your phone is lost or broken and you need to find the password urgently.
To check, go to the "Security" or "Password Manager" section of your Google account management page. There, in the list of saved data, you can sometimes find not only website passwords but also Wi-Fi keys, if they've been synced. However, it's worth noting that syncing Wi-Fi keys doesn't work on all devices and depends on the manufacturer's policy.
Owners of Samsung devices can use the service Samsung Cloud or application SmartThingsIf you have a Samsung account and have settings sync enabled, your keys can be automatically retrieved when you sign in to your account from another Samsung device. This creates a unified environment where forgotten passwords are no longer a problem.
- 🔐 Open Google Settings on any Android device.
- ☁️ Go to "Autofill" -> "Autofill from Google".
- 📋 Select "Passwords" and check the list of saved data.
- 📱 For Samsung: Check your Samsung Cloud settings under "Backup."
It's important to remember the security of these methods. Storing passwords in the cloud is convenient, but it requires reliable account security. Be sure to use two-factor authentication to prevent attackers from accessing your stored keys even if your Google login and password information is leaked.
Resetting your router as a last resort
If none of the software methods have helped, you don't remember the password for the router admin panel, and you can't access the saved data on your phone, there's one last, radical, but effective method left. This is a full reset of the router to factory settings (Factory Reset). After this procedure, the router will return to its out-of-the-box state.
To perform a reset, you need to find a small hole with the inscription on the router body Reset or RestoreWith the device turned on, press it with a paperclip or needle for about 10-15 seconds until the lights flash simultaneously. After rebooting, the network will be named as indicated on the sticker, and there will be no password (or the password will be indicated on the same sticker).
⚠️ Important: After resetting your router, you'll need to reconfigure your connection to your ISP (enter your PPPoE/L2TP login and password if required). Make sure you have your ISP contract or have this information handy, otherwise your internet connection will not work.
This method guarantees 100% success, as you have complete control over the device. However, it requires time to reconfigure all settings, including the network name, new password, IPTV settings, and port forwarding, if used. This is the price you pay for complete independence from forgotten data.
☑️ Checklist before resetting your router
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I have never connected to this network from my phone?
No, it's technically impossible to find out the password for a network your device has never connected to or stored data on. Android can't hack or guess passwords for neighboring networks. To connect, you need to know the key in advance or use WPS, if supported by your router and enabled.
Is it safe to use password recovery apps from the Play Market?
Apps that don't require root access and promise to "show your password" often simply display the same QR code as the system or are simply advertising junk. Rooted apps are safe if they have a good rating, but remember that granting full rights to any app carries potential risks.
What to do if the QR code does not scan?
Try increasing the screen brightness, adjusting the distance to the camera, or cleaning the lens. If the code is corrupted or displayed incorrectly due to a system error, try reconnecting to the network (forget the network and re-enter the password if you wrote it down) to generate a new code.
Does this method work on all Android versions?
The QR code generation feature was introduced in Android 10. On versions 9 and below, you can only view your password via root access or configuration files. On Android 14 and later, the interface may differ slightly, but the functionality remains the same.