We’ll review the various methods for viewing the WiFi passwords you’ve connected with your Android, regardless of whether you have root access. It is widespread for us to want to know the password of a WiFi network we have previously connected to using our mobile phone. There could be several reasons for this, such as passing the password to a new device or sharing the connection with a guest.
Did you know that your Android automatically saves the passwords of all WiFi networks you connect to? Yes, all Androids keep WiFI keys in a decrypted file on the device’s storage so the system can access them whenever needed. It is possible to view the saved WiFi passwords in this manner.
But what if we, the users, need this file?
Because it is stored in the file system’s root, you might assume that only users with root permissions on their devices can access it… but this is not always the case.
How to view and share Wi-Fi passwords on Android without root
The tenth version of Google’s operating system introduced an even easier way to view and share stored Wi-Fi passwords; if your phone does not have the Android ten update, we explain how to do it in other versions below.
Since Android 10, we can access a new menu within the information of the Wi-Fi network to which we are connected. A QR code in that menu will obtain the credentials to click when scanned from another phone – which must also be updated to Android 10.
You can view and share Wi-Fi network passwords with others if your mobile device is updated to Android 10 or higher. To accomplish this, follow these steps:
- Go to the System Settings application, and then to the Wi-Fi and networks section
- Go to the Wi-Fi section and tap the Saved Networks section
- Select the network for which you want to see the password
- Tap the Share button, indicated by the icon of a QR code
- Enter the screen unlock method you have configured, you will access a screen where you can see a QR code that other people with mobile phones updated to Android 10 can scan to connect.
It is possible to see the WiFi password saved without a QR code using this method, which is often overlooked. The key will appear in text format just below the code, allowing you to copy, write it down, or share it.
How to view Wi-Fi passwords saved on mobile phones with previous versions (with root)
This is the simplest way to see the wifi passwords saved on your Android if it hasn’t yet been updated to the system’s latest version. All you need – aside from root, of course – is to download a free app from Google Play.
Although we chose the “Wifi Password Recovery” app in our case, other tools of this type are available in the Google Play store. It works the same way, so this procedure will work regardless of which app you download.
When you open the application after it has been installed, it will ask you to grant it the necessary root permissions… and that’s it. All wifi networks to which the terminal has been connected over time will be displayed on the screen, along with the corresponding passwords. Isn’t it simple?
How to view Wi-Fi passwords on any Android without root
If you don’t have root or Android 10, things get a little more complicated, because this procedure is only available in Android versions prior to 6.0 Marshmallow. This is because, as of this version, Android automatically encrypts the /data partition. And can you figure out where the password file is? Specifically, in this partition.
Before you begin, make sure you have a computer – regardless of whether it is Windows, Mac, or Linux – a USB cable, and the ADB drivers installed on the computer to be used. Whether or not you intend to view Wi-Fi network passwords after completing this procedure, installing ADB drivers is highly recommended because it will allow you to perform other advanced processes on Android, such as installing ROMs or modifying critical system components.
Once installed, open a CMD command window with Shift + Right Click in the folder where you installed ADB on a Windows computer, or simply execute the ADB command in a terminal window on a Mac.
The next step is to connect the Android device to the computer via USB, making sure you have enabled USB debugging in the developer settings – if you can’t find them in the settings panel, go to the “Device Information” section and click on the build number several times.
With the phone connected and the command window open, run the following command to see if the computer correctly detects the device:
If everything is in order, the device’s serial number will be displayed. Finally, you must gain access to the file containing the Wi-Fi passwords. However, instead of opening it, we will make a copy that will be saved directly on the computer’s hard drive. To accomplish this, run the following command:
adb pull /data/misc/wifi/wpa_supplicant.conf c:/wpa_supplicant.conf
The part “c:/wpa supplicant.conf” in this command refers to the path where the file will be stored, and it can be changed to the liking of each individual by simply specifying the path of the computer’s folder in which you want to store the file.
In this manner, we will have copied the same file that we would have accessed with the application discussed in the “with root” method, and the list of all Wi-Fi networks, accompanied by their stored keys, will appear again.
Don’t lose Wi-Fi passwords again: learn how to create a backup
If you don’t want to have to look for the Wi-Fi network keys every time you change your phone, there is a much simpler option that allows you to store all the passwords without resorting to any of the above procedures. It entails making a backup of the Wi-Fi passwords saved on Android. To accomplish this, you must take the following steps:
- On your mobile, go to settings and look for the System section.
- Access the Backup option.
- If you click on the “Device Settings” section, you will see that one of the data for which an automatic backup is created is the passwords of WiFi networks.
- Make sure you have the Backup option in Google Drive enabled.
All passwords will be available again every time you log in with your Google account on a new mobile phone and restore the backup stored in Google Drive. They will be saved in the corresponding operating system file, and the device will connect to the networks whose passwords are stored in the copy.