It's quite common to need to connect a new device to a wireless network but forget the password. Fortunately, modern smartphones often remember this information, and you can retrieve it directly from the system settings. In this article, we'll take a detailed look at How to view a Wi-Fi password on Android, to which the phone is already connected or has been connected previously.
The procedure for recovering forgotten access data depends primarily on the operating system version. Starting with Android 10Google has implemented a native feature for viewing passwords via QR code, significantly simplifying the process for regular users. However, owners of older devices or gadgets with stripped-down versions may encounter limitations that require deeper intervention.
It is important to understand that data security is Google is a priority, so access to saved encryption keys is limited by system permissions. Below, we'll cover all current methods, from standard settings to using special commands, that will help you restore network access without losing important data.
Standard tools for Android 10 and later
Starting with the tenth version of the operating system, viewing saved networks has become extremely simple and does not require superuser rights. This was made possible by the implementation of the sharing function via QR codeTo use this method, you need to go to the settings menu of your device.
Open the section Settings → Connections → Wi-FiFind the network you need to find the password for and click the gear icon next to its name. In the menu that opens, select QR code or ShareThe system will ask you to confirm your identity using a fingerprint, pattern, or PIN.
- 📱 Open Wi-Fi settings on your smartphone.
- 🔑 Click on the desired network and select "QR code".
- 👁️ Complete biometric or digital authentication.
- 📸 Take a screenshot or photograph the code with another device.
After successful authorization, a QR code for connection will appear on the screen. In most shells (for example, MIUI, OneUI, Pixel UI) The text password will be displayed directly below the graphic. If the text is not immediately visible, you can take a screenshot and open it through Google Lens or any similar code scanner that recognizes text in an image.
Using a Google account for synchronization
Ecosystem Google Allows you to sync saved Wi-Fi passwords across all devices linked to the same account. This means you can view the access key not only on your phone but also through a computer browser. This method is especially convenient if your smartphone screen is broken or the interface is locked.
To do this, go to your Google account management page at passwords.google.com. This is where all your saved login information is stored, including wireless network keys. Find the desired network name (SSID) in the list, and the system will prompt you to re-authenticate to view the content.
The main advantage of this method is that it works regardless of phone model or firmware version, as the data is stored in the cloud. However, password synchronization must be enabled in the device settings.
What to do if syncing was disabled?
If Google password sync was disabled when you connected to the internet, your data wasn't transferred to the cloud. In this case, the only solution is to view your data directly in your phone's settings or use root access to access system configuration files.
Method for older Android versions (without Root)
On devices with a lower system version Android 10 (e.g., 7.0, 8.0, 9.0) it's impossible to view the password using standard tools for security reasons. The system doesn't allow applications or the user to read configuration files without special permissions. However, a workaround exists via the backup functionality.
Some manufacturers (eg Xiaomi in old shells or Asus) allowed users to create backup copies of their Wi-Fi settings, which could be sent to themselves via email or cloud storage as a text file. This file could contain the password in cleartext or in a decryptable format.
It's also worth checking for the "Backup and Restore" feature in the advanced Wi-Fi settings. If it's there, create a backup and open the resulting file with a text editor. Look for the following lines: ssid And psk (Pre-Shared Key).
Viewing passwords with root rights
If your device has an unlocked bootloader and root privileges installed (Root), then you get full access to the file system. This allows you to read the file wpa_supplicant.conf, which stores all passwords ever entered. To use it, you'll need a file manager with root support, such as Root Explorer or Solid Explorer.
After granting access rights, you need to follow the path /data/misc/wifi/This is where the configuration file you're looking for is located. Open it with any text editor. Inside, you'll see a list of all networks and passwords in the field psk.
Be extremely careful when working with system files. Accidentally deleting or changing other settings in this directory may render the Wi-Fi module or the entire system inoperable.
☑️ Check before using Root
⚠️ Attention: Rooting your device will void your warranty and may interfere with banking apps that use Google Pay protection. Only use this method if you fully understand the risks.
An alternative to manually searching for files is to use specialized applications from the store. Play Market, such as "WiFi Password Viewer." These programs automatically read the contents of the system file and display it in a convenient list. However, they also require superuser privileges to run.
Using ADB to retrieve data
For advanced users who do not want to obtain Root rights, but have access to the computer, there is a debugging method through ADB (Android Debug Bridge). This method allows you to extract the Wi-Fi configuration file if USB debugging is enabled on the device and the appropriate permissions are granted.
First, connect your phone to the PC and ensure the computer is authorized. Then, run a command via the command line to create a backup of your Wi-Fi settings. If the system allows it, it will create an archive that can be unpacked and analyzed.
adb backup -noapk com.android.providers.settings
The resulting file backup.ab needs to be converted to format tar, and then unzip it. Inside the archive, look for a settings file that may contain the data you need. This method is complex and depends on the specific device model and the manufacturer's security policy.
| Method | Requirements | Complexity | Security |
|---|---|---|---|
| QR code (Android 10+) | No | Low | High |
| Google Account | Synchronization | Low | High |
| Root rights | SuperUser | Average | Risk of loss of warranty |
| ADB debugging | PC, drivers | High | Average |
Security Issues and Expert Advice
While being able to view your password is convenient, it carries certain risks. If your device falls into the wrong hands and is unlocked, an intruder could easily access not only your Wi-Fi but also other devices on the local network through it. Therefore, it's crucial to use a secure screen lock method.
It's recommended to change your home network passwords regularly, especially if you frequently share your phone with friends or colleagues. You should also disable automatic connections to open or suspicious networks in your Wi-Fi settings.
Using password managers (eg. KeePass, 1Password) allows you to store complex, unique passwords for different networks without relying on your phone's memory. You can manually enter your Wi-Fi key there when you first set up your router.
⚠️ Attention: Never install dubious apps from untrusted sources that promise to "hack" or "reveal" passwords without access rights. These are often scams designed to steal your personal data.
Please note that menu interfaces may vary depending on the manufacturer (Samsung, Xiaomi, Huawei). If you don't find the items described, try searching your phone's settings by entering "Wi-Fi" or "Password."
Frequently Asked Questions (FAQ)
Is it possible to find out a Wi-Fi password if the phone is not connected to it right now?
Yes, as long as you've connected to this network before and haven't deleted it from your saved list. On Android 10+, the password can be found in the list of known networks via the QR code menu, even if the connection is currently inactive.
Are password viewer apps safe to use?
Applications from the official store Google PlayApplications that require root access are generally safe, as they only read system files. However, applications that promise to reveal passwords without root access are often fake or contain viruses.
What should I do if my phone says "Unlock required" when I try to view the QR code?
This is a standard security measure. You'll need to enter a PIN, pattern, or place your finger on the fingerprint scanner to confirm that the action is being performed by the device's owner.
Where is the wpa_supplicant.conf file stored?
The file is located at the path /data/misc/wifi/wpa_supplicant.confAccess to this directory is only possible with superuser (Root) rights or through special debugging tools.