It's common to find yourself with guests over or having just bought a new gadget, but unable to remember the wireless network access code. Often, the router sits in a far corner, the sticker with the factory data is worn off, and the password is safely hidden in the phone's memory behind asterisks. Fortunately, modern operating systems make it easy to retrieve this information, if you know where to look.
In this article, we'll cover proven methods for both popular platforms: Android And iOSYou'll learn how to use built-in QR code viewing features, system security settings, and specialized utilities to restore access. The main rule - act consistently so as not to disrupt the operation of network protocols.
Some methods require superuser rights or a computer connection, but most methods are available to the average user out of the box. We'll cover the nuances of working with WPA2/WPA3 encryption and we'll explain why old methods with simple apps no longer work on newer OS versions.
Restoring access to Android without root rights
Starting with Android 10, Google introduced a convenient feature that allows you to share network access via a QR code, which essentially encodes the password you're looking for. This is the easiest and most secure method, requiring no third-party software. Simply go to the Wi-Fi settings menu and select your active network.
After selecting the network, the screen will display QR code, which can be scanned by another device for instant connection. However, the system often hides the access code itself. To view it, biometric authentication or a screen unlock PIN is sometimes required. This is done to protect data from prying eyes.
If the standard interface of your smartphone (for example, in pure Android or shells Xiaomi, Samsung) doesn't display the text under the QR code, you can use the built-in QR scanner in another phone's camera. After scanning the code from the first device's screen, you'll get a string like this: WIFI:S:MyNetwork;T:WPA;P:SecretPassword;;, where after P: and the required key will be found.
⚠️ Note: On some smartphone models with heavily modified shells, the QR code generation function may be hidden or work incorrectly without a manufacturer account.
It is also worth mentioning that on devices without rights Root Apps from the Play Market with catchy names like "WiFi Password Viewer" are often useless. The Android security system blocks access to the system file. wpa_supplicant.conf, where all the keys are stored. Therefore, relying on such programs is a waste of time and risks being infected with adware.
Using Superuser (Root) Rights on Android
For owners of unlocked devices Bootloader With root privileges established, the process becomes trivial. Root access allows applications to read system network configuration files, where passwords are stored in cleartext or in an easily decodable format. This is the "gold standard" for system administrators.
One of the most popular tools is the application WiFi Password Viewer or similar programs that require root access. After launching, the program requests permission to access system files. You'll see a list of all networks ever saved. Clicking on the desired one displays the password in a text field.
- 📱 Install a root-enabled app from a trusted source (e.g. F-Droid or GitHub).
- 🔐 Grant the app superuser rights using a root manager (Magisk or SuperSU).
- 👁️ Find your network (SSID) in the list and copy the password to the clipboard.
- 🔄 If necessary, reset your network settings if access conflicts occur.
It's important to understand the risks: rooting your device voids your warranty and can leave your phone vulnerable to malware if you're not careful. System fileThe connector you are about to read is critical to the operation of the network subsystem, and damage to it can result in loss of Wi-Fi module functionality.
How to find the password on an iPhone (iOS 16 and later)
For equipment owners Apple We're the luckiest of all: starting with iOS 16, the company added the long-awaited feature to view saved Wi-Fi passwords directly in Settings. Previously, this could only be done through macOS or jailbreaking, but now it works natively. This is a significant step towards user convenience.
To view the password, open Settings → Wi-Fi. In the upper right corner, click the button Editing (Or simply look for the blue "i" arrow next to the network name, depending on your iOS version.) After selecting the desired network, you'll see a "Password" field hidden by dots. Tap it, and the system will ask you to use Face ID, Touch ID, or enter your passcode.
After successful authentication, the dots will turn into readable text. You can copy it and send it to anyone. This feature syncs via iCloud Keychain, so if you have an iPad or Mac, the password will be available there too after confirmation.
⚠️ Note: The Wi-Fi password viewer feature is not available on devices running iOS versions earlier than 16. If you have an iPhone 7 or 8, which does not support the update to iOS 16, this method will not work.
For devices running older versions of iOS, the only legal method is to use a macOS computer connected to the same iCloud account. Using the Keychain Access app on your Mac, you can find the Wi-Fi network entry, double-click it, and check the "Show password" box, confirming the action with biometrics or your Apple ID password.
What to do if iCloud Keychain is disabled?
If key syncing is disabled, the password is only stored locally on the device. In this case, it's impossible to view it on older iOS devices without jailbreaking. We recommend updating the software or using another method (for example, viewing it on the router).
Viewing the password through the router's web interface
A universal method that works on absolutely any phone, regardless of OS version or root access, is to log into the router's admin panel. Since your phone is already connected to Wi-Fi (or you can connect via mobile data if the router allows LAN/WAN management, but it's best to be within the network), you have access to the device.
You will need a browser and the default gateway address. This is usually 192.168.0.1 or 192.168.1.1The exact address, login, and password are often written on a sticker on the bottom of the router. If you've changed this information and forgotten it, you'll have to reset the router to factory settings (press the button). Reset), which will break the connection with all devices.
Once in the menu, look for the section with names Wireless, Wi-Fi, Wireless network or WLANThere will be a subsection inside. Security or Security settingsThere in the field Wireless Password, WPA-PSK Key Your password will be displayed in a similar format. It can often be copied or simply visually read.
Below is a table with typical addresses and login credentials for popular router manufacturers. Please note that these may differ if your ISP changed them during initial setup.
| Router brand | IP address | Default login | Default password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | admin | admin |
| ASUS | 192.168.1.1 | admin | admin |
| Xiaomi | 192.168.31.1 | admin | (no, set during setup) |
| Keenetic | 192.168.1.1 | admin | 1234 |
| D-Link | 192.168.0.1 | admin | (empty field) |
☑️ Checking access to the router
Specifics of working with different versions of Android
Android fragmentation means that the interface and available features can differ dramatically across smartphones. For example, on devices Samsung With the One UI shell, the path to the QR code may look like this Settings → Connections → Wi-Fi → (gear) → QR codeWhile on Xiaomi (MIUI/HyperOS) You need to tap on the Wi-Fi icon in the notification shade.
Android 9 and below often lack a built-in feature for viewing passwords or generating QR codes with text backups. Users of such devices are forced to rely on root access or third-party methods. However, even on older versions, "forgetting the network" and reconnecting can sometimes help if the phone offers to share data via NFC or Smart View.
It is worth noting the role Google Play ServicesSometimes the "Share" feature in Wi-Fi settings only activates after updating Google Play services. If the button isn't there, check the app store for updates. This is a common reason why one user with Android 11 has the feature, while another with the same version doesn't.
⚠️ Note: Settings interfaces may change after operating system updates. If the path described doesn't match, search your phone's settings by entering "Wi-Fi" or "Network."
Alternative methods and cloud synchronization
There's a lesser-known but effective method for those using the Google ecosystem. If you have password syncing enabled on your phone with your Google account, you can find your saved Wi-Fi password using a computer browser. Go to your Google account settings (passwords.google.com), log in and find the "Passwords" or "Password Manager" section.
The list of saved data often includes entries with the name of your Wi-Fi network. Google stores this data as accounts, where the "login" is the network name and the "password" is the access key. This works if you've previously allowed the browser or the system to save autofill data.
- 🌐 Open the Chrome browser on your PC or other device.
- 🔑 Go to Settings and select "Autofill" → "Password Manager".
- 🔍 Enter the name of your Wi-Fi network in the search.
- 👁️ Click on the entry and select "Show password" (you will need the password for your account or OS).
Also worth mentioning are third-party password manager apps such as 1Password, LastPass or BitwardenIf you've ever manually saved your Wi-Fi password (or if they prompted you to save it when connecting), you can find the key in a second anywhere in the world with internet access.
Don't forget about physical security: If you reset your router to factory settings to set a new password, make sure you have access to the internet via a mobile network to set it up again. Reset - this is an extreme measure when other methods have been exhausted.
Is it possible to recover a password using the ADB command line?
Technically, yes. Using ADB (Android Debug Bridge) and shell privileges, you can try to extract the wpa_supplicant.conf file, but on modern Android devices without root, this is blocked by SELinux policies. This method is only suitable for very old devices or custom firmware.
Can I view my Wi-Fi password if I'm not currently connected to the network?
If you've previously connected to this network and your phone "remembers" it, you can view the password in the settings on Android 10+ and iOS 16+. However, if the network is removed from the list of known networks or you've never connected to it from this device, it's impossible to find the password programmatically from your phone—the only way to do this is by physically accessing the router or by making arrangements with the owner.
Are Wi-Fi hacking apps safe to use?
Apps that promise to "hack" your neighbors' Wi-Fi (like WiFi Master Key) work by sharing passwords between users. This is unsafe, as you're essentially giving away your data to unknown servers. Furthermore, using someone else's Wi-Fi without permission is illegal. Use only legal methods to recover your passwords.
What should I do if the QR code is not read by the camera?
Try taking a screenshot of the screen with the QR code and then opening it using Google Lens or the Gallery app with Smart Search. Often, the built-in camera scanner can't focus on another device's screen due to the refresh rate (PWM), and image analysis can solve the problem.
Where are Wi-Fi passwords stored in the Android file system?
System passwords are stored in a file /data/misc/wifi/wpa_supplicant.confOnly processes with root privileges have access to this directory. Without superuser privileges, this file cannot be read using standard tools due to security limitations in the Linux kernel on which Android is based.