Have you ever found yourself in a situation where you need to connect a new gadget to your home Wi-Fi, but you've long forgotten the password? Or a guest requests access to your network, but you can't remember the password you entered years ago? This problem is familiar to millions of users, according to Kaspersky63% of people have forgotten their Wi-Fi password at least once. Fortunately, if your phone is already connected to the network, retrieving the saved password is quite possible—and it doesn't always require technical skills.
In this article we will discuss all current methods view Wi-Fi password on Android And iPhone, including methods without root access. You'll learn what restrictions smartphone manufacturers impose, how to legally bypass them, and why some online instructions can harm your device. And also— How to protect your network from password leaks through vulnerabilities in the WPS and WPA2 protocols, which are rarely mentioned in standard guides.
Why does the phone “know” the password but not show it?
When you first connect your smartphone to a Wi-Fi network, it stores the password in encrypted form in the system storage. Android this is a file wpa_supplicant.conf, on iOS — key chain KeychainManufacturers deliberately hide this information from users for two reasons:
- 🔒 Security: Open access to passwords would increase the risk of their theft through malicious applications.
- 📱 Platform Policy: Apple And Google restrict access to system files to prevent unauthorized changes.
- 🛡️ Protection against social engineering: If the password is easy to extract, attackers could manipulate users (for example, asking to “check the Wi-Fi” under the pretext of help).
However, these restrictions are not absolute. Android with rights root or through ADB you can access the configuration files, and iPhone - use workarounds through backups iTunes or iCloudIt is important to understand that some methods require technical training and may void the warranty or disrupt the operation of the device.
⚠️ Attention: Extracting a password from someone else's phone without the owner's consent may be classified as unauthorized access to computer information (Article 272 of the Criminal Code of the Russian Federation). This article is intended only for work with your own devices and networks.
Method 1: View Android Password Without Root (Official Method)
Starting from Android 10, Google Added a built-in feature for viewing passwords for saved networks—but with important caveats. This method works. only on devices with pure Android (For example, Pixel, Nokia, Motorola) or with shells that support this feature (One UI 4.0+ from Samsung, OxygenOS 11+ from OnePlus).
Instructions:
- Open
Settings → Wi-Fi. - Tap on the name of the current network (there will be an inscription next to it)
Connected). - Click on the icon
🔗 Share(orQR codeon some devices). - Enter PIN code or pattern your phone number for confirmation.
- Under the inscription
PasswordA line with a period at the end will appear - tap on it to see the symbols.
If you have a device from Xiaomi, Huawei or Realme, this method most likely won't work—manufacturers block access to passwords through the standard interface. In this case, proceed to Method 2.
Make sure your phone is connected to the correct Wi-Fi network|Check your Android version (must be 10 or later)|Find the "Share" icon in your network settings|Prepare your screen unlock PIN-->
| Manufacturer | Supported Android versions | Does the method work? | Notes |
|---|---|---|---|
| Google Pixel | 10+ | ✅ Yes | Works on all models including Pixel 6/7 |
| Samsung | 10+ (One UI 4.0+) | ✅ Yes | Older versions of One UI require root. |
| Xiaomi | Any | ❌ No | Required ADB or root |
| Huawei | Any | ❌ No | Blocking at the EMUI level |
| OnePlus | 11+ (OxygenOS) | ✅ Yes | On ColorOS (new models) - no |
Method 2: Using ADB (for Android without root)
ADB (Android Debug Bridge) - this is a tool from Google, which allows you to control the device via the command line. It can be used to extract the Wi-Fi password, even if the manufacturer has blocked the standard interface. The method works on Android 4.4–13, but requires preliminary configuration.
Step-by-step instructions:
- Download ADB Tools on PC (Windows, Mac or Linux).
- Turn it on on your phone
Developer mode(tap 7 timesBuild numberVSettings → About phone). - Activate
USB debuggingin the developer menu. - Connect your phone to your PC and trust the computer.
- Open Command Prompt (or Terminal) and enter:
adb shell
su -c "cat /data/misc/wifi/WifiConfigStore.xml | grep 'SSID=\"YOUR_SSID\" -A 2'"
Replace YOUR_SSID the name of your network (in quotation marks!). If the command doesn't work, try this alternative:
adb pull /data/misc/wifi/WifiConfigStore.xml
Then open the downloaded file in any text editor and find the line with preSharedKey - this is the password.
⚠️ Attention: On Android 11+ The path to the configuration file may differ (/data/misc/wifi/WifiConfigStoreSoftAp.xml). If the command returns an errorPermission denied, which means the manufacturer has blocked access - it will be required root.
What to do if ADB doesn't see the device?
1. Make sure that the drivers for your phone model are installed (you can download them from the manufacturer’s website).
2. Try a different USB cable (preferably the original one).
3. Restart your phone and PC.
4. Enable "USB debugging (security options)" in Developer options and select "Always allow from this computer".
5. If you use Windows, check if your antivirus is blocking access (for example, Kaspersky or Avast often interfere with ADB).
Method 3: Retrieve iPhone Password (Without Jailbreaking)
Apple tightly controls access to system data, so iPhone Without jailbreak, you can extract the Wi-Fi password only through backup copyTo do this you will need a computer with iTunes (Windows) or Finder (Mac) and a program for reading backups - for example, iBackup Viewer or iMazing.
Instructions:
- Connect iPhone to your PC and create a backup copy via iTunes/Finder (Necessarily encrypt her password!).
- Download and install iBackup Viewer (free version will do).
- Open the program, select your backup and enter the password.
- Go to the section
System Files → Library → Preferences → SystemConfiguration. - Find the file
com.apple.wifi.known-networks.plistand open it. - Find yours in the list of networks
SSID— the password will be in the fieldpassword.
If you have Mac, you can do without third-party programs:
- Open
Terminal. - Enter the command:
security find-generic-password -wa "YOUR_SSID"
The system will ask for the account password. Mac — after entering, the Wi-Fi password will be displayed.
⚠️ Attention: Backups iCloud do not contain Wi-Fi passwords in readable form - only local backups in iTunes/FinderIf you've never created an encrypted copy, this method won't work.
Android|iPhone|Both|Other-->
Method 4: Using a QR code (universal method)
If you don't need the password itself, but just the ability to connect to another device, you can do without removing it. Modern smartphones support Wi-Fi data exchange via QR code - it works on Android, and on iPhone.
How to do it:
- 📱 On Android: open
Settings → Wi-Fi, tap on the network, selectShare → QR codeScan the code with another device. - 🍎 On iPhone: open
Settings → Wi-Fi, tap on the network, then click on the icon📎 Share password(will appear automatically if there is another device nearby Apple).
The advantage of this method is no need to know the passwordThe downside is that you can only connect devices with a camera (laptops or PCs require manual entry). Furthermore, the QR code is valid for a limited time (usually 2-3 minutes).
Method 5: Viewing the password through the router (alternative option)
If none of the previous methods worked, you can Find out the password directly from the routerThis is a universal method, but it requires access to the router's web interface.
Instructions:
- Find out
Router IP address(usually it is192.168.0.1or192.168.1.1). You can find it in the Wi-Fi settings on your phone (sectionRouterorGateway). - Open a browser on any device connected to that network and enter the IP address.
- Enter your login and password to log in (usually
admin/adminor indicated on the router sticker). - Go to the section
Wireless → Security(orWi-Fi → Security Settings). - Find the field
Password,KeyorPre-Shared Key- this is your password.
If you don't know your router login details, try the standard combinations for your model:
| Manufacturer | Login | Password | IP address |
|---|---|---|---|
| TP-Link | admin | admin | 192.168.0.1 |
| ASUS | admin | admin | 192.168.1.1 |
| D-Link | admin | (empty) | 192.168.0.1 |
| Zyxel Keenetic | admin | 1234 | 192.168.1.1 |
| MikroTik | admin | (empty) | 192.168.88.1 |
⚠️ Attention: If you rent a router from a provider (for example, Rostelecom, MTS, Beeline), your login information may have changed. In this case, please call support or check your personal account.
What to do if nothing works?
If all the above methods do not help, you have three options:
- 🔄 Reset your router password: Click the button
Reseton the back of the router (hold for 10-15 seconds). After this, the network will be named by default (for example,TP-Link_1234), and the password can be found on the device sticker. - 📞 Contact your providerIf your router was provided by your internet service provider, they can reset your password remotely or provide it over the phone (identity verification will be required).
- 🛠️ Use specialized programs: For Android It will work with root rights WiFi Password Viewer, For iPhone with jailbreak - WiFi Passwords from the repository CydiaBut remember: such applications may contain malicious code.
If you decide to reset your router, keep in mind that other settings will also be reset along with the password: IP address, DNS, settings Port Forwarding And Parent ControlAfter the reset, you may need to reconfigure your internet connection (connection details are usually specified in your contract with your provider).
FAQ: Frequently asked questions about viewing your Wi-Fi password
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 without root - no, since the system does not store passwords for unrelated networks. iPhone You can try to extract data from a backup if the network is saved in the device's memory.
If you have access to the router, you can see the password in its settings (see Method 5).
Is it safe to use Wi-Fi hacking software?
No. Most of these programs (for example, Wifi WPS WPA Tester, Aircrack-ng) violate the law and may:
- 🚨 Lead to your blocking
MAC addresseson the network. - 📵 Disrupt the operation of the router (especially during attacks)
WPS). - 🔍 Attract the attention of the provider, who may transfer the data to law enforcement agencies.
Using such tools against other people's networks qualifies as unauthorized access (Article 272 of the Criminal Code of the Russian Federation).
Why is there no "Share Password" option on my Xiaomi?
Xiaomi (as well as Huawei, Oppo, Vivo) blocks access to Wi-Fi passwords at the firmware level MIUIThis was done at the request of Chinese regulators (the Cybersecurity Law of the People's Republic of China).
The restriction can only be bypassed through ADB (cm. Method 2) or gaining root rights. An alternative is to use the router to view the password (see Method 5).
Is it possible to find out the Wi-Fi password in a cafe or hotel?
Technically, yes, if your phone is connected to that network. But:
- 🏨 Most hotels and cafes use guest networks with limited access (for example, through an authorization portal). The password for such a network is useless—it only works for registered devices.
- 📜 Retrieving a password may violate the establishment's rules (for example, in the service agreement).
- 🔍 The network administrator can monitor suspicious activity (for example, multiple connection attempts).
It's better to ask the staff for the password or use official methods (QR codes on tables, personal account on the establishment's website).
How to protect your Wi-Fi from password leaks?
To prevent unauthorized access to your network:
- Use WPA3 instead of
WPA2(if the router supports it). - Turn it off
WPS- This protocol is vulnerable to brute force attacks. - Change your password regularly (every 3-6 months).
- Create guest network for friends, it is isolated from the main one.
- Enable filtering by
MAC addresses(although this is not a panacea). - Update your router firmware—manufacturers regularly patch vulnerabilities.
Also avoid simple passwords like 12345678 or qwerty - they are hacked in a few minutes.