How to find your WiFi password on Android: full instructions

It's common to need to connect a new device to an existing network but have forgotten or lost the password. Fortunately, modern smartphones running the operating system Android Often, they store this data in their encrypted storage. If you've previously connected to the desired access point from this phone, you can retrieve the access key without having to reset the router.

Recovery methods depend on the version of the operating system installed and the user's access rights. Older versions of the system required superuser rights (Root), however, starting with Android 10, Google has implemented native mechanisms for secure data exchange. The wpa_supplicant.conf system file stores keys in clear text only on older versions of Android up to and including 9.

In this guide, we'll cover current methods for obtaining network information, from standard interface functions to advanced debugging techniques. It's important to understand that data security is a priority, so access to some functions may be restricted by the device manufacturer or specific operating system.

Using the QR code feature on Android 10 and later

Starting with version 10 of the operating system, developers have implemented a convenient network settings sharing mechanism. This is the simplest and most secure method, requiring no third-party software or administrator privileges. The feature is available on most devices running stock Android, as well as on smartphones from Samsung, Xiaomi, Realme, and other popular brands.

First, you need to go to your wireless settings. Typically, the path looks like this: Settings → Wi-Fi or Connections → Wi-FiFind the network you're already connected to in the list, or click the gear icon next to the hotspot name. In the menu that opens, look for the "Share" button or a QR code icon.

⚠️ Please note: Some smartphone models (for example, certain Huawei or Honor versions) may require you to first unlock the screen with a fingerprint or PIN code to generate the code for security purposes.

After pressing the button, the system will generate a graphic code. The password is often written in text underneath it. If the text is hidden behind asterisks, you can take a screenshot and open it in the Google Lens app or any other QR code scanner to read the encrypted string.

📊 What version of Android are you using?
Android 10 and below
Android 11
Android 12
Android 13 and later

It's worth noting that depending on the manufacturer's shell, the interface may differ slightly. For example, on Samsung One UI you need to click on the gear icon, then select “QR code”, and on Xiaomi MIUI — just tap on the QR code icon in the network card.

Viewing via Google settings and sync

The Google ecosystem allows you to sync saved WiFi passwords across devices linked to the same account. This feature has become especially important in recent Android updates. If you have access to a computer or another device running the Chrome browser, you can find the required key in the password manager.

The process is as follows: open your phone's settings, go to the "Google" section, and select "Autofill." Next, tap "Google Autofill" and go to "Password Manager." Here, in the list of websites and apps, find the entry that begins with wifi: or having a corresponding icon.

  • 🔑 Open the passwords menu in Google settings on your smartphone.
  • 💻 Or go to passwords.google.com from your computer.
  • 🔍 Enter the name of your WiFi network in the search.
  • 👁️ Click on the eye icon and verify your identity using biometrics.

This method is especially useful if you've forgotten your password, or your phone, while connected to the network, is dead or lost. The main requirement is that password syncing must have been enabled in your Google account. Otherwise, your data will not be accessible in the cloud storage.

☑️ Checking synchronization

Completed: 0 / 1

Using the file manager (for Android 9 and below)

On devices with operating system versions below 10 (Android Pie and above), passwords are stored in a system configuration file. However, accessing this file requires superuser rights (Root). Without them, the system will not allow you to open the directory where critical settings are located.

If your smartphone is rooted, you will need a file manager that supports root access, such as Root Explorer or Solid ExplorerAfter granting access rights, you need to follow this path: /data/misc/wifi/. This folder contains a file wpa_supplicant.conf.

Open this file as text. Inside, you'll see a list of all networks the device has ever connected to. The information you're looking for is in the block network, next to the parameter pskThe value after the equal sign is your password.

⚠️ Warning: Rooting your device will void your warranty and may cause system instability. Be careful when editing system files.

Don't try to simply copy the file to a computer without access rights—the system will return an error. Also, keep in mind that on some modern firmware versions, even with root access, access to this folder may be restricted by selinux security policies.

What to do if the file is empty?

If the wpa_supplicant.conf file contains no data or is zero in size, the settings may be stored in a different format or the partition may be encrypted. In this case, try rebooting your device and checking the file again.

ADB Debugging Method Without Root

For more advanced users, there is a way to obtain the password through a debugging tool. Android Debug Bridge (ADB)This method doesn't require root privileges, but it does require a computer and debugging mode enabled on the phone. It works on many devices where access to bestimmten shell commands isn't blocked.

First, you need to enable developer mode. To do this, go to Settings → About phone Tap "Build number" seven times quickly. Then, in the "Developer options" menu that appears, enable "USB debugging." Connect your phone to the PC using a cable.

On your computer, enter a command in the command line (after installing the ADB drivers) to display the WiFi configuration. The following command often works:

adb shell dumpsys wifi | grep"mConfiguredNetworks"

However, the syntax may vary on different Android versions. A more universal, but more complex, approach is to try copying a system file via ADB, if permissions allow:

adb pull /data/misc/wifi/wpa_supplicant.conf c:/wifi_pass.txt

If the command is successful, the file will be saved to the C drive, and you can open it with Notepad. If you receive a Permission Denied error, the device manufacturer has closed this loophole, and this method won't work without root access.

Specialized applications and their limitations

In the store Google Play There are many apps that promise to reveal saved passwords. However, it's important to understand how they work. An app can't "hack" a password; it only reads data already in the system. Therefore, on newer Android devices (10+) without root access, they're often useless for viewing saved networks, but they can be useful for generating QR codes.

Popular utilities like WiFi Password Viewer or WiFi Key Recovery Require root access. If you don't have root access, the app will either show an empty list or constantly request root access. Some programs act as an intermediary for backing up network settings.

Application name Root is required Functional Safety rating
WiFi Password Viewer Yes Show passwords from the system Average
WiFi Map No Search for open networks High
QR Code Reader No Reading codes from the screen High
WiFi Analyzer No Signal analysis High

Be extremely careful when installing unknown apps from third-party sources. They may request excessive permissions and steal your personal data. Use only trusted tools with numerous positive reviews.

Frequently asked questions and access issues

Users often encounter situations where a seemingly simple method fails. This may be due to the security policies of a particular smartphone manufacturer. For example, companies often change file paths or block access to system calls even for standard apps.

If none of the above methods work, the last option is to log into the router's admin panel. To do this, you need to be connected to the network (even without internet) and know the administrator login and password. These are usually found on a sticker on the bottom of the device. In the web interface, go to 192.168.0.1 or 192.168.1.1 In the wireless network section, you can view or change the security key.

Is it possible to find out the password if the phone has never connected to this network?

No, it's technically impossible to find out the password for a network your device has never connected to and whose data hasn't been saved. You can only try brute-forcing it, which is illegal and technically difficult.

Are password viewer apps safe to use?

Using verified apps from Google Play is relatively safe, but they require extensive permissions. Apps that require root access gain complete control over the system, creating a potential risk of data leakage.

Why is there no password under the QR code on Android 12?

In some skins (for example, older versions of MIUI or EMUI), the password text may be hidden. In this case, use a QR code scanner on another device to read the data from the graphic image.

⚠️ Note: Settings interfaces and file paths may vary depending on the firmware version and device model. Always verify menu item names with the manufacturer's current documentation.

In conclusion, the most reliable and simple method remains the built-in QR code function on modern smartphones. For older devices, the only option is root access or physical access to the router settings. Remember digital hygiene and don't install questionable software just for the sake of a single number.