How to find out the password for an entered Wi-Fi connection on Android: a complete guide

It's common to need to connect a new device to your home network or share access with guests, but the password has long been forgotten. Fortunately, modern operating systems Android Store data about connected networks in a secure, yet user-accessible format. You don't need to be a hacker or have advanced programming knowledge to recover lost data.

In older versions of the system, access to these files was restricted and required superuser (root) privileges, which posed security and stability risks to the device. However, starting with version 10, Google engineers implemented a convenient QR code viewing mechanism, which has become the de facto standard. In this article, we'll cover all the current methods, from built-in tools to advanced PC utilities.

Before taking any action, make sure your device is actually connected to the target network or has been connected to it before. The system does not store passwords for networks the smartphone has never accessed. Also, keep in mind that the menu interface may differ slightly depending on the network. manufacturer's shells, whether it be One UI from Samsung or MIUI from Xiaomi.

Using the standard QR code on Android 10 and later

The simplest and most secure method, which doesn't require installing third-party software, is available on most modern smartphones. It works by generating an encrypted image containing all the necessary connection data, including the SSID and security key. This method works on stock Android as well as on custom skins from major vendors.

First, open your wireless settings. The path typically looks like this: Settings → Wi-Fi or Connections → Wi-FiFind the active network you're currently connected to in the list. Click on it or the gear icon next to its name to expand its details.

A menu should appear on the screen with a "QR code" option or a "Share" button. Once clicked, the system will request identity verification via a PIN, pattern, or fingerprint. This is a standard measure. biometric protection, preventing unauthorized access to your data.

⚠️ Warning: Do not take screenshots of QR codes containing passwords or send them via messaging apps. Anyone with such an image can connect to your network without your knowledge.

After successful authentication, a square code will appear on the screen. Below it is often (but not always) a text password. If there is no text, simply point the camera of another phone at the code—the device will automatically prompt you to connect. To extract the text from the code, you can use any QR scanner or even the built-in Google Lens search.

View saved networks on Android 12 and above

In more recent versions of the operating system, this functionality has been expanded. Users can now see not only the current network but also the history of all previously used connections. This is especially convenient if you need to restore access to a friend's network or an old home network to which you are currently disconnected.

Go to the Wi-Fi section in Settings. Unlike older versions, there may be a separate tab or button called "Saved Networks." Clicking it will display a complete list of all access points your device has ever paired with. Select the one you need from the list.

After selecting the network, click the "Share" button or the QR code icon. The system will again ask for identification. As before, you will receive a graphic code and possibly a text string underneath. This method is universal for devices based on Android 12, 13, and 14.

📊 What version of Android is installed on your main smartphone?
Android 10
Android 11
Android 12 and above
Other version or iOS

It is important to note that on some custom shells, for example on older versions MIUI or ColorOSThe layout of the elements may vary. Sometimes the feature is hidden in the "More" submenu or is only accessible by long-pressing the network name. If the standard path doesn't work, try searching through the settings by searching for "QR" or "Share."

Using the ADB Command Line for Advanced Users

For those who are not afraid to work with a computer and the command line, there is a method using Android Debug Bridge (ADB). This method doesn't require root access, but it does require USB debugging enabled on the smartphone. It allows you to retrieve the system configuration file, which stores all passwords in plaintext.

First, download and install the Platform Tools package on your computer. Then connect your phone to the PC using a cable. On your smartphone, enable "USB debugging" in the "Developer options" section. When connecting for the first time, confirm permission on your computer by verifying the digital keys.

Open a terminal or command prompt on your computer in the ADB folder and enter the command to list networks. The syntax may vary depending on your Android version, but the basic query looks like this:

adb shell cmd wifi list-networks

However, to obtain passwords (pre-shared keys) on modern versions of Android, access to the file wpa_supplicant.conf It's closed even for ADB without root. However, on devices with Android 9 and below, as well as on some specific builds, the export configuration command may work. If your phone supports it, you'll be able to see a list of SSIDs and their corresponding security keys.

