It's quite common to need to connect a new device to a wireless network but have forgotten or lost the password. Fortunately, if at least one device, such as a laptop or smartphone, already has an active connection to the router, restoring access to the security key is easy. Operating systems on modern devices often store this data in encrypted form for automatic reconnection, and our task is simply to retrieve it.
There are several proven methods for obtaining the required information, and the choice of a specific method depends on the type of device you plan to use to perform the search. This could be a Windows desktop computer, an Android or iOS smartphone, or even the router itself. It's important to understand that some methods may require administrator or root access, although in many cases, standard system tools will suffice.
In this article, we'll cover all the relevant options in detail, from simple interface settings to using the command line. Data security The extraction process will not affect your data, as we are working with locally stored configurations. Follow the instructions carefully to avoid input errors.
Viewing a saved password in Windows 10 and 11
The Windows operating system has built-in functionality for managing network connections, allowing you to view the security key for your active network. This method is the simplest and doesn't require installing third-party software. All actions are performed through the standard network settings menu, accessible to any user with administrator rights.
First, you need to open the Network Connections control panel. This can be done quickly by pressing a key combination. Win + R and enter the command ncpa.cpl, then press Enter. In the window that opens, find your wireless connection icon, right-click it, and select "Status." Then, go to the wireless network properties.
In the dialog box that opens, find the "Wireless Network Properties" button and click it. A window with several tabs will appear, and you should switch to the "Security" tab. This is where the information you're looking for is stored. By default, the "Network Security Key" field is hidden behind symbols, but it can be easily accessed.
To see the characters, check the box next to "Show entered characters." The text password will then appear in the field, which you can copy or rewrite. This method works reliably on all modern versions of Windows, including Home and Pro editions.
Using the command line to extract the key
For more advanced users or in cases where the graphical interface isn't working correctly, the Windows command line is a great tool. This method allows you to retrieve passwords even for networks the device has connected to in the past but isn't currently connected to. Console commands provide direct access to WLAN profiles.
To launch the console, click the Start button, enter cmd, then right-click "Command Prompt" and select "Run as administrator." This is required, as without elevated privileges, the system will not allow you to view saved security keys.
The first step is to find out the exact name of the network profile. Enter the command netsh wlan show profiles and press Enter. In the list of displayed profiles, find the name of your network. Then use the following command to display the details, including the password:
netsh wlan show profile name="Your_Network_Name" key=clear
In the command results, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in plaintext. This method is especially useful if you need to quickly copy a password without navigating through multiple windows.
What to do if the command fails?
If the system displays "Access Denied," check that the console is running as an administrator. Also, make sure the network name is entered correctly, including capitalization and spaces.
How to view your password on an Android smartphone
Android smartphone owners often need to share their password with another device. In modern versions of the operating system (Android 10 and newer), this process is significantly simplified and no longer requires root access, as was the case in earlier versions.
To view the password, go to your device's settings and select "Wi-Fi" or "Connections." Tap the name of the network you're currently connected to, or select the gear icon next to it. Depending on your smartphone model (Samsung, Xiaomi, Pixel), the interface may differ slightly, but the logic remains the same.
Look for the "QR code" or "Share" option. When you tap it, the system may request identity verification via a PIN, fingerprint, or face scan. Once successfully authenticated, a QR code will appear on the screen for connecting other devices.
- 📱 On many devices, the password is written in text directly below the QR code.
- 🔍 If there is no text, take a screenshot of the code and open it using Google Lens or any QR scanner.
- 📝 Some shells show the password immediately after clicking the "eye" icon in the network menu.
It's worth noting that some custom firmware versions may hide the password text. In this case, using a QR code scanner on a second phone is the fastest solution. The camera will simply scan the data and display the connection string, which will contain the key.
Restoring access to Apple devices (iOS/macOS)
The Apple ecosystem places a high priority on security, so for many years, it was impossible to simply view saved passwords in iPhone settings. However, with the release of iOS 16 and macOS Ventura, this feature became available to regular users without the need for complex workarounds.
On an iPhone or iPad with the latest operating system, go to "Settings" and select "Wi-Fi." Find the network whose password you want to know and tap the blue information icon (the letter "i" in a circle) to the right of the network's name. In the menu that appears, find the "Password" field.
When you tap the hidden password field (the dots), the system will prompt you to authenticate using biometrics (Face ID or Touch ID) or enter your device's passcode. Once confirmed, the dots will disappear, revealing a text password that you can copy.
The situation is similar for Mac users, but there's a nuance depending on OS version. On macOS Ventura and newer, the password can be found in System Preferences -> Wi-Fi -> Advanced (or directly in the list of networks). On older versions of macOS, the password is stored in Keychain Access.
⚠️ Note: On devices running iOS versions earlier than 16, it's not possible to view the saved password using standard tools. In this case, the only solution is to access the router settings or use a Mac with the password saved in the keychain.
Viewing the key through the router's web interface
A universal method that works for absolutely any connected device is to access the router's settings. Since the router is the central node of the network, it stores all necessary configuration data, including encryption keys.
For this method, you need to know the IP address of the default gateway. This is usually 192.168.0.1 or 192.168.1.1Enter this address in your browser's address bar. If you haven't changed the factory settings, the login and password are often default (e.g., admin/admin) and are located on a sticker on the bottom of the device.
After authorization, the interface may look different depending on the manufacturer (TP-Link, Asus, Keenetic, MikroTik). You need to find the section related to the wireless network. It may be called "Wireless," "Wi-Fi," "Seamless Network," or "WLAN."
Within this section, look for the "Security" or "Wireless Settings" subsection. This is where the "Wireless Password / Pre-Shared Key" field is located. You can view it in plain text or change it to a new one.
Below is a table with typical addresses and login details for popular router manufacturers:
| Manufacturer | Entrance 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) |
| Keenetic | 192.168.1.1 | admin | 1234 |
☑️ Check before logging into the router
Third-party programs and applications
If standard methods seem too complicated or don't work, you can use specialized software. There are many utilities that automatically scan saved profiles and display passwords in a user-friendly interface. However, it's important to exercise caution.
One of the most popular and proven programs for Windows is WirelessKeyView from NirSoft. It requires no installation, is portable, and displays a list of all saved networks and their keys. The program is lightweight and doesn't put a strain on your system.
There are QR code scanner apps for Android, which, as mentioned earlier, can decode QR codes from Wi-Fi settings. There are also file managers with root access that allow you to open system files. wpa_supplicant.conf, where all passwords are stored in plain text.
⚠️ Warning: Download password recovery programs only from the official websites of their developers. Using questionable software from untrusted sources can lead to computer viruses or data theft.
Using such utilities is justified when you need to quickly download a list of all networks ever used. However, for a one-time procedure, the operating system's built-in tools, which are more secure, are often sufficient.
Frequently Asked Questions (FAQ)
Is it possible to find out someone else's Wi-Fi password if I'm not connected to it?
No, it's impossible to legally find out the password for a network you don't have access to or the owner's permission to access. All the described methods only work with profiles already saved on your device or require physical access to the router's settings.
What should I do if I forgot my router admin password?
If you've changed your router's web interface password and forgot it, the only solution is to reset the device to factory settings. To do this, press the button Reset on the router body (usually requires holding for 10-15 seconds). After this, the network settings will be reset, and you'll need to set up the internet again.
Are password recovery programs safe to use?
Using trusted utilities from reputable developers (like NirSoft) is safe. However, many cracked versions or programs with names like "Wi-Fi Hacker" often contain malicious code. Always scan files with an antivirus before running them.
Why isn't my iPhone showing my password?
The password viewer feature was introduced in iOS 16. If you have an older version of the operating system, there's no standard way to view your password in Settings. You'll need to update your software or use a Mac with a synced keychain.
Is it possible to recover the password if the phone was reset?
If you perform a hard reset on your phone, all saved Wi-Fi profiles are deleted along with their passwords. In this case, the only solution is to log into the router or use another device that remembers this network.