How to view the WiFi password on your Android phone

It's a common situation when friends are coming over or you need to connect a new gadget but you've forgotten your wireless network password. AndroidSmartphones often find themselves in a vicious circle: the device is already connected to the network, but the password isn't stored anywhere. Fortunately, modern operating systems allow this problem to be resolved using built-in tools, without requiring complex system intervention.

Previously, access to stored keys required root rights, which exposed security risks and voided the warranty. Today, the algorithms have changed, and Google has given users more transparent access to network settings. You no longer need to be a cybersecurity expert to extract the necessary data from your phone's memory.

In this guide, we'll cover all relevant methods in detail, from standard interface settings to advanced ADB command usage. We'll also explore the nuances of various shells, such as MIUI, OneUI and clean AndroidUnderstanding these mechanisms will help you quickly restore network access in any situation.

The standard method is via QR code on Android 10 and later.

Starting with the tenth version of the operating system, engineers have introduced a convenient function for sharing access through QR codesThis is the simplest and safest method, requiring no third-party software. The mechanism works on most modern devices, regardless of manufacturer, although the visual appearance may differ slightly.

To use this method, you need to go to the settings menu. Find the section Connections or Network and Internet, then select the item Wi-FiA list of available networks will be displayed here, and the currently active one will be marked with a gear icon or the word "Connected."

Click on your network name or the gear icon next to it. A window with detailed connection information will open. There should be a button at the bottom of the screen or in the More Actions menu (three dots). Share or a QR code icon. The system will ask you to verify your identity using a PIN, fingerprint, or face scan.

⚠️ Attention: On some smartphone models (for example, older versions Xiaomi or Huawei) The password may not be displayed as text under the QR code immediately. In this case, take a screenshot and open it in the Google Lens app or any other QR reader—the text will appear there.

After successful authentication, a square code will appear on the screen, along with, most often, a text string containing the password below it. If the text is hidden, use the "Show Password" feature at the bottom of the screen, if available in your firmware.

📊 What Wi-Fi connection are you currently connected to?
Home 2.4 GHz
Home 5 GHz
Office corporate
Public network in a cafe
Mobile hotspot

Using Google Lens to decipher

If your smartphone's standard interface doesn't display the password in text next to the QR code, a built-in tool will come to the rescue. Google Lens (Lens) This image recognition technology is built into most Android-devices and allows you to "read" the information hidden in the graphic code.

Here's the process: take a screenshot of the QR code you received in the previous section. Then, open the Google or Google Photos app, find the photo you took, and tap the "Lens" button. The system will analyze the image.

The analysis will result in a box appearing on the screen with the text "Wi-Fi Password" or simply a text string containing the access key. This works because the QR code contains an unencrypted string in the format WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, which the algorithm easily decodes.

  • 📸 Take a screenshot of the network's QR code.
  • 🔍 Open the Google Photos app and select this screenshot.
  • 👁️ Click the "Lens" button (camera icon) in the bottom menu.
  • 📝 Copy the password text that appears to the clipboard.

This method is universal and works even on devices where manufacturers have hidden the key text display in the settings. It's especially useful for owners of smartphones with heavily modified skins, where standard features may be limited.

Checking through the router settings in the browser

An alternative and often more reliable way to find the access key is to look into the router's settings. Since your phone is already connected to Wi-Fi, it has direct access to the router's admin panel, even if you don't remember the password (in most cases).

First, find out the gateway IP address. Go to Settings → Wi-Fi, click on the active network and find the field "Gateway" or Router. Usually this is an address of the form 192.168.0.1 or 192.168.1.1. Copy this address.

Open any browser (Chrome, Firefox, Samsung Internet) and enter the copied IP address into the address bar. You'll be asked to enter your administrator username and password. If you've never changed them, try the default combinations: admin/admin, admin/password or admin/1234.

Router brand Default login Default password Entrance address
TP-Link admin admin tplinkwifi.net
ASUS admin admin 192.168.1.1
D-Link admin (empty) 192.168.0.1
Xiaomi admin admin miwifi.com
Keenetic admin 1234 my.keenetic.net

