Forgot your home Wi-Fi password, and the router is in the attic, and the sticker with the code has long since worn off? This situation is familiar to many people—especially when guests need to connect their laptop, and you can't remember the 20-character combination. Luckily, if your phone is already connected to the network, the password can be extracted directly from it — without access to the router and without any complicated manipulations. In this article, we'll look at legal methods For Android And iPhone, including bypassing restrictions on new versions of iOS.
But before we get into the instructions, it's important to clarify: We are talking only about your own network.Extracting passwords from other people's access points is violation of the law (Article 272 of the Criminal Code of the Russian Federation on unauthorized access to computer information). All methods below work. exclusively for networks to which your phone is already legally connected.
On Android The process is simpler - the system allows you to view saved passwords directly (starting with version 10). But for owners iPhone you will have to use workarounds: from viewing through iCloud Settings before temporarily connecting to a Mac. But first things first.
1. Method for Android: standard password viewing (without root)
Starting from Android 10Google has added the ability to view saved Wi-Fi passwords directly in Settings. This is the simplest and most secure method, but it works. not on all firmwareFor example, on Samsung One UI or Xiaomi MIUI the path may differ.
Instructions:
- Open
Settings→Network and Internet(orConnectionson Samsung). - Select
Wi-Fi→ Find your network in the list and tap on its name. - Click
Share(orShare(on English firmware). - The system will ask for confirmation. PIN code, fingerprint or pattern.
- After authorization you will see
QR codeand a text password underneath it.
⚠️ Attention: On some devices (eg. Huawei or Realme) option Share may be missing. In this case, try alternative methods from the following sections.
If you have Android 9 or later, this method won't work - you'll have to use ADB commands (section 3) or third-party applications (section 4).
Make sure your phone is connected to the correct Wi-Fi network|
Check your Android version (Settings → About phone)|
Battery charge of at least 30% (in case of failure)|
Disable VPN (may block system functions)-->
2. iPhone Method: View via iCloud (only for your networks)
Apple is severely restricting access to Wi-Fi passwords iPhone, but there is a legal workaround through iCloud Keychain (if you have Mac or another Apple device). The method works on iOS 13+ and requires that the function iCloud Password Sync was activated.
Step-by-step instructions:
- On iPhone open
Settings→Apple ID (your name)→iCloud. - Make sure the switch is on
Keychain(orPasswords and keys(in Russian). - On Mac open the application
Bunch of keys(Keychain Access). - Enter the name of your Wi-Fi network in the search bar.
- Double-click on the found entry → check the box
Show password. - Enter your account password Mac - after this the Wi-Fi password will be displayed.
⚠️ Attention: If you don't have Mac, this method won't work. The alternative is to temporarily borrow a friend's laptop with macOS or use cloud service (section 5).
One more nuance: Passwords are only synced between devices with the same Apple ID.If you've signed in to iCloud with multiple accounts, your data may not appear.
What to do if Keychain doesn't show the password?
If there is a Wi-Fi network entry but the password is not displayed, try:
1. Update macOS to the latest version.
2. Restart both devices (iPhone and Mac).
3. Temporarily disable and then re-enable Keychain syncing in iCloud.
4. Make sure your iPhone and Mac are connected to the same Wi-Fi network (yes, this is important!).
3. Universal Method: ADB Commands for Android (No Root)
If your Android older than version 10 or the manufacturer has blocked viewing of passwords, you can use Android Debug Bridge (ADB)This is an official tool from Google that does not require root privileges (root), but are needed USB debugging and a computer.
What you will need:
- 🖥️ Computer with Windows, macOS or Linux.
- 📱 USB cable (preferably original).
- 🔧 Installed drivers ADB (you can download it from the Google website).
- 🔑 USB debugging enabled on the phone.
Instructions:
- Activate
Developer modeon the phone:Settings → About phone → Build number(tap 7 times). - Return to
Settings → System → Developer Optionsand turn it onUSB debugging. - Connect your phone to your PC and trust the computer.
- Open
Command line(Windows) orTerminal(macOS/Linux) and enter:adb shellsu -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'SSID='"(replace
SSIDthe name of your network if you need to find a specific one). - To see the password, run:
su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'PreSharedKey='"The password will be in quotes after
PreSharedKey.
⚠️ Attention: On some firmware (for example, MIUI 14+) The path to the password file may differ. If the command doesn't work, try:
adb pull /data/misc/wifi/WifiConfigStore.xml
and open the downloaded file in a text editor.
4. Password Viewer Apps (with caveats)
IN Google Play And App Store There are dozens of apps that promise to reveal Wi-Fi passwords. 90% of them are scams or virusesWe tested several working options, but with important limitations:
Safe Android apps:
- 🔓 WiFi Password Viewer (requires root on older Androids).
- 📱 WiFi Key Recovery (works only on firmware versions up to Android 9).
- 🔍 Network Info II (shows technical data of the network, but not always the password).
For iPhone:
- 🚫 There are no working applications In the App Store, Apple is blocking access to system passwords.
- 💻 The only option is to use Mac And
Keychain Access(section 2).
Important: No app can reveal your iPhone's Wi-Fi password without syncing with a Mac or jailbreaking it. Any app in the App Store that promises this is either fake or is collecting your data.
⚠️ AttentionInstall apps only from official stores and check reviews. Fraudulent programs can:
- 🕵️ Steal data from your networks.
- 📱 Install malware.
- 💰 Subscribe to paid services.
5. Cloud services and backups
If you have a backup of your phone, you can try extracting the password from it. This method works for both types of devices, but requires some technical skill.
For Android:
- 📁 Use Titanium Backup (requires root) or Swift Backup to extract data from
/data/misc/wifi. - 🔄 Restore the backup to another device and view the password using the standard settings.
For iPhone:
- 🖥️ Make a backup via iTunes or Finder (on macOS Catalina and later).
- 🔍 Use the program iExplorer or iMazing to view backup files.
- 📂 Find the file
com.apple.wifi.known-networks.plist— it can store data about networks.
⚠️ Attention: Passwords in backups iPhone are often encrypted. Without special tools (like Elcomsoft Phone Breaker) they cannot be extracted.
| Method | Android | iPhone | A PC is required | Complexity |
|---|---|---|---|---|
| Standard settings | ✅ (Android 10+) | ❌ | ❌ | ⭐ |
| ADB commands | ✅ | ❌ | ✅ | ⭐⭐⭐ |
| iCloud Keychain | ❌ | ✅ (from Mac) | ✅ | ⭐⭐ |
| Backup | ✅ (with root) | ⚠️ (encrypted) | ✅ | ⭐⭐⭐⭐ |
6. Alternative solutions (if nothing helps)
If none of the methods work, there are radical (but legal) options:
Option 1: Reset the router
- 🔄 Click the button
Reseton the back panel of the router (hold for 10-15 seconds). - 📋 The password will be reset to the factory default (indicated on the router sticker).
- ⚠️ Disadvantage: You will have to configure the network again (SSID, password, channel, etc.).
Option 2: Viewing through another connected device
- 💻 If connected to the network Windows laptop, open
Command lineand enter:netsh wlan show profile name="NETWORK_NAME" key=clearThe password will be in the line
Key content. - 🖥️ On Mac use
A bunch of keys(section 2).
Option 3: Contact your provider
- 📞 Call your internet service provider's support (for example, Rostelecom, MTS, Beeline).
- 🆔 Provide your contract details - they can reset the password or give you the factory one.
- ⚠️ This service may be subject to a fee (check rates).
Frequently Asked Questions
Is it possible to find out the Wi-Fi password from a phone without rooting/jailbreaking?
Yes, but with some reservations:
- On Android 10+ — through standard settings (section 1).
- On iPhone - only through
iCloud KeychainWith Mac (section 2). - On older versions of Android - via ADB (section 3).
No root or jailbreak required impossible extract password on iPhone without additional devices (Mac) or on Android up to version 9.
Why is there no "Share" password option on my Xiaomi/Redmi?
Manufacturers like Xiaomi, Oppo or Vivo Firmware is often modified and this feature is removed. Solutions:
- Update your firmware to the latest version (sometimes the function is restored).
- Use ADB (section 3).
- Install custom firmware (for example, LineageOS), but this requires unlocking the bootloader.
⚠️ On some models (for example, Redmi Note 12) the option appears only after resetting the network settings.
Is it possible to find out the password for someone else's Wi-Fi that my phone is connected to?
No, it's illegal. Even if your phone is connected to someone else's network (for example, in a cafe or at a neighbor's), extracting a password without the owner's permission qualifies as:
- Violation Article 272 of the Criminal Code of the Russian Federation (illegal access to computer information).
- Violation Article 138 of the Criminal Code of the Russian Federation (violation of the privacy of correspondence if the network is used for data transmission).
The maximum penalty is up to 4 years of imprisonment (depending on the damage).
If you need access to someone else's network, ask the owner for the password.
Why doesn't ADB show the password on my phone?
Reasons and solutions:
- 🔒 No rights: On newer versions of Android (12+) it may be necessary
adb root(but not on all devices). - 📁 The path has changed: On some firmware versions, the file with passwords is located in
/data/vendor/wifi/.... - 🛡️ The manufacturer has blocked: Samsung, Huawei and others can encrypt data.
- 🔌 USB debugging is not working: Check the drivers on your PC or try a different cable.
If nothing helps, try alternative teams:
adb shell
su -c "ls /data/misc/wifi/"
(Look at what files are in the folder and open them one by one).
How can you protect your Wi-Fi from such leaks?
To prevent anyone from extracting the password from connected devices:
- 🔐 Use WPA3 instead of WPA2 (configure in the router panel).
- 🔄 Change your password regularly (every 3-6 months).
- 📵 Turn off
WPS- This is a vulnerable protocol. - 👥 Set up
guest networkfor temporary users. - 📱 Limit the number of connected devices in your router settings.
⚠️ Even with these measures the connected phone can "give out" the password Through the default settings (on Android 10+). Only physical control of devices provides full protection.