How to Find Your Wi-Fi Password on Your Phone: A Complete Guide

It's a common situation to need to connect a new device to your home network, but you've forgotten the password and only have a smartphone already connected to the router. Modern operating systems, such as Android And iOSFor years, companies hid saved credentials for security reasons, making them inaccessible to regular users without root privileges. However, with the release of new software versions and changes to the privacy policy, methods for viewing saved keys have become more accessible, although they still require careful configuration.

In this article, we'll cover in detail all the current methods for recovering a forgotten password, from standard operating system tools to advanced techniques for working with system files. You don't need to be a networking expert to handle this task, but understanding the basic principles will help. Wi-Fi protocols Understanding your gadget's menu structure will significantly simplify the process. We'll cover the nuances for different smartphone manufacturers and OS versions.

Before proceeding, it's important to understand that access to passwords is only possible if your device has previously successfully connected to the access point. The system stores this data in encrypted form, and retrieving it often requires biometric authentication or a screen unlock PIN. defense mechanism, which prevents data theft in case of loss of the phone.

Recovering access on Android 10 and later

Starting with the tenth version of the operating system AndroidGoogle has implemented a native QR code generation feature for quickly connecting guests. This feature also allows the device owner to see a text version of the password, a revolutionary change for users accustomed to searching for complex workarounds. To get started, go to the Wireless Networks settings.

Open the menu Settings and select the item Wi-Fi or Connections, depending on your smartphone model. Find the network you're currently connected to in the list, or select a saved network from the list of available networks. Click the gear icon or simply tap the network name to view detailed connection information.

In the menu that opens, look for a button that says Share, QR code or a square code icon. Once clicked, the system will ask you to verify your identity using a fingerprint, face scan, or pattern. This is a standard procedure. user verification.

After successful verification, a QR code will appear on the screen for scanning. In most modern shells, such as MIUI, One UI or ColorOS, a text string containing the password will be displayed directly below the graphic code. If the text is hidden, you can take a screenshot and open it in Google Lens or any other QR code scanner that recognizes text in an image.

  • 📱 Make sure your smartphone screen is unlocked before attempting to view the password.
  • 🔒 The system may require you to re-enter your device unlock password to access your data.
  • 📶 This feature only works for networks that were previously saved in your phone's memory.
  • 👁️ On some models, the password text may be hidden by dots, in which case only scanning the QR code with another device's camera will help.
📊 What version of Android are you using?
Android 10-11
Android 12-13
Android 14 and later
Other version or iOS

iOS Features: Limitations and Workarounds

Device owners iPhone And iPad face stricter security policies. For a long time, the company Apple didn't provide users with the ability to view saved Wi-Fi network passwords directly on the device. This changed with the release of iOS 16, which now features a full-fledged password management feature similar to the macOS password manager.

If your smartphone is running an older version of the operating system, for example iOS 14 or iOS 15, you won't be able to see the password using standard tools. In this case, the only legal way is to use a macOS or Windows computer with iTunes or the Devices app installed and sync with iCloud Keychain. However, if your system is up to date, the process takes a few seconds.

To view your password, go to Settings and scroll down to the point Wi-FiOn the right side of the line with the name of the current network or in the "Known networks" list, click the blue information icon (i)In the menu that opens, find the field Password, which is hidden by dots by default.

Tap the password field. The system will immediately request biometric authorization via Face ID or Touch IDAfter a successful scan, the dots will turn into readable text that can be copied to the clipboard. This is the most reliable method, requiring no third-party software.

⚠️ Attention: The password viewer feature is only available on devices running iOS 16 and later. On older versions, the password field will be grayed out or missing, which is normal Apple security behavior.

Using Root Rights and System Files

For users whose devices run on older versions of Android (below 10) or do not have the function of displaying a QR code, the only way is to obtain rights RootThis provides full access to the file system, including protected system directories where network connection configuration files are stored. This method requires technical literacy and carries the risk of voiding the warranty.

After obtaining superuser rights (via Magisk or SuperSU) you will need a file manager with root access support, for example, Root Explorer or ES File Explorer (in older versions) You need to follow the path /data/misc/wifi/. It is in this directory that the file is located. wpa_supplicant.conf, containing the entire connection history.

Open this file with a text editor. You'll see a list of blocks, each corresponding to a saved network. Look for the parameter ssid for network name and parameter psk, which is the cleartext password you're looking for. Be extremely careful when editing this file: any unnecessary syntax changes may result in the inability to connect to Wi-Fi throughout the entire system.

Risks of Rooting

Obtaining root access voids the device's warranty, exposes it to malware, and can brick the phone if you manipulate system files incorrectly. Only do this if you fully understand the consequences.

An alternative to manually searching for files is to use specialized applications from the store. Google Play, such as WiFi Password ViewerThese programs automatically read the contents of system files and display them in a user-friendly interface. However, they also require root privileges to function.

  • 💾 The configuration file is located in a hidden system partition, accessible only with administrator rights.
  • ⚙️ Parameter psk The configuration file contains the network encryption key.
  • 🛠️ To edit system files, use proven text editors that support UTF-8 encoding.
  • 🔄 After any changes to system files, it is recommended to reboot the device.