After logging into the control panel, find the section Wireless Network, Wireless or Wi-Fi. In subsections Wireless Security or Network protection there will be a field WPA Pre-Shared Key or "Password." There you can not only see the current key but also change it to a new one.

⚠️ Attention: Router interfaces are frequently updated. The layout of menu items may vary depending on your device's firmware version. If you can't find the section you need, consult the official documentation from the manufacturer of your model.

Using ADB to extract system files

For advanced users who are not afraid of the command line, there is a method using Android Debug Bridge (ADB)This method allows you to extract the network configuration file directly from the system without root access, but requires a connection to a computer or using a terminal on the device itself.

The essence of the method is to copy the system file wpa_supplicant.conf, which stores all saved networks and passwords in cleartext. However, starting with Android 10, access to this file is blocked for regular apps, so this method works via USB debugging.

You need to enable developer mode. To do this, go to Settings → About phone and press 7 times quickly "Build number". Then, in the "For Developers" menu that appears, enable USB debugging.

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

By running the command through a smartphone connected to a PC, you'll receive a text file on your computer. Opening it with Notepad will display a list of all networks in the following format: ssid="Network_Name" And psk="Password"This is the most technically reliable way to obtain data.

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

Make sure the drivers for your smartphone are installed on your computer. For Samsung, this means Samsung USB Drivers; for Xiaomi, this means Mi ADB/Fastboot Tools. Also, check the cable: it should support data transfer, not just charging.

Third-party applications and their limitations

In the store Google Play You can find hundreds of apps that promise to reveal saved passwords. However, it's important to understand how modern security systems work. AndroidApplications without root access are technically unable to read system files where encryption keys are stored.

Most of these programs (for example, WiFi Password Viewer) work in one of two ways. First, they use the same methods we described above (ADB or root emulation), which is difficult for the average user. Second, they simply display a QR code, which can be obtained using standard tools.

  • 🛑 Apps without root access cannot directly read system password storage.
  • ⚠️ Many "hackers" contain aggressive advertising or collect data about your connections.
  • ✅ Use only proven, highly rated utilities if standard methods don't work.

If you do decide to use third-party software, carefully read the permissions it requests. If a simple password viewer requires access to your contacts or microphone, that's a warning sign. The security of your data should be a priority.

Common problems and solutions

Even following the instructions, users may encounter difficulties. Often, the issue lies with the specifics of a particular phone model or firmware version. For example, on some corporate devices, administrators may prohibit viewing or exporting network settings.

Sometimes the "Share" button is simply missing from the interface. In this case, try updating your system to the latest version or checking for component updates. Android System WebViewClearing the Wi-Fi service cache through the application menu also helps.

If you're trying to connect to a 5 GHz network but your phone only sees 2.4 GHz, the problem may not be with the password, but with hardware incompatibility or router settings. Make sure your smartphone supports the standard. 802.11ac or newer.

Why doesn't the password appear in text on my phone?

This is a security restriction introduced by Google in Android 10. Previously, passwords were visible in Settings, but now they are hidden to prevent anyone with access to your unlocked screen from easily copying the key. Use a QR code as your primary method.

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

On Android 9 and below, the situation is more complicated. There's no built-in QR code function. You'll either have to find the password in the router settings or use root access (via Magisk/SuperSU) to access the file. wpa_supplicant.confWithout root access, viewing saved passwords on older OS versions is virtually impossible.

Is it safe to connect to open networks if I know the password?

Knowing the password doesn't automatically make the network secure. If it's a public network (like a cafe or airport), your traffic may be intercepted. Use a VPN to encrypt your data. If it's your home network, make sure it uses WPA2 or WPA3 encryption, not the outdated WEP protocol.

☑️ Network security check

Completed: 0 / 4

To sum it up, we can say that the ecosystem Android provides sufficient tools for managing network connections. The fastest way is to use the QR code built into the system. For a more in-depth analysis, browser-based or ADB-based methods are suitable. The main thing is to remember digital hygiene and avoid using passwords that are too simple to forget or steal.