Many people are familiar with the situation of needing to connect a new device to a wireless network but losing or forgetting its password. It often happens that one device already has internet access, and the logical question arises: how to view saved login credentials without resetting the router. This can be done using standard operating system tools, without resorting to complex utilities.
Restoring access to security key WPA2 or WPA3 is possible on most devices if you have physical access to an already connected computer or smartphone. Modern operating systems store this data in secure vaults but provide administrators with tools to view it. It's important to understand that performing these actions may require administrator privileges or unlocking the device's screen.
In this article, we'll cover detailed steps for various platforms. You'll learn how to find forgotten password combinations on Windows, macOS, Android, and iOS. We'll also touch on security and explain why some methods may not work depending on your software version or router model.
Finding a WiFi password in Windows
The Windows operating system stores profiles of all networks to which the computer has ever connected. This allows the connection to be automatically reestablished whenever a familiar SSID appears within range. To view the hidden access code, you must have administrator rights on the current account. Without these rights, the system will not allow you to view sensitive network profile data.
The easiest way to find out information through a graphical interface is available in Windows 10 and 11. Right-click on the network icon in the tray (near the clock) and select Network and Sharing Center or go to Parameters → Network and Internet → Wi-Fi → Configuring adapter settingsIn the window that opens, find the active connection, double-click on it and press the button Wireless network properties.
In the dialog box that opens, go to the tab SecurityHere you will see a field Network security key, which is hidden by asterisks by default. Check the box next to this item. Show entered characters, and the hidden text will become readable. This is the most reliable method for the current active network.
⚠️ Note: If the "Security" tab is missing or the "Show characters as you type" button is inactive, network settings management may be blocked by your organization's group policies or antivirus software.
For advanced users, or if you need to find out the password for a network to which your computer is not currently connected but has connected previously, the command line will do the trick. Open the terminal as administrator (find cmd in search, right click and select Run as administrator). Enter the command to view all saved profiles:
netsh wlan show profiles
Find the name of the desired network in the list. Then use the following command, replacing "Network_Name" with the exact name of your profile:
netsh wlan show profile name="Network_Name" key=clear
Find the line in the command output Key Content (Key content). The value to the right of the colon is the password you're looking for. This method is universal and works even on Windows versions without a graphical interface, such as Windows Server.
How to view your password on macOS and iPhone
In the Apple ecosystem, password storage is centralized through iCloud Keychain. This means that if you've ever connected to the internet on a Mac or iPhone and syncing is enabled, your password can be found on any device linked to your Apple ID. However, the process for viewing passwords varies across different operating system versions.
On Mac computers with macOS Ventura and later, the process has become incredibly simple. Open System Preferences, go to the section Wi-FiFind your network in the list or click the button Additionally (or three dots) next to known networks. Click the eye icon or button Copy passwordThe system will require confirmation of the action via Touch ID or account password.
For older versions of macOS (before Ventura) and to view history on iPhone, use the app Bunch of keys (Keychain Access). On a Mac, find it using Spotlight (Cmd+Space). Select a category from the list on the left. PasswordsEnter your network name in the search.
- 🔍 Find the network name in the list and double-click on it.
- 🔓 In the window that opens, check the box
Show password. - 🔑 Enter your administrator password or use Touch ID to confirm.
On iPhones with iOS 16 and later, Apple has added the ability to view passwords directly in Settings. Go to Settings → Wi-FiClick on the blue icon (i) next to a connected network or any known network in the list. Tap the line Password (hidden by dots). After authenticating with Face ID or Touch ID, the password will be displayed and can be copied.
Restoring access on Android devices
With the release of Android 10, Google changed its security policy, allowing users to view passwords for saved networks without root access. Prior to this version of the operating system, viewing was only possible on devices with root access. Now, the procedure is standardized for most modern smartphones.
To find out the password, open Settings → Wi-Fi (or Connections). Click on the name of the network you are connected to or on the gear icon next to it. Select the option from the menu Share or QR codeTo confirm the action, the system will ask you to enter your screen unlock PIN or fingerprint.
After successful authentication, a QR code will appear on the screen to quickly connect guests. Below this code (or sometimes inside it if you tap "Show Password"), a text string containing the security key will be displayed. If the text is hidden, take a screenshot and open it in the app. Google Lens (Google Lens) or any QR code reader from the gallery - it will recognize the text and show the password.
⚠️ Note: On Xiaomi, Samsung, or Huawei smartphones, the menu path may differ slightly. Look for "Share," "QR code," or "Advanced" in the properties of your active network.
If you have a device running Android 9 or earlier, you won't be able to view your password using standard tools. In this case, you'll need root access and specialized file managers (such as Root Explorer) to view system files. /data/misc/wifi/wpa_supplicant.confHowever, rooting your device may void your warranty and interfere with the operation of banking apps.
☑️ Check before resetting your router
Viewing data through the router's web interface
The most universal method, regardless of the connected device's operating system, is to log into the router's control panel. If you know the router's admin password (often different from the WiFi password), you can not only view but also change the wireless network settings. This method works even if no devices are currently connected to WiFi, but you can connect via cable or a guest network.
To log in, open any browser and enter the gateway IP address in the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address, login, and default password are usually indicated on a sticker on the bottom of the router. Default login/password pairs are often admin/admin or admin/password.
After authorization, the interface may differ depending on the brand (TP-Link, ASUS, Zyxel, Keenetic, MikroTik). You need to find the section related to wireless mode. Look for tabs with the following names:
- 📡 Wireless / Wireless mode
- 🔐 Wireless Security
- 🏠 Wi-Fi Network / Wi-Fi Network
Inside this section in the field Wireless Password, WPA Pre-Shared Key or Password The current key will be displayed. Here you can also change the encryption type (WPA2-PSK or WPA3 are recommended) and set a new character combination. Don't forget to click the button Save or Apply after making changes, otherwise the router will reboot with the new settings, and all devices will turn off.
th>Typical entry address
| Router brand | Menu section | Field name | |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless -> Wireless Security | Wireless Password |
| ASUS | 192.168.1.1 | Wireless network | Authentication Method / Pre-Shared Key |
| Keenetic | 192.168.1.1 | Home network -> Wi-Fi network | Password |
| D-Link | 192.168.0.1 | Wi-Fi -> Security Settings | PSK encryption key |
It's important to note that the firmware interface is constantly being updated. If you can't find the item you need, consult the official instructions for your specific model on the manufacturer's website. The menu structure can change significantly between firmware versions.
What should I do if the router admin password has been changed and is unknown?
If the default password (admin/admin) doesn't work, and you've changed it and forgotten it, the only solution is to reset the router to factory settings. To do this, press and hold the Reset button on the device for 10-15 seconds (until all the indicators flash). After this, the router will return to the factory passwords listed on the sticker, but you'll have to reconfigure your internet connection (PPPoE, L2TP, or dynamic IP) and set a network name.
Using third-party programs and utilities
There are many WiFi connection management programs that can display saved passwords. However, they should be used with extreme caution. Many "password recovery" programs contain adware or viruses. It's safer to use time-tested open-source utilities or those from reputable vendors.
One of the popular utilities is WirelessKeyView from NirSoft. It requires no installation, launches immediately, and displays a table listing all networks and keys. The program operates at the Windows API level, so antivirus software may flag it as a potentially unwanted application (HackTool), even though it's inherently safe.
Another option is to use Linux console utilities such as nmcli (Network Manager Command Line Interface). If you have access to a terminal on a Linux machine connected to the network, the command:
sudo grep psk= /etc/NetworkManager/system-connections/*.nmconnection
...can reveal passwords in configuration files, although modern distributions often store them encrypted in the keyring. For Windows, there are also PowerShell scripts that automate the process of extracting passwords via netsh, making reading more convenient.
⚠️ Warning: Download utilities only from the official websites of the developers. Using cracked versions of password recovery programs is the fastest way to infect your computer with a miner or Trojan.
Security issues and network protection
Understanding how easy it is to find out your WiFi password should make you think about the security of your own network. If an attacker gains physical access to your computer or smartphone (even for a few minutes), they can access this data. Therefore, it's important to use complex passwords when logging into your operating system and lock your screen when you're away.
Furthermore, weak passwords on the router itself allow settings to be overwritten remotely if remote management is enabled. Use an encryption protocol. WPA3, if your equipment supports it, as it's more resistant to password guessing than WPA2. Update your router firmware regularly to patch any vulnerabilities.
It's also worth mentioning the risks of using public WiFi networks. Unlike home networks, you can't see the password, as it's shared and often posted in plain sight, or you must log in through a login portal. Data transfer on such networks should only be done over secure connections (HTTPS, VPN).
Frequently Asked Questions (FAQ)
Is it possible to find out the WiFi password if I have never connected to this network from this device?
No, this can't be done using the operating system's built-in tools. The password is only stored after a successful connection. The only options are to obtain it from the network owner, look on the router's sticker (if the password hasn't been changed), or log into the router's control panel if you know the administrator password.
What should I do if the netsh wlan show profile command returns the error "Group Policy is blocking access"?
This restriction is imposed by the system administrator or corporate security policy. There's no way to bypass it using standard tools. You can try running the command prompt as a different user with administrator privileges or using the Windows graphical interface to view network properties.
Will resetting the router work if I don't know the WiFi password?
Yes, resetting the router will restore it to factory settings. The password will be reset to the one on the sticker on the bottom of the device. However, you'll have to reconfigure your connection to your ISP (enter the login and password from your contract), which can be difficult without technical support.
Why can't I just copy the password from Settings on Android 11+?
For security reasons, Google has hidden the direct text output in some shells, leaving only a QR code. This is to prevent random apps or people peeking at your screen from easily reading your password. Use the "Share" feature or scan the QR code.