Forgot your home Wi-Fi password, is your router in an awkward location, or has the code sticker worn off? Don't rush to reset your router—you can find the network access key directly from your phone, even if you're already connected. In this article, we'll cover this. all current methods For Android And iPhone, including hidden system menus, standard tools and trusted applications.
It is important to understand that the methods differ depending on the version of the operating system, the smartphone model and even the manufacturer (on Samsung, Xiaomi or Google Pixel (The paths to the settings may vary.) We've compiled universal instructions that work on most devices. without the need for root or jailbreakIf your phone isn't rooted, no problem: there are legal workarounds.
Before you begin, make sure your smartphone is already connected to the target Wi-Fi networkWithout this, most methods won't work. Also, check whether your antivirus or corporate policy is blocking access to system files (this applies to work phones).
1. Standard method for Android 10 and newer
Starting from Android 10Google has added a built-in feature for viewing Wi-Fi passwords—but with some caveats. This method works on stock Android (e.g., Google Pixel, Nokia, Motorola) and some firmware from manufacturers. On Samsung One UI or MIUI the path may differ.
Instructions:
- 📱 Open
Settings→Network and Internet(orConnectionson Samsung). - 🔗 Tap on the name of the current Wi-Fi network (there will be an inscription next to it)
Connected). - 🔑 Choose
Share(orShare(on English firmware). - 🔐 The system will ask PIN code, pattern or fingerprint - this is protection against accidental access.
- 📋 A text password will appear under the QR code—you can copy it or show it.
If the point Share No - your manufacturer has removed this feature. For example, on some models Xiaomi or Huawei It may be missing. In this case, proceed to the next section.
⚠️ Attention: On phones with corporate profiles (for example, through Android Enterprise) This method may be blocked by security policies. Try alternative methods.
2. Alternative method for Android via configuration file
All saved Wi-Fi networks (including passwords) are stored in a system file. wpa_supplicant.confAccess to it is possible. without root rights, but requires a file manager with support for system folders, for example FX Explorer or Solid Explorer (may not work in the free version).
Step-by-step instructions:
- Install FX Explorer from Google Play and grant him access to the storage.
- Enable display of hidden files in the manager settings.
- Follow the path:
/data/misc/wifi/WifiConfigStore/or (on some firmware):
/data/misc/wifi/ - Find the file
wpa_supplicant.confand open it with any text editor. - Look for blocks like:
network={ssid="Your_Network_Name"
psk="your_password"
key_mgmt=WPA-PSK
}Where
psk- this is the access key.
If the folder /data/ Unavailable - your phone doesn't support reading system files without root. In this case, the only solution is Back up Wi-Fi settings (section 4) or third-party utilities.
Install FX Explorer or Solid Explorer
Enable display of hidden files
Grant access to storage
Check the path /data/misc/wifi/
-->
3. View your password on iPhone (iOS 15–17)
On iPhone Apple strictly restricts access to Wi-Fi passwords out of the box. Unlike Android, there's no built-in way to view the key of a network you're already connected to. However, there are two workarounds:
Method 1: Via iCloud Keychain (if syncing is enabled)
- 🌐 Open on your computer Mac or Windows with installed iCloud for Windows browser Safari.
- 🔑 Go to
Safari settings→Passwords(You will need to enter your Apple ID password). - 🔍 Enter the name of your Wi-Fi network in the search bar. If it's saved in your keychain, the password will be displayed.
Method 2: Via iTunes backup (requires a computer)
- 🖥️ Connect your iPhone to Mac or PC with installed iTunes (or Finder on macOS Catalina and later).
- 📥 Create a backup (required) encrypted!).
- 🔍 Use the utility iBackup Viewer or iMazingto view the file
com.apple.wifi.known-networks.plistin a copy. - 🔑 The password will be encrypted - it needs to be decoded using online services (for example, Base64 Decode).
⚠️ Attention: On iPhones running iOS 17 and later, Apple has tightened backup security. If you've never created an encrypted backup before, this method won't work—you'll need to jailbreak your device.
Why does Apple hide Wi-Fi passwords?
Apple believes that users shouldn't have access to passwords for security reasons. This protects against data leakage if the phone falls into the wrong hands. However, this approach complicates legitimate use—for example, when connecting a new device to a home network.
4. Backup Wi-Fi settings on Android
If system files are inaccessible, you can export your Wi-Fi settings to a backup and then extract the password. This method works on most firmware versions, including MIUI, One UI And ColorOS.
Instructions:
- Install the application WiFi Password Viewer (for example, from Simone Dev) from Google Play.
- Run the utility and grant access to
Wi-Fi settings(does not require root!). - Click
Backup Passwords— the program will create a fileWiFiConfigBackup.xml. - Open the file with any text editor and find the line:
<string name="PreSharedKey">your_password</string>
Alternative applications:
- 📱 WiFi Password Recovery (requires Android 8+)
- 🔧 WiFi Key Recovery (works on some Samsung)
- 🛠️ Root Browser (for rooted devices only)
| Application | Root required? | Android support | Peculiarities |
|---|---|---|---|
| WiFi Password Viewer | ❌ No | 8.0–14 | Exports to XML |
| WiFi Password Recovery | ❌ No | 9.0–13 | Shows the network's QR code |
| Root Browser | ✅ Yes | 5.0–14 | Full access to system files |
| WiFi Key Recovery | ❌ No | 10–14 | Works on Samsung, Xiaomi |
5. Using ADB (for advanced users)
ADB (Android Debug Bridge) — is an Android debugging tool that allows you to extract Wi-Fi passwords via the command line. The method works on any devices, but requires connection to a computer and enabling developer mode.
Step-by-step instructions:
- Turn on
Developer modeon the phone:- Go to
Settings → About phone → Build number. - Tap on
Build number7 times until a notification appearsYou have become a developer!.
- Go to
Settings → System → Developer Options and turn it on USB debugging.cmd on Windows) and enter:
adb shellsu
cat /data/misc/wifi/WifiConfigStore/SoftAp_Capability_configstore.xml
or (for older versions of Android):
adb pull /data/misc/wifi/WifiConfigStore/SoftAp_Capability_configstore.xml
<Password>.If the team su If it doesn't work, you don't have root access. In this case, use the alternative command:
adb shell "cmd wifi list_networks"
It will show a list of networks, but not passwords — only their SSID and connection status.
⚠️ Attention: Using ADB may result in blocking some phone functions, if you haven't worked with debugging before. For example, on Samsung After enabling USB debugging, they may stop working. Samsung Pay or Secure Folder before reboot.
6. If nothing helps: reset the router
When all methods have been exhausted, there remains a radical method - resetting the router settings Factory reset. This will delete all saved networks, passwords, and personal settings (such as port forwarding or parental controls), but will allow you to set a new access key.
How to reset a router:
- 🔌 Find the button on the back of the router
Reset(usually recessed into the body). - 📍 Take a paper clip or toothpick and hold the button for 10-15 seconds until the indicators start flashing.
- 🔄 After rebooting, the router will create a new network with a default name (for example,
TP-Link_1234). - 🔑 The password will be located on a sticker under the device (usually a combination of 8-12 characters).
After reset:
- 🌐 Connect to the router's network via cable or a new Wi-Fi network.
- 📝 Enter the address in your browser
192.168.0.1or192.168.1.1(the exact address is indicated on the sticker). - 🔐 Enter your login/password to log in (usually
admin/admin). - 🔧 Go to the section
WirelessorWi-Fiand set a new password.
On some routers (for example, those from Rostelecom or Beeline), resetting the router won't restore the factory password—instead, you'll need to call support to activate it.
FAQ: Frequently asked questions about Wi-Fi passwords on your phone
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?
On Android — Yes, if the network is saved in the settings. Use the file method. wpa_supplicant.conf or apps like WiFi Password ViewerThey show passwords. all saved networks, even if you are not connected now.
On iPhone - no, unless the network is saved in iCloud Keychain (see section 3).
Why isn't there a "Share" option for my Wi-Fi password in Android settings?
This item is missing for three reasons:
- The manufacturer removed the function (relevant for Xiaomi, Huawei, some Samsung).
- You have an old version of Android (below 10). Update your firmware.
- The phone is released for corporate use (with limited settings).
Solution: Use the alternative methods in this article.
Is it possible to find out someone else's Wi-Fi password if their phone is connected to it?
Technically yes, but this violates the law "On personal data" (Federal Law 152) and can be classified as unauthorized access to computer information (Article 272 of the Criminal Code of the Russian Federation).
If we are talking about yours network (for example, office or home), but you don’t know the password, use legal methods: ask the administrator or reset the router.
Why do Wi-Fi password viewer apps require root access?
Without root access, applications cannot read system files directly. However, modern utilities (for example, WiFi Password Viewer) bypass this limitation by:
- Export Wi-Fi settings to backup (does not require root).
- Exploiting firmware vulnerabilities (rare, as Google quickly patches them).
- Android API for network management (restricted access).
If the application asks for root Necessarily - it is either out of date or is trying to get more rights than it needs.
How to protect your Wi-Fi from being seen via your phone?
To prevent password leakage:
- 🔒 Use WPA3 instead of WPA2 (in the router settings).
- 🔄 Change your password regularly (every 3-6 months).
- 📵 Disable the feature
WPS- It is vulnerable to hacking. - 👥 Set up
MAC filtering(allow connection only to trusted devices). - 🛡️ Create
guest networkfor temporary users.
This will not protect against password viewing on already connected devices, but will reduce the risks of unauthorized access.