You connected to a Wi-Fi network a month ago, entered the password, and conveniently forgot it. Now you need to connect a new device, but where can you find that ill-fated code? Android smartphones Passwords for saved networks aren't displayed in plain text in the default settings, but they can be extracted in several ways. In this article, we'll look at all working methods, including hidden menus, system files and third-party utilities.
It is important to understand that access to passwords depends on the version Android and the manufacturer's shell. On Samsung One UI or Xiaomi MIUI the path to the settings may differ from the "clean" one Android on Google PixelWe'll cover universal solutions, as well as nuances for popular brands. If your phone is rooted, you have access to additional features, but even without root rights There are working options.
Please be advised that some methods require technical expertise. For example, working with ADB Manipulating system files or files can cause problems if not done carefully. However, most methods are safe and don't require any special knowledge.
1. Standard method: Wi-Fi settings (Android 10 and newer)
Starting from Android 10, Google added a feature to view passwords directly in network settings - but only for current connectionIf you are connected to the correct network, follow the instructions:
- Open
Settings → Wi-Fi. - Tap on the name active network (there will be a sign next to it that says “Connected”).
- Click on the icon
⚙️ Settings(or "Share"). - Select
Share(on some phones - "QR code"). - The system will ask for confirmation. PIN code, fingerprint or pattern.
- After authentication, a screen will open with
QR codeand a text string password underneath it.
⚠️ Attention: On phones Xiaomi (MIUI 12+) and some models Huawei This method may not work—only a QR code is displayed instead of a password. In this case, proceed to the next methods.
Check your Android version (must be 10+)|Make sure your phone is connected to the right network|Know your screen unlock PIN|Disable your VPN (may block access to settings)
-->
This method is the simplest, but it only works for current networkIf you need to retrieve the password for another saved network, read on.
2. View the password through the "Router Settings" (universal)
If you have access to router web interfaceYou can view the password directly in its settings. This will work even if the phone isn't connected to the network:
- Find out
Router IP address(usually192.168.0.1or192.168.1.1). It can be found on the sticker on the device body. - Open the browser on your phone and enter this address in the address bar.
- Enter your login and password to log in (by default, it is often
admin/adminoradmin/password). - Go to the section
Wi-Fi(orWireless network,Wireless). - Find the field
Password(orPassword,Key) - the current security key will be displayed there.
🔹 Advantages of the method: Works for any network, even if the phone is not connected to it.
🔹 Flaw: requires access to the router and knowledge of its credentials.
What should you do if you don't know your router password?
If you haven't changed your default login details, try these combinations:
- admin / admin
- admin / password
- admin / (empty field)
- user / user
If you have a router from a provider (such as Rostelecom or Beeline), the login and password may be included in the contract or on the device box. As a last resort, reset the router using the reset button. Reset (hold for 10 seconds) and set up again.
On some routers (for example, TP-Link or ASUS) The password may be hidden behind asterisks. In this case, click the eye icon (👁️) or check the "Show password" box.
3. Extracting passwords through system files (without root)
Android stores Wi-Fi network passwords in an encrypted file. wpa_supplicant.confOn . non-rooted devices it can be extracted using ADB (Android Debug Bridge) is a debugging tool. This method works on most phones, but requires a connection to a computer.
📌 Step-by-step instructions:
- Turn on
Developer modeon the phone:- Go to
Settings → About phone. - Tap the item 7 times
Build number(orMIUI versionon Xiaomi). - Return to
Settings → System → Developer Options. - Activate
USB debugging.
- Go to
File transfer.cmd) in the folder with ADB and run the commands:
adb devices
(your device should be displayed)
adb pull /data/misc/wifi/WifiConfigStore.xml
WifiConfigStore.xml any text editor (for example, Notepad++).<string name="PreSharedKey">... — there will be a password between the tags.⚠️ Attention: On Android 9 and newer, the file may be encrypted. In this case, this method won't work—try alternative methods.
-->
For Android 11+ The file path may differ. Try an alternative command:
adb pull /data/misc/apexdata/com.android.wifi/WifiConfigStore.xml
4. Using third-party applications (with or without root)
If the previous methods don't work, you can use specialized utilities. We'll look into three types of applications:
- 🔓 For non-rooted phones: WiFi Password Viewer (requires ADB), WiFi Key Recovery.
- 🛠️ For rooted devices: Root Browser, ES File Explorer (with root access enabled).
- 📱 Universal: WiFi Map (shows public networks), Instabridge (stores passwords in the cloud).
🔹 Example of working with WiFi Password Viewer:
- Install the app from Google Play.
- Connect your phone to PC and activate
USB debugging. - Launch the app and click
Start. - The program will automatically extract all saved passwords and display them in the list.
⚠️ Warning: Be careful with apps that request root access. Some may contain malicious code. Check reviews and ratings on Google Play before installing.
Via phone settings|Via router|Using ADB|Apps|I don't remember, I always write it down
-->
| Application | Root required? | Does it work on Android 10+? | Link |
|---|---|---|---|
| WiFi Password Viewer | ❌ No (ADB required) | ✅ Yes | Google Play |
| Root Browser | ✅ Yes | ✅ Yes | Google Play |
| WiFi Key Recovery | ❌ No | ❌ No (before Android 9) | APKPure |
| ES File Explorer | ✅ Yes | ✅ Yes | Google Play |
5. Features for Samsung, Xiaomi, and other brands
Manufacturers often modify Android, adding their own skins. This affects the layout of settings and the availability of functions. Let's look at the nuances for popular brands:
- 📱 Samsung (One UI):
- The password can be viewed through
Settings → Connections → Wi-Fi → ⚙️ (network settings) → Share. - On older models (before Android 9) required Samsung Smart Switch to extract data.
- The password can be viewed through
- 🧡 Xiaomi (MIUI):
- In MIUI 12+, the password is hidden behind a QR code. To view it, you need to scan the code with another device.
- On rooted phones, passwords are stored in
/data/misc/wifi/WifiConfigStore.xml.
- 🤖 Google Pixel (pure Android):
- Supports the standard method of viewing the password via "Share" (with Android 10).
- ADB commands work without any additional settings.
- 📱 Huawei (EMUI):
- The password can be exported as a QR code, but the text string is not displayed.
- Requires use HiSuite to backup Wi-Fi settings.
🔹 Advice for owners Xiaomi: If the QR code is not scannable, try taking a screenshot of the screen with the code and processing it through an online service like ZXing Decoder.
-->
6. Alternative methods: backup and reset the router
If none of these methods work, radical measures remain. These should only be used as a last resort:
- 🔄 Resetting the router to factory settings:
- Click the button
Reseton the back of the router and hold for 10-15 seconds. - After the reset, the network will be named by default (for example,
TP-Link_1234), and the password is indicated on the sticker. - ⚠️ Minus: all router settings (including
PPPoE,DHCP,Port forwarding) will be reset.
- Click the button
- 📱 Backing up Wi-Fi settings:
- On rooted phones you can copy the file
wpa_supplicant.confthrough Titanium Backup or Root Explorer. - It will help without root. Swift Backup (requires unlocked bootloader).
- On rooted phones you can copy the file
- 💾 Export via PC:
- Connect your phone to your computer and use Moborobo or MyPhoneExplorer to extract Wi-Fi data.
⚠️ Attention: Resetting your router will disable internet access on all devices on the network. If you have PPPoE connection (like Rostelecom or Beeline), after the reset you will need to re-configure your login/password from the provider.
On some routers (for example, Keenetic), the Wi-Fi password can be viewed in the manufacturer's mobile app without access to the web interface.
7. How to avoid problems in the future: password management tips
To avoid searching for passwords in an emergency, follow these simple rules:
- 📝 Create a backup: Save passwords in Google Password Manager or KeePass.
- 🔗 Use QR codes: Generate a code for the network and print it (for example, via WiFi QR Generator).
- 📋 Keep a list: Write all passwords into an encrypted file (for example, Excel with a password to open).
- 🔄 Set up a guest network: On your router, create a separate network for guests with a simple password (for example,
guest1234).
🔹 Example of safe storage:
- Install Bitwarden or 1Password.
- Create an entry like "Wi-Fi at home" and save the SSID and password there.
- Enable two-factor authentication for your password manager.
If you often share Wi-Fi with friends, consider using WPS (Wi-Fi Protected Setup). This feature allows you to connect to a network without entering a password—just press a button on the router. However, WPS is less secure than standard WPA2/WPA3, so turn it on only when necessary.
FAQ: Frequently Asked Questions About Wi-Fi Passwords on Android
Is it possible to find out the password for a Wi-Fi network that my phone was previously connected to but is not currently connected to?
Yes, but this will require either root access, or ADB. Android's standard tools only show the password for current networkAn alternative is to look at the password in the router settings.
Why is there no Share button in the Wi-Fi settings?
This feature was only introduced in Android 10If you have an older version of the OS, use ADB or third-party applications. The button may also be missing on custom firmware (for example, LineageOS).
Are password extraction apps safe to use?
Most of the applications from Google Play (For example, WiFi Password Viewer) are safe, but require ADB or root. Avoid utilities that request unnecessary permissions (such as access to SMS or contacts). Check reviews and ratings before installing.
Is it possible to find out the password for my neighbors' Wi-Fi?
No, unless you're connected to their network. Android doesn't save passwords for networks it hasn't connected to. Attempting to hack other people's networks is illegal and punishable under Article 272 of the Russian Criminal Code ("Unauthorized access to computer information").
What should I do if I reset my router but don't know my ISP login information?
Contact your internet provider's support team (Rostelecom, Beeline, MTS, etc.). They have saved your connection details (PPPoE- login/password). This information may also be in the contract or sent via SMS upon connection.