How to View a Forgotten WiFi Password on Android: A Complete Guide

It's common to need to connect a new gadget to your home network but have hopelessly forgotten the password. Fortunately, modern operating systems Android Provide built-in mechanisms for restoring access to saved data. You don't need superuser rights or complex third-party utilities to accomplish this.

In most cases, access to an already connected device that has previously successfully logged into the network is sufficient. The system stores encryption keys in a secure memory partition, and with the device's owner rights, you can legally extract this information. This is especially relevant for OS versions released after 2020, where security features have been significantly overhauled.

In this article, we'll cover all available methods for recovering your access key, from standard interface settings to using the command line. You'll learn how to do this on smartphones from different manufacturers and what to do if standard methods don't work. Important to know: on devices with Android 10 and above, the QR code contains the password itself in text form, which significantly simplifies the process.

Restoring access through the standard settings menu

Starting with Android 10, Google engineers have implemented a quick connection sharing feature using QR codes. This mechanism not only simplifies connecting guests but also allows the device owner to see the saved security key. You won't need to install any additional apps from the Google Play Store.

To get started, go to the menu Settings your smartphone. Find the section responsible for wireless connections; it may be called Wi-Fi, Wireless networks or Connections Depending on your device model, this displays a list of available networks and the current connection status.

Click the gear icon next to the network whose password you want to find out. In the connection details menu that opens, find the button Share or a QR code icon. The system will ask you to verify your identity using your screen unlock PIN, fingerprint, or face scan.

After successful authentication, a QR code will appear on the screen. Below it, there's usually a text string containing the password. If the text is hidden by asterisks or illegible, take a screenshot and open it in your gallery or through Google Lens, which will instantly recognize and display the text content.

It is worth noting that on some shells, for example, MIUI from Xiaomi or OneUI from SamsungThe interface may differ slightly. However, the logic remains the same: look for the (Share) button in the details of the active network. This is the safest and fastest method, requiring no technical knowledge.

⚠️ Note: On some corporate devices with installed security profiles, the administrator may block the QR code generation function. In this case, the standard method will not work.

Using Google Password Manager to view keys

The Google ecosystem offers a centralized password vault that syncs across all your devices. If syncing is enabled on your smartphone, saved Wi-Fi keys can be accessed through your Google account. This is especially convenient if you want to view your password on a tablet or computer, rather than your phone.

Open your smartphone settings and find the section Google. Go to the menu Autofill, and then select Google AutocompleteIn this section, click on the item Google Password Manager (or Google Password Manager). All saved credentials are collected here.

In the list of websites and apps, find the entry corresponding to your Wi-Fi network. It usually has a Wi-Fi icon or the router's name. Click on the desired entry. The system will ask you to confirm your identity again. Afterward, you'll see a login (if required) and a password field.

To reveal hidden characters, click the eye icon. Now you can copy the password or rewrite it. This method is universal and works the same on Samsung Galaxy, Pixel, Honor and other brands, since it is tied to the system service, and not to the manufacturer's shell.

📊 What version of Android are you using?
Android 10-11
Android 12-13
Android 14 and above
I don't know

The advantage of this method is that it allows you to manage your passwords remotely. You can go to passwords.google.com from any computer, log in to your account, and find the key you need there. This eliminates the need to fiddle with your smartphone's screen if it's damaged or difficult to type.

Checking via the router's web interface

If your smartphone doesn't display the password directly, you can try to obtain it through the router's settings. To do this, your phone must be connected to a Wi-Fi network (even without internet access) or connected to the router via an OTG cable (for advanced users). You'll need to know the gateway's IP address.

Open any browser on your smartphone (Chrome, Firefox, Samsung Internet). In the address bar, enter the router's IP address. Most often, this is 192.168.0.1 or 192.168.1.1The exact address can be found in the Wi-Fi connection settings, in the line Gateway or Router.

After entering the address, an authorization page will appear. If you haven't changed the factory settings, try the default login/password pairs: admin/admin, admin/password, admin/1234. These details are often found on a sticker on the bottom of the router.

Once in the router menu, go to the section Wireless (Wireless network) or WLANThere will be a subsection Wireless Security or Security settingsIn the field WPA/WPA2-PSK Key or Password The current key will be displayed. You can change it or simply copy it.

Router brand Standard IP Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Keenetic 192.168.1.1 admin 1234
Tenda 192.168.0.1 admin admin

Router interfaces are constantly being updated, and menu locations may change. If you can't find the section you need, consult the official documentation from your equipment manufacturer.

