It's quite common to need to connect a new device to your home or office wireless network but have forgotten the password. Fortunately, if your smartphone is already connected to the hotspot, the login information is stored in the system's memory. Android For a long time, this information was hidden from the average user, but with the release of newer versions of the operating system, the situation changed for the better.
Today there are legal and safe ways to extract security key networks without hacking the system or gaining root privileges. We'll cover proven methods that work on most modern gadgets from Samsung, Xiaomi, Honor, and other manufacturers, using built-in features or simple debugging tools.
It is important to understand that all the steps described below assume that the device is in your hands and you have physical access to it. Security Data is a priority, so the system's standard restrictions are designed to protect against prying eyes, but there are workarounds available for the device owner.
Using the QR code feature in Android settings
The simplest and most accessible method, which doesn't require installing third-party software, was introduced in Android 10 and has become the standard for all subsequent versions. Smartphone manufacturers have implemented the ability to generate a QR code for quickly connecting guests, and this same mechanism allows you to view the password in plain text.
First, you need to navigate to the wireless settings section. Typically, the path looks like this: Settings → Connections → Wi-Fi or Settings → Network & InternetFind the network you want to get data from in the list and click the gear icon next to its name or simply tap the network name.
The screen that opens should contain a "Share" button, a "QR code," or a square icon with a barcode. Once tapped, the system will ask you to verify your identity using a screen unlock (PIN, fingerprint, or Face ID). This is a standard measure. security, which prevents data theft if the phone falls into the wrong hands.
⚠️ Note: On some smartphone models (such as older versions of MIUI or EMUI), the password may not appear as text under the QR code, but rather hidden by dots. In this case, take a screenshot and open it using Google Lens or any QR code reader from your gallery—they can often recognize text even from an image.
If the text isn't immediately visible, try zooming in or taking a screenshot. In most cases, the code itself will contain text like this: WIFI:S:MyNetwork;T:WPA;P:12345678;;, where after the symbol P: and the desired password is found.
Synchronizing passwords via Google Account
The Google ecosystem offers a convenient mechanism for syncing saved WiFi passwords across all devices linked to the same account. If you have access to another Android device or computer running the Chrome browser and signed in to the same Google account, you can find the key you need there.
Your data is stored in Google's secure password vault. To access it from your computer, open the Chrome browser, click the three dots in the upper-right corner, and select "Settings." Next, go to the "Autofill" section and find "Password Manager."
In the left column or through the search, enter the name of your wireless network. The system will display the saved entry. To view the password, you will need to click the eye icon and re-authorize your computer's operating system or enter your Google account password. This is a secure method, as the data is transmitted over encrypted channel.
What to do if sync is disabled?
If syncing was disabled on your phone when you connected to the internet, the password won't be saved in the Google cloud. In this case, the only solution is to view the password locally using the QR code on the device itself or use the ADB commands described below.
On a mobile device, the process is similar: open "Settings" → "Google" → "Autofill" → "Autofill by Google" → "Google Password Manager." Here you can also filter entries by "Wi-Fi" and find the desired network.
Using ADB to extract system files
A more advanced method requires a computer and the ADB (Android Debug Bridge) driver installed. This method allows you to access system configuration files, which store all passwords ever entered, even if the phone's interface hides them.
The first step is to enable developer mode on your phone. To do this, go to Settings → About phone Tap the build number seven times quickly. A new option called "Developer options" will appear in the settings menu. Enable "USB debugging" there.
Connect your phone to your computer via a USB cable. Open the command prompt (CMD) or terminal on your PC in the folder where ADB is installed. Enter the following command to test the connection:
adb devices
A debugging permission prompt will appear on your phone's screen. Confirm it. Now you can run the command to display the contents of the WiFi configuration file. Please note that on Android 10 and above, access to this file may be restricted without root access, but on many devices, reading is still possible:
adb pull /data/misc/wifi/wpa_supplicant.conf c:/wifi.txt
After executing the command, a file will appear on your computer's C drive. wifi.txt. Open it with any text editor. Find the block network with the desired SSID (network name). Next to the parameter psk The password will be shown in clear text.
☑️ Getting Started with ADB
⚠️ Attention: On modern versions of Android (12/13/14) access to the file
wpa_supplicant.confUsing ADB without root access is often blocked by SELinux security policy. If the command returns a "permission denied" error, this method, unfortunately, won't work without flashing the firmware or gaining superuser access.
Third-party apps for access recovery
There are many apps on the Google Play Market that promise to reveal saved passwords. However, it's important to understand how they work: they don't hack WiFi, but rather read data already stored in the system, exploiting vulnerabilities or special permissions.
One popular tool is the WiFi Password Viewer app. It attempts to read the system configuration file. If the device isn't rooted, the app may offer alternative methods or display passwords only for networks the current user is connected to using the system API.
Another option is to use file managers with root support (although we need non-root methods, some managers may have access to the cache). However, be extremely careful: many free apps in this category are filled with ads or may contain malware.
- 📱 WiFi Passwords — a simple app that attempts to read configs; works on older versions of Android.
- 🔑 WiFi Key Recovery — requires root for full functionality, but may show some data without it on some firmware versions.
- 🛡️ Google Files - can sometimes find text files with logs if you previously backed up your settings manually.
Using third-party software always carries risks. Before installing, carefully review the permissions the app requests. If a simple password viewer requires access to contacts, microphone, and geolocation, this is a clear sign of fraud.
Comparison of methods and their effectiveness
To help you choose the right method, we've organized the information about each method. Effectiveness depends not only on the tool you choose, but also on your operating system version and device model.
| Method | Complexity | A PC is required | Works on Android 13+ |
|---|---|---|---|
| QR code in settings | Low | No | Yes |
| Google Account | Low | No (preferred) | Yes |
| ADB Commands | High | Yes | Partially |
| Apps from the Play Market | Average | No | Rarely |
As the table shows, the operating system's built-in tools remain the most reliable. The QR code method works on almost all modern smartphones, starting with Android 10, and requires no additional knowledge.
Restoring access via a router
If none of the software methods on your phone work, you can always try to physically access the signal source itself. If you're at home or in the office and have access to the router, you can view the password in its web interface.
To do this, connect to the router (via cable or WiFi, if the phone still "remembers" the network). Open a browser and enter the device's IP address in the address bar, usually 192.168.0.1 or 192.168.1.1The exact address is often written on a sticker on the bottom of the router.
Enter the administrator login and password (often by default) admin/admin). In the menu, find the section "Wireless", "WLAN" or "Security". There in the field WPA Pre-Shared Key or "Password" will display the current key. You'll be able to view it and change it to a more complex one.
⚠️ Warning: Router interfaces (ASUS, TP-Link, Keenetic, Mikrotik) vary significantly. If you are unsure of what you are doing, it is best not to change security settings to avoid disrupting network operation for other devices.
This method is universal and doesn't depend on the Android version or developer permissions. It's especially useful if your phone is glitching and won't display the QR code, but you have a computer nearby.
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if the phone is not connected to it?
Without root access and without saving this password on the device, this is impossible. Android only stores networks to which the device has successfully connected in the past. Other tools (brute force) exist for cracking the password, but they require specialized equipment and knowledge beyond the basic phone setup.
Are password viewer apps safe to use?
Using trusted apps from the official Google Play store is relatively safe if they have high ratings and numerous reviews. However, keep in mind that any app that accesses WiFi system files can theoretically copy this data. It's best to use the system's built-in tools.
Why is there no share button or QR code on my phone?
Most likely, you're running an Android version earlier than 10. This feature wasn't available in the default interface in versions 6, 7, 8, and 9. In this case, try the Google Account method (if you've synced) or try accessing your router settings.
Will the ADB method work on Android 13 or 14?
Google has significantly strengthened security in these versions. Direct file reading wpa_supplicant.conf Accessing ADB without root access is usually blocked. It's only possible on custom firmware or devices with an unlocked bootloader and modified SELinux security policies.