It's quite common to need to connect a new gadget or laptop to a network but have forgotten the password for the current connection. Fortunately, modern Android and iOS operating systems provide built-in mechanisms for viewing saved credentials, no longer requiring root access. Previously, accessing system files required wpa_supplicant.confRoot access was required to access the device where the access keys were stored, which was difficult and unsafe for the average user. Google and Apple have now significantly simplified this process by implementing QR code and cloud syncing.
In this article, we'll take a detailed look at the built-in tools available in Android 10 and later, the capabilities of iOS 16 and later, and also explore proven alternative methods for older operating systems. You'll learn how to securely extract access keys without installing questionable software that could steal your data. We'll also discuss the technical nuances of the security protocol. WPA2/WPA3 in a mobile environment and explain why system restrictions are no longer a barrier to accessing your own settings.
Built-in features of Android 10 and later
Starting with Android 10, Google has implemented a native QR code generation feature for Wi-Fi sharing, which essentially unlocks the password. To use this method, you don't need third-party apps or access to the debug menu. Simply go to the Settings → Connections → Wi-Fi (the path may vary slightly depending on MIUI, OneUI, or ColorOS shells). Click the gear icon next to the active network or the network itself in the list of saved networks.
On the screen that opens, you'll see a "Share" button or a QR code icon. When you tap it, the system will ask you to verify your identity using your fingerprint, Face ID, or screen unlock PIN. This is an important step. biometric security, preventing password theft if your phone falls into the wrong hands. After confirmation, a QR code will appear on the screen. Scanning it with any device allows you to instantly connect to the network.
However, often we need a text password, not an image. In stock Android (Pixel, Motorola) and many modern operating systems, the password text is displayed directly below the QR code. If you only see the image, take a screenshot and then open it using the Google Lens app or any similar QR scanner in the gallery. The camera will "read" the code from the image and display the data in this format: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;, where after the symbol P: there will be the desired key.
⚠️ Note: On some Samsung smartphones with One UI, the password text may be hidden by asterisks even in the QR code menu. In this case, use Google Lens to recognize text on the screen; it works 99% of the time.
It's important to understand that this method only works for networks to which the phone has previously connected. If you're trying to find the password for a network the device has never seen, this method won't work. It's also worth noting that in corporate networks with a security type EAP Instead of a password, a certificate or login may be displayed, since the authorization mechanism there is built differently.
How to view your iPhone password (iOS 16 and later)
Apple device owners are no less fortunate: starting with iOS 16, the company added the long-awaited feature to view saved Wi-Fi passwords directly in System Preferences. Previously, the only way was to use iCloud Keychain on a Mac or jailbreak. Now the process is trivial and accessible to everyone. Settings → Wi-Fi on yours iPhone or iPad.
In the upper right corner of the network list or next to the active network name, you'll see a blue "Edit" button (or an "i" icon in a circle). Click it, then tap the hidden "Password" field, which appears as dots. The system will require biometric verification. Face ID or Touch IDThis ensures that only the owner of the device can see sensitive data.
After successful authentication, the dots will turn into readable text. You can copy the password, send it via AirDrop, or simply remember it. Notably, iOS also allows you to remove old networks from this menu, which is useful for clearing the list and resolving issues with automatic connections to weak signals. This feature works reliably on all devices supporting iOS 16, including the iPhone 8 and later.
For users of older versions of iOS (15 and below), the situation is more complicated. Without jailbreaking, viewing the saved password on the phone is impossible due to strict app sandboxing. The only legal way is to remember the password or view it on another Apple device synced with the same Apple ID and running iOS 16 or macOS.
Methods for Android 9 and below (without root)
If your device is running Android 9 Pie or earlier, there's no built-in way to view the password in plain text. However, if you have access to the router or another connected device (such as a Windows laptop), you can solve the problem indirectly. Mobile apps from the Play Market that promise to reveal the password without root access are 95% fake or display ads.
The most reliable method for older Androids is to use the function WPS (Wi-Fi Protected Setup), if supported by the router. Some applications, such as WiFi Key Recovery (root required, but emulation versions are available) or specialized PIN-generating utilities may attempt to connect. However, a more effective method is to access the router's web interface through your phone's browser. To do this, you need to know the gateway's IP address, which is usually 192.168.0.1 or 192.168.1.1.
Enter the gateway address in the address bar of your browser (Chrome, Firefox). If you're already connected to Wi-Fi, the router may allow you to connect without a password or request standard credentials (admin/admin). Once in the menu, go to Wireless → Wireless SecurityThere in the field WPA/WPA2 Passphrase The current password will be displayed. If the field is hidden by asterisks, try clicking the "Show" button or using a script in the address bar (if your browser allows it), although modern web interfaces often block such attempts.
⚠️ Note: Router interfaces are constantly being updated. If you can't find the security settings, check your router manufacturer's official documentation, as the names of the options may differ (e.g., "Wireless Mode" instead of "Wireless").
Why can't I just view the password on older Android devices?
The Android system stores passwords in the /data/misc/wifi/wpa_supplicant.conf system file. Only processes with root privileges have access to the /data/ folder. Without these privileges, no app can read this file for security reasons, so workarounds using QR codes were only introduced in Android 10.
Using the ADB command line
For advanced users who don't want to get Root rights but have a computer at hand, there is a debugging method via ADB (Android Debug Bridge)This method works on many devices running Android 10 and below, as long as USB debugging is enabled. You'll need to install the ADB drivers on your PC and connect your phone with a cable. This method allows you to directly retrieve the network configuration file.
First, you need to enable developer mode on your phone (tap the build number seven times in "About Phone") and enable "USB Debugging." Then run the command to backup your Wi-Fi settings. Please note that on newer versions of Android, this command may not work without root, but on Android 6–9, it has a high success rate.
adb backup -noapk com.android.providers.settings -f wifi_backup.ab
The resulting file wifi_backup.ab You need to convert it to a tar archive and then extract the file from there. settings.xml or wifi.xml. Inside the XML file in the tag string with the name Ssid And PreSharedKey This will contain the network name and password in cleartext. This is a technically complex, but very effective method for engineers and system administrators.
☑️ Preparing to use ADB
Comparison of access recovery methods
The specific method you choose depends on your operating system version and the availability of additional devices. Below is a table to help you quickly navigate the available options and their effectiveness. Remember, the security of your data directly depends on the reliability of the method you use.
| Method | Required OS version | Root/Jailbreak required | Complexity |
|---|---|---|---|
| QR code in settings | Android 10+, iOS 16+ | No | Low |
| Google Lens / Scanner | Any (for Android) | No | Low |
| Router web interface | Any | No (access required) | Average |
| ADB Backup | Android 6-9 | No (PC required) | High |
| Apps from the Store | Any | Often required | Risky |
As the table shows, the built-in features of modern operating systems are the most secure and simple. Using third-party software from untrusted sources carries the risk of introducing malware that can intercept traffic. Therefore, if you have a new phone, use the built-in features.
Frequently Asked Questions (FAQ)
Is it possible to find out a neighbor's Wi-Fi password via their phone?
No, it's impossible to find out someone else's closed network password using legal methods. All the methods described above only work with networks to which your phone has previously connected and stored data. Hacking into someone else's network is illegal.
Is it safe to use apps like "WiFi Password Hacker"?
Highly discouraged. Most such apps either don't work without root access or contain adware and spyware. They often simply display random passwords or databases of vulnerable routers, which is ineffective in most cases.
What should I do if I forgot my router password to access the settings?
If standard admin/admin If they don't work, you'll have to reset the router to factory settings (use the Reset button on the device). After that, the password will be the same as the one on the sticker on the bottom of the device, but you'll have to re-enter your internet settings.
Does the QR code method work on tablets?
Yes, if your tablet is running Android 10+ or iPadOS 16+, the QR code and password viewer method works identically to smartphones. The interface may look slightly different, but the logic remains the same.