How to find the password for a connected Wi-Fi connection on Android

It's common to need to connect a new device to an existing network but have forgotten or lost the password. Fortunately, modern smartphones run Android have built-in mechanisms that allow you to solve this problem without complex manipulations. If your device already has an active connection to the router, the system often stores the access key in a secure vault, which can be accessed using standard tools.

Depending on the operating system version, the interface and available features may vary significantly. Starting with Android 10, the process of data extraction has become as simple as possible thanks to the implementation of the access sharing function through QR codeOlder versions require either root rights, or by accessing the router's administrative panel.

In this article, we'll cover all the current methods for recovering lost data in detail, from standard interface features to advanced methods for experienced users. It's important to understand that the security of your network directly depends on the strength of your password, so after recovering it, we recommend checking your encryption settings.

There are several common scenarios where users search for ways to view saved keys. Most commonly, this involves connecting a laptop, printer, or tablet when the phone is already set up, but remembering the key combination is impossible. Sometimes, it's necessary to grant access to guests who can't read the QR code from the screen due to technical limitations of their devices.

Using the QR code feature on Android 10 and later

Starting with version 10 of Google's mobile operating system, a very useful option has been added to the standard interface. It allows you to not only share access but also visualize the password itself in plain text. This method is the most secure, as it doesn't require installing third-party software or gaining superuser privileges.

To get started, you need to go to your device's settings menu. Find the section responsible for wireless connections, which is usually called Connections or Network and Internet. Next, select the item Wi-Fito see a list of available and saved networks.

Tap the gear icon or arrow next to the name of the network you're currently connected to. Detailed connection information will appear on the screen. Depending on your smartphone model, you'll see this at the bottom or center of the screen (Samsung, Xiaomi, Pixel), the button should be displayed Share or a QR code icon.

After clicking this button, the system will ask you to confirm your identity. You will need to enter your screen unlock PIN, fingerprint, or face scan. Face IDThis is a security measure to prevent data theft by attackers who gain physical access to an unlocked phone.

After successful authentication, a square code will appear on the screen. Below it, the network password is usually written in small print. If the text isn't immediately visible, take a screenshot. Then open this screenshot using the Google Lens app or any other QR code reader.

  • 📱 Open Wi-Fi settings and select your active network.
  • 🔒 Complete biometric or PIN code authorization.
  • 👁️ Use Google Lens to read the text underneath the QR code.
  • 📝 Copy or write down the displayed password.
📊 What Android do you have?
9 and below
10-11
12-13
14 and newer

It is worth noting that on some shells, for example MIUI or OneUI, the password may be hidden by asterisks even in this menu. In this case, taking a screenshot and then recognizing the text with the camera is the only reliable way to view the character combination without third-party software.

Viewing the password through the router settings

If the standard Android methods don't work or the system version is too old, there's always a universal solution: logging into the router's web interface. The router stores all network settings, including encryption keys. This method doesn't require your phone to be connected to Wi-Fi; it only requires being on the same local network or having access to the gateway address.

First, you need to find out your router's IP address. Most often, this is 192.168.0.1 or 192.168.1.1This information can be found on the sticker on the bottom of the device or in the connection settings on the phone (section Network information -> Gateway). Enter this address into the address bar of any browser on your smartphone.

⚠️ Attention: If you've changed the default password for accessing your router settings and have forgotten it, you'll need to perform a hard reset. This will result in the loss of all current provider settings, which you'll have to re-enter.

After entering the address, you will be asked to enter the administrator login and password. By default, this is often admin / admin or admin / passwordThe exact information is also indicated on the sticker under the router body. If you have changed it previously, use your own information.

Once in the control menu, look for the section related to wireless network. It may be called Wireless, Wi-Fi, Wireless mode or WLAN. Within this section, find the subsection Wireless Security or Wireless securityThat's where the field is located. PSK Password or Wireless network key.

The password in this field may be hidden by asterisks. However, unlike on a phone, the router's web interface often has a "Show" button or the ability to simply copy the field's contents. If the field is editable, you can simply click on it to see the text.

Router brand Default address Login / Password Menu section
TP-Link 192.168.0.1 admin / admin Wireless -> Wireless Security
ASUS 192.168.1.1 admin / admin Wireless Network -> General
D-Link 192.168.0.1 admin / (empty) Wi-Fi -> Security Settings
Xiaomi 192.168.31.1 admin / (password for first login) Wi-Fi settings
Keenetic 192.168.1.1 admin / 1234 My Networks and Wi-Fi

Using the web interface gives you the most complete control. Not only will you know your password, but you can also change it to a more complex one if you don't think the current one is secure enough. After changing your settings, be sure to click the button Save or Apply, otherwise the changes will not take effect.

Methods for Android 9 and older versions

Owners of devices with version Android 9 (Pie) and below face security limitations. In these OS versions, the QR code generation feature for guest access is either missing or doesn't display the password in plaintext. Viewing the saved key in text format using standard tools is virtually impossible.

The only legal way without root rights is to use the "backup" function and subsequent analysis of files, but this requires connecting to a PC and using ADB (Android Debug Bridge)However, for most users this method is too complicated and time-consuming.