⚠️ Warning: If you change the password in your router settings, all connected devices will lose internet connection and will require you to re-enter the new key.

Using ADB Commands for Advanced Users

For users who are not afraid of the command line and have USB debugging enabled, there is a method via Android Debug Bridge (ADB)This method allows you to extract the network configuration file, which stores all passwords in cleartext or hashed form. It works even on older versions of Android, as long as additional security patches haven't been applied.

You'll need a computer with ADB drivers installed and a USB cable. On your phone, go to the menu For developers the option must be activated USB debuggingConnect your smartphone to your PC and confirm the debugging request on your phone's screen.

Open the command prompt on your computer and enter the command to gain root privileges (if the device is rooted) or try requesting the configuration file directly. The command to extract the file is as follows:

adb pull /data/misc/wifi/wpa_supplicant.conf wifi_config.txt

If the command is successful, a file will appear on your computer. wifi_config.txt. Open it with any text editor. Find the block network with the desired SSID (network name). Line psk will contain the password you are looking for.

What to do if access is denied?

If you receive a "permission denied" error when running the command, your device is not rooted. In this case, this method will not work without flashing the firmware or using exploits, which is not recommended for regular users.

On modern versions of Android (10+), access to this file is blocked without root access. However, if you have root access, you can use a terminal directly on your phone (for example, the Termux app) and run the command su -c"cat /data/misc/wifi/wpa_supplicant.conf".

This method is considered expert-level, as it requires an understanding of the Linux file system, which underlies Android. Errors when working with system files can lead to instability of the Wi-Fi module.

Third-party applications and their limitations

The Google Play Store is full of apps promising to reveal saved passwords. However, after the release of Android 10, Google drastically restricted third-party software access to system files containing security keys. Most such apps are now either useless or disguised as ads.

Apps that truly work without root access typically use the Accessibility API to read the password when you try to share a Wi-Fi connection. They don't "hack" the network, but simply copy the text from the screen when the QR code is generated.

Popular types of such utilities include:

  • 📱 WiFi Key Recovery — requires root access to view the wpa_supplicant.conf file.
  • 🔓 WiFi Password Viewer — works only on older versions of Android (up to and including 9).
  • 👁️ Apps with accessibility — automatically read the password when you click the "Share" button in the settings.

Be extremely careful when installing such software. Many of them collect data about your connections and may transmit it to third parties. Always check the permissions the app requests.

If your device isn't rooted, don't bother with this magic app. Android's security system is designed to isolate apps from each other, and no app from the Play Store should have direct access to your Wi-Fi password storage without your explicit permission through system dialogs.

Common problems and solutions

Even following the instructions, you may encounter difficulties. For example, the "Share" button may be grayed out, and the QR code may not be generated. This often happens on devices running custom ROMs or stripped-down versions of Android (like Android Go).

In some cases, the password may be hidden if the network is corporate (using 802.1x Enterprise authentication). In such networks, the password is not stored in plain text, but rather uses a certificate or dynamic token. It cannot be viewed using standard methods.

List of possible obstacles:

  • 🚫 Lack of administrator rights — On work phones, the IT department may block viewing of network settings.
  • 📉 Outdated version of Android — on versions below 6.0, security mechanisms worked differently, and passwords were hidden more deeply.
  • 🔒 Google Play Protect Security Policy - can block the installation of applications that attempt to access the Wi-Fi configuration.

If all else fails, the last, but radical, option is to reset your network settings. This will delete all saved Wi-Fi profiles and Bluetooth pairings, but will not affect your personal files. After the reset, you can reconnect if you know the password, or reset the router itself using the Reset button.

⚠️ Note: Resetting network settings does not restore a forgotten password; it only clears the list of saved networks. Use this method only if you are prepared to re-enter the passwords for all known Wi-Fi hotspots.

Questions and Answers (FAQ)

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

No, that's impossible. Android only stores passwords for networks the device has ever connected to. If the phone doesn't know the network, it doesn't have access to the encryption key.

Are Wi-Fi hacking apps safe to use?

Using such apps to connect to other people's networks without the owner's permission is illegal. Furthermore, most such programs contain viruses or miners. It is recommended to use only legal methods to recover your data.

Where is the password file stored on Android?

The system file is called wpa_supplicant.conf and is located in the directory /data/misc/wifi/Access to this folder without superuser (root) rights is denied to regular applications.

What should I do if the QR code is not read by the camera?

Try increasing your screen brightness, cleaning the camera, or using a third-party QR code scanner app from Google Play. You can also take a screenshot and scan the code using Google Photos or Google Lens.