Logging into the router's web interface via phone

If you can't view the password in your phone's settings but your smartphone is connected to a Wi-Fi network, you can try accessing the router's settings. Often, default passwords or changed security keys are displayed in plain text in the admin interface or allow you to set a new password without knowing the old one (provided you have physical access to the reset button, although this is a last resort).

First, find out the gateway's IP address. On Android, you can do this in the Wi-Fi settings by tapping the network name and finding the field Gateway or Router. Usually this is an address of the form 192.168.0.1 or 192.168.1.1Enter this address into the address bar of any browser on your phone (Chrome, Safari, Firefox).

The router's login page will open. You'll need your administrator login and password. If you've never changed them, they'll be found on a sticker on the bottom of the router (often admin/admin). If the data has been changed and forgotten, this method will not work without resetting the router.

Once inside, look for the section Wireless, Wi-Fi or Wireless network. In subsections Security or Security settings there must be a field PSK Password or WPA keyIn some interfaces, the password is hidden behind asterisks, but there may be a "Show" button (eye) or an option to copy it.

Router brand Typical login address Default login Default password
TP-Link 192.168.0.1 admin admin
ASUS 192.168.1.1 admin admin
D-Link 192.168.0.1 admin (empty)
Xiaomi 192.168.31.1 (No) (set during setup)
Keenetic 192.168.1.1 admin 1234

Command Prompt and ADB for Advanced Users

There is a method that allows you to extract the password without obtaining full Root rights, but it requires a computer with the package installed Android Debug Bridge (ADB) and USB debugging enabled on the smartphone. This method works on many devices that have debugging access but full file system access is blocked.

Connect your phone to your computer via a USB cable. Open the command prompt (CMD) or terminal on your PC in the ADB folder. Enter the following command to test the connection:

adb devices

A debugging permission prompt will appear on your phone screen. Tap "Allow." Next, to read the Wi-Fi configuration file, use the following command:

adb shell cat /data/misc/wifi/wpa_supplicant.conf

If the device doesn't require additional permissions for this specific directory (which happens on older firmware or some custom builds), you'll see the file's contents directly in your computer's terminal. Look for the line psk="your_password"On modern, highly secure devices, this command may return a "Permission denied" error, meaning full root access is required.

⚠️ Attention: Command line interfaces and available file paths may vary depending on the Android version and processor manufacturer. On devices running Android 11 and above, access to system files via ADB without root access is significantly limited.

What to do if none of the methods helped

If the phone doesn't display the password, you don't have root access, and the router settings are blocked, the only option is to physically inspect the hardware. Find the router itself. There's almost always a sticker with the factory data on the back or bottom panel. If you never changed the password during initial setup, the key listed as WPA Key, Wireless Password or Wi-Fi password, will be relevant.

If the password has been changed and forgotten, but you need to connect urgently, you'll have to resort to drastic measures: resetting the router to factory settings. To do this, find the small hole marked Reset or WPS/ResetPress it with a paper clip and hold for 10-15 seconds until the indicators blink simultaneously.

After resetting, the router will revert to the factory password (from the sticker), but you'll need to reconfigure your internet connection (enter your ISP login and password). Make sure you have your ISP contract handy, as authentication credentials (PPPoE, L2TP, or VLAN) may be required to restore internet access.

  • 🏷️ The factory password on the sticker is only valid if you haven't changed the security settings before.
  • 🔌 Resetting the router breaks the connection to all connected devices.
  • 📞 It's best to contact support for your internet connection information (not Wi-Fi, but your provider's) before resetting.
  • 🔄 After the reset, the network name (SSID) will also return to the factory one indicated on the label.

☑️ Check before resetting your router

Completed: 0 / 4

Frequently Asked Questions (FAQ)

Is it possible to find out someone else's Wi-Fi password if I'm not connected to it?

No, this cannot be done legally from a phone. Passwords are not transmitted over the air. Any apps that promise to "hack" your neighbor's Wi-Fi are either scams or contain viruses. To connect to someone else's network, you must know the key in advance.

Are password recovery apps safe to use?

Apps that require root access to view wpa_supplicant.conf, are relatively safe if they have high ratings and many reviews. However, apps that promise to reveal passwords without root access on older Android devices often simply collect your personal information. Be careful.

Why is there no share button or QR code on my Android 12?

Some smartphone manufacturers (for example, older versions of Xiaomi or Samsung skins in certain regions) may hide this feature or move it. Try tapping the gear icon next to the network, then look for the "QR code" button in the top or bottom corner of the screen. Also, check for system updates.

Is the password saved in the Google account?

Yes, if you have password sync enabled in your Google account, your saved Wi-Fi keys can be accessed via passwords.google.com. However, Wi-Fi password syncing is currently unstable and depends on the Android version and device manufacturer.