ADB Method for Advanced Users

To extract the password via ADB, you need to enable USB debugging, connect the phone to the PC, and run the command adb pull /data/misc/wifi/wpa_supplicant.conf. This file contains logs of all connections, but on Android 10+, access to this folder is restricted without root.

If you absolutely need access and a QR code isn't generated, try finding a device that's already connected to the network and has a newer version of Android. Connect to Wi-Fi from it, and then use the QR code method on the new device to transfer the data to the old phone.

It's also worth considering using password managers if you have them installed. Some antivirus and optimization utilities have a Wi-Fi settings backup feature, which can store keys unencrypted.

Using root privileges to access system files

Obtaining superuser rights (Root) removes virtually all Android restrictions. This allows apps to read system files, which store the configurations of all ever-saved Wi-Fi networks. However, this method carries the risk of voiding the warranty and possibly damaging the system.

To implement this method, you will need an application with root access, for example, Root Explorer, ES File Explorer (old version) or specialized WiFi Password ViewerAfter installation and granting superuser rights, the application will have access to the file wpa_supplicant.conf.

The file path usually looks like this: /data/misc/wifi/wpa_supplicant.confThis text file contains records of all networks. Look for the blocks network, inside which there is a field psk="your_password"The value in quotation marks is the key you are looking for.

⚠️ Attention: Making changes to system files without understanding their structure may cause the Wi-Fi module to stop working correctly. It is recommended to only read the file, not edit its contents.

There is a myth that apps like WiFi Map or Instabridge They can "hack" your password. In reality, they only show password databases that users themselves have uploaded to the cloud. This is not a way to recover your forgotten password unless it was previously uploaded by someone else.

  • 🔓 Root rights give full access to the file system.
  • 📂 The configuration file is located at the path /data/misc/wifi/.
  • 🔑 The parameter we are looking for is called psk.
  • ⚠️ This procedure may void your device's warranty.

Third-party applications and their effectiveness

There are thousands of apps on the Google Play Store that claim to reveal your Wi-Fi password. It's important to understand how they work. On Android 10 and above, without root access, no app has permission to read saved passwords from other apps or the system for security reasons (sandboxing).

Such utilities can only be useful in two cases: if your phone has root access, or if the app simply helps generate a QR code from an existing connection (duplicating the system function). Popular names like WiFi Password Recovery often require superuser rights to function properly.

Some manufacturers, such as Samsung And Xiaomi, embed their own utilities into the shell. For example, Samsung has an app SmartThings, which can help with network management, but it also follows general Android security rules and will not reveal the password without authorization.

If you see an app that claims to "hack" your neighbors' Wi-Fi or reveal passwords without rooting on a new Android device, it's likely a scam or a data-mining app. Only tools that exploit vulnerabilities (which is illegal) or legitimate system APIs can truly work.

Common errors and problems during recovery

Users often encounter an error or endless re-authorization requests when attempting to view a QR code. This may be due to corrupted system keystore files or a conflict with Google Play Services security updates.

In some cases, especially on custom ROMs, the Wi-Fi menu may have been modified by developers, and the "Share" button is simply missing. In these cases, the only solution is to reset the network settings, which will delete all saved passwords but may resolve the software issue.

☑️ What to do if your password is not visible

Completed: 0 / 4

Another common problem is incorrect character recognition when scanning a QR code. Letters I (ouch) and l (el), or 0 (zero) and O (o) are often confused. Carefully check your password before entering it, especially if it contains complex combinations.

⚠️ Attention: Settings interfaces and menu item names may vary depending on the phone model and shell version. If you don't find an exact match, look for semantic equivalents (e.g., "Wireless Networks" instead of "Wi-Fi").

Remember that network security depends not only on the password's complexity, but also on the encryption protocol. Make sure your router uses the standard. WPA2 or WPA3. Obsolete protocol WEP It can be hacked in a few seconds, and knowing the password in this case does not guarantee data protection.

Questions and Answers (FAQ)

Is it possible to find out the Wi-Fi password if the phone is not connected to it, but was connected before?

Yes, if you have Android 10 or higher, you can go to Wi-Fi settings, find the saved network in the list (sometimes you need to tap "Add network" or "Saved networks"), tap it, and generate a QR code. On older versions of Android, this is only possible with root access.

Are password recovery apps safe to use?

Using apps from the official Google Play store is generally safe unless they require suspicious permissions. However, apps that require root access gain complete control of the device, which poses potential data leakage risks if the developer is unscrupulous.

What should I do if the QR code is not displayed?

This can happen on older versions of Android (9 and below) or on devices with heavily modified skins. In this case, try accessing the router settings through a browser or use the Google Lens method in the screenshot if the (share) button still exists but the code is unreadable.

Is it possible to recover the password if the router has been reset?

No, resetting the router resets all settings, including the network name and password, to their factory defaults. You can find the new password only on the sticker on the inside of the device or in the manual, unless you changed them after the reset.

Does this method work for guest network?

Yes, the guest network appears as a separate access point. If your phone is connected to the guest Wi-Fi, you can find its password using the same methods (QR code or router settings) as for the main network.