How to view saved WiFi networks on Android: all methods

It's common to have friends over or need to connect a new gadget, but you've long forgotten your home wireless network password. Fortunately, the operating system Android Stores configurations of all successful connections for years, allowing you to retrieve the necessary data if needed. Depending on the firmware version and the availability of superuser rights, the methods for obtaining this information may vary significantly, but they are always available.

Starting with version 10, Google introduced a convenient feature for visualizing access keys via QR codes, making data exchange a breeze. However, owners of older devices or those who prefer traditional text viewing methods can use alternative methods, including system files or console commands. Let's explore all the available options, from the most basic to the most advanced.

⚠️ Note: Menu interfaces in different manufacturers' skins (Samsung, Xiaomi, Huawei) may visually differ from standard Android. Item names may vary, but the logic remains the same.

Visual method via QR code on Android 10 and later

The fastest and most secure method, which doesn't require installing third-party software, is available to users of modern smartphones. The system generates a special graphic code containing the network's SSID and encryption key, which can be read by the camera of any other device. To get started, open Settings your gadget and go to the section Connections or Wi-Fi.

Find your active network in the list or click the gear icon next to the name of the connection you need. The settings menu that opens often includes a button. Share or a QR code icon. After clicking, the system will require identity verification via PIN code, a pattern or fingerprint, which is an important security measure.

  • 📱 A square code will appear on the screen, with a text password often written in small print underneath it.
  • 📸 Take a screenshot if the text is unreadable and open the image in Google Lens for recognition.
  • 🔗 Scan the code with another phone's camera to instantly connect without entering any characters.

This method is ideal because it doesn't compromise the system's integrity and doesn't require extensive knowledge. However, it's worth keeping in mind that some custom shells may hide the text transcript, leaving only the scanning option.

📊 What Android do you have?
Android 10-11
Android 12-13
Android 14+
Older than Android 9

Viewing via Google settings and sync

If the visual QR code doesn't display the password, you can use the Google ecosystem. The company stores backup copies of your Wi-Fi settings in the cloud, linking them to your account. This is especially useful if you need to find out the details of a network you've previously connected to but are currently out of range.

Go to Google settings on your device, select the tab Security and find the section Password managerAll saved credentials, including wireless network keys, are stored here. Access requires re-authorization, ensuring protection from prying eyes.

Find the desired network name (SSID) in the list and tap it. After confirming your identity, you'll see a password field that you can copy to your clipboard. This method is universal and works the same on smartphones. Samsung, Xiaomi And Pixel.

Using ADB on Non-Rooted Devices

For more advanced users who don't want to gain full root privileges but need the exact text value of the password, this tool is a great choice. ADB (Android Debug Bridge). This method requires a computer and USB debugging enabled on your smartphone.

The method involves sending a special command that displays the contents of a system configuration file in the computer's console. Despite its apparent complexity, the process takes only a few minutes and doesn't require reflashing the device.

First, connect your phone to the PC with a cable and make sure that the menu For developers Debugging is enabled. Then, open a command prompt on your computer in the ADB tools folder and enter the following command:

adb shell dumpsys wifi | grep -A 5 "mCurrentConfig"

In the output you can find the line preSharedKey, which contains the key you're looking for. If the standard command doesn't produce results, you can try requesting the full configuration:

adb shell dumpsys wifi | grep "SSID"

⚠️ Note: On some smartphone models with heavily modified shells (for example, older versions of MIUI or EMUI), the dumpsys command may not display passwords in clear text due to the manufacturer's security policies.

Accessing system files with root privileges

Owners of devices with rights Root have unlimited access to the Android file system. All saved networks are stored in a protected system file, which is typically unreadable by regular apps. To use this feature, you'll need a root-enabled file manager, such as Root Explorer or MT Manager.

It is necessary to follow the path /data/misc/wifi/. Here you are interested in the file named WifiConfigStore.xml (on newer versions of Android) or wpa_supplicant.conf (on older versions before Android 10). Opening this file with a text editor will show you a complete table of all networks ever saved.

Look for tags inside the file. <SSID> for the title and <PreSharedKey> for a password. The data can be encrypted or presented in hex format, but most often the key is stored in readable form between tags.

Configuration file Android version Location Data format
wpa_supplicant.conf Android 4.0 - 9.0 /data/misc/wifi/ Text
WifiConfigStore.xml Android 10+ /data/misc/wifi/ XML
WifiConfigStore.xml Android 12+ /data/misc/apexdata/... XML (encrypted)
Why might the file be empty?

If the WifiConfigStore.xml file is empty or 0 bytes, this may indicate that hardware-level data encryption is enabled on the device or the file is locked by a system process. Try disabling Wi-Fi before opening the file.

Specialized applications from the Play Market

If you don't want to mess around with codes and file managers, Wi-Fi manager apps can help. However, there's an important caveat: after the release of Android 10, Google blocked third-party apps from accessing real passwords without root access. Therefore, most apps only show a QR code or only work on older operating systems.

However, for non-rooted devices, there are utilities that use the system API to generate a connection code. Popular options include WiFi Password Viewer or InstabridgeThey are convenient because they have a clear interface and allow for quick sharing.

  • 📲 Install apps only from trusted, highly rated developers.
  • 🔒 Please pay attention to the requested permissions - the network manager does not need access to contacts.
  • ⚙️ On Android 11+, the functionality of such apps is limited to displaying the QR code of the current network.

Be wary of apps that promise to "hack" or "reveal" passwords for neighboring networks. This is often a marketing ploy, and the actual functionality is limited to displaying data already stored in the phone's memory.

Compatibility issues and shell features

The diversity of Android devices gives rise to a wide variety of interfaces. What runs on "pure" Android in smartphones Motorola or Nokia, may be hidden deep in the menu on devices Xiaomi or SamsungFor example, in MIUI, the QR code function may not be in the Wi-Fi settings, but in the Scanner or Mi Share app.

It's also worth considering that corporate networks or networks with WPA3-Enterprise certification may not allow password viewing using standard tools due to organizational security policy. In such cases, the system simply won't reveal the key, even with root access, if it's stored in a secure keystore.

If none of these methods work, the last option is to reset the router to factory settings. The device usually has a sticker with the default password, which will be activated after a reboot. This is a drastic measure, requiring you to reconfigure all internet settings.

Is it possible to view the Wi-Fi password on the lock screen?

No, this is not possible. To access network settings or generate a QR code, the system always requires unlocking the device with biometrics or a PIN. This is a fundamental security feature of Android.

Where are passwords stored if I change my phone?

If you had Google account sync enabled on your old phone, your passwords may have been saved in the cloud. When you sign in to the same account on your new device, many settings and Wi-Fi keys may be automatically retrieved.

Are password viewer apps safe to use?

Using reputable apps is safe, but remember: if an app requires root privileges, it has full access to your system. Trust only open-source software or software from reputable vendors.

Why are passwords encrypted in the wpa_supplicant.conf file?

In modern versions of Android (starting with 10-11), the system has switched to using XML storage and encrypting sensitive data. Direct reading of older config files may not yield results without decoding.