⚠️ Please note: ADB interfaces and system permissions change with each Google security update. What worked on Android 8 may be completely blocked on Android 13.

What to do if ADB doesn't see the device?

Make sure the ADB drivers are installed and the cable is working properly and supports data transfer, not just charging. Also, check if your phone is asking for debugging permission.

Login to the router's web interface

If your phone doesn't display the password, and you have a computer or any browser handy, you can access the router's settings. The Wi-Fi password (WPA/WPA2 key) is stored in the router's configuration and is viewable by the administrator. This method works regardless of Android version.

To log in, you'll need the gateway IP address. On Android, you can find it in the Wi-Fi settings by tapping the connected network and looking for the "Gateway" or "Router" field. This is usually the address 192.168.0.1 or 192.168.1.1Enter this address into the address bar of your browser.

The system will ask for your login and password. If you haven't changed them, they are often listed on a sticker on the bottom of the router (the default is admin/admin). Once in the control panel, look for the section Wireless, Wi-Fi Settings or "Wireless Network." There will be a Password or Key field, which you can make visible by unchecking the "Hide" box.

This method also allows you to not only find out but also change the password to a more complex one if you suspect your neighbors have connected to your network. Don't forget to reconnect all your devices after changing the password.

☑️ Checking access to the router

Completed: 0 / 5

Specialized applications and their limitations

The Google Play Store is full of apps that promise to reveal passwords. However, it's important to understand the technical side of things: without root access, no app has access to the system file where security keys are stored. Most of these apps are either useless or disguised as ads.

Some utilities such as WiFi Password Viewer, can only work on devices with root access. They read the configuration file and display its contents in a convenient format. If your phone is not rooted, such apps will only show a list of networks, not passwords.

There are also QR code generator apps that create new codes for already connected networks, but they use the same native system API as the standard "Share" feature. Using unknown apps that require root access may result in loss of warranty and data vulnerability.

Method Root is required Complexity Security
QR code (standard) No Low High
ADB commands No (but debugging is needed) High Average
Web interface No Average High
Third-party apps Often Yes Different Low

⚠️ Warning: Be careful with apps that require unusual permissions. Installing software from untrusted sources can lead to personal data theft.

Restoring access via Google sync

The Google ecosystem offers Wi-Fi password syncing across devices linked to the same account. If you've ever connected to the network on one device and enabled syncing, the password may be available on another device under the same account.

You can check this through the "Autofill" menu in Google settings. Follow the path Settings → Google → Autofill → Autofill from Google → PasswordsThis is where saved website and application passwords are stored, and in some cases, network data.

While directly viewing a Wi-Fi password is rare, this mechanism ensures seamless connectivity. When you buy a new Android phone and sign in to your account, it automatically connects to all previously saved networks without entering a password. This demonstrates how background credential syncing works.

Is it possible to find out the Wi-Fi password without rooting Android 9 and below?

Unfortunately, on Android versions below 10, there's no built-in feature for viewing passwords or generating QR codes. System files are protected, and bypassing this without superuser (root) rights is virtually impossible. The only option is to log in through the router's web interface if you know the administrator password.

Are password recovery apps safe to use?

Most of these apps on Google Play either don't work without root access or are scams. They can collect data about your networks and transmit it to third parties. It's recommended to use only proven system functions or official utilities from router manufacturers.

What to do if the QR code is not generated?

If the "Share" or "QR code" button is missing, your Android device may be limited by your carrier or manufacturer. In this case, try updating the system or using the browser-based method to access your router settings.

Where is the password file physically located on Android?

Technically, passwords are stored in a file /data/misc/wifi/wpa_supplicant.conf. However, access to the directory /data Closed to regular users and applications. This file can only be opened with root access and a superuser file manager, such as Root Explorer.