A situation when you need to connect a new gadget to the network, but the password for the one that is already working Wi-Fi router Lost or forgotten data is a common occurrence. Often, a laptop or smartphone is already successfully logged into the network, opening the door to recovering lost data without resetting the device. Modern operating systems reliably hide this data for security purposes, but with physical access to the device, it can be retrieved.
There are several proven ways to view saved security keys, and the method you choose depends directly on the type of operating system installed on your device. Whether it's a desktop computer running Windows, laptop from Apple Whether you're using a computer or a mobile device, there's always a solution if you have administrator rights. In this article, we'll detail the steps for various platforms so you can quickly restore internet access.
It is important to understand that all manipulations described below assume that you are the owner of the network or have the legal right to access the configuration of a specific device. The wireless network password is stored encrypted in the system registry or keystore, but the OS can decrypt it for authorization, which allows us to see it. We'll look at the system's built-in tools that don't require the installation of questionable third-party software, thereby ensuring the security of your data.
Viewing your password through Windows 10 and 11 settings
operating system Windows For decades, the system stores profiles of connected networks, and the easiest way to retrieve information from them is through a graphical interface. This method is the most secure and intuitive for the average user, as it doesn't require entering complex commands. However, it's important to note that the menu interface may vary slightly depending on the installed system version and updates.
First, you need to open the Network and Network Control Panel. You can do this through the standard Start menu or using a keyboard shortcut. Find your active connection in the list of available connections, which is usually marked as "Connected." The properties of this connection contain the security information you're looking for.
Next, go to the wireless network status window. Here, look for a button labeled "Wireless Network Properties" or something similar, which opens the security settings. In the window that opens, find the "Network Security Key" field. By default, the symbols in this field are hidden behind asterisks to protect them from prying eyes.
- 🔍 Right-click the Wi-Fi icon in the system tray and select "Open Network & Internet settings".
- 🔍 Go to "Network and Sharing Center" through advanced options.
- 🔍 Click on the name of your wireless network (in blue).
- 🔍 In the new window, click the "Wireless Network Properties" button.
- 🔍 Go to the "Security" tab and check the "Show entered characters" box.
⚠️ Attention: If the "Security" tab is grayed out or the "Show characters" button is missing, your account may not have local administrator rights or your network profile may be corrupted. On corporate networks, access to these settings may be blocked by group policies.
After unchecking the "Hide Characters" box, your password will be displayed in plain text. You can copy or rewrite it. This method works reliably on all modern versions. Windows, including server editions, provided a graphical shell is available. If you prefer to work from the command line, there is an alternative, faster method.
Using the command line to recover the key
For more experienced users or in situations where the graphical interface does not work correctly, using the command line is the ideal solution. CMD or PowerShell. This method allows you to retrieve information about all previously saved networks, not just the one you're currently connected to. This is especially useful if you need to find the password for a friend's or office's network you've previously connected to.
To run the utility, you must open the command prompt as administrator. Enter the appropriate query in the system search, right-click "Command Prompt," and select "Run as administrator." Without administrator rights, the system will not allow you to view saved security keys.
The first step is to get a list of all Wi-Fi profiles saved on this computer. Enter the command netsh wlan show profilesThe system will return a list of all networks the device has ever connected to. Find the exact network name (SSID) you need in the list.
Knowing the exact network name, you can request the password to be displayed. To do this, use the command with the key=clear parameter. The command syntax is as follows:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security settings" section. The "Key Content" line will contain the password you're looking for in cleartext. This method is universal and works even on stripped-down versions of the system, which may lack full graphical settings menus.
Why might the command not work?
The command may not produce a result if the WLAN AutoConfig service is disabled on the system, or if the network profile was saved only for the current user, and you run the console as another user without access rights to their profiles.
How to view your password on macOS
Computer users MacBook And iMac are faced with a different data storage structure. In the ecosystem Apple All passwords, including Wi-Fi network keys, are stored securely in iCloud Keychain Access. This is a centralized database that syncs across all devices connected to the same Apple ID.
To find the password you need, open the Keychain app. The easiest way to do this is by using Spotlight search (click Command + Space and enter the program name. In the list on the left, select the "System" or "iCloud" category, where network passwords are stored. Find the name of your Wi-Fi network in the list of names.
Double-click the network name to open its properties. In the window that opens, check the "Show password" box. The system will ask you to verify your identity: enter your macOS account password or use Touch ID. Once successfully authenticated, the access key will appear in the text field.
It's worth noting that the Settings interface has been significantly redesigned in new versions of macOS (Ventura and later). You can now view your password directly in System Preferences. Go to "System Preferences" -> "Wi-Fi," find your network in the list of known networks, and click the information icon or the three dots next to its name. There you'll find a button to copy the password, which will also require confirmation via Touch ID or your user passcode.
Restoring access on Android smartphones
On mobile devices running Android The password access situation changed dramatically with the release of version 10. In older versions of the system, viewing saved passwords required superuser (root) privileges, which was unsafe and difficult for the average user. However, modern versions of Android allow legal access to QR codes with login details.
The mechanism is simple: the system generates a QR code containing the network's SSID and password in encrypted form. This code is designed to quickly connect guests, but it can also be "read" visually. Go to Wi-Fi settings, select the network you're connected to, and look for the "Share" button or QR code icon.
Once the QR code appears on the screen, you have two options. The first is to take a photo of the code with another device and scan it with a standard QR scanner or camera, which often immediately displays the text password in the format P:S:password;;. The second option is to use the built-in Google Lens feature or take a screenshot if the system recognizes text in the image.
- 📱 Open "Settings" and go to the "Connections" or "Wi-Fi" section.
- 📱 Click the gear next to the active network name.
- 📱 Select "QR code" or "Share".
- 📱 Complete biometric verification or enter your unlock PIN.
- 📱 Take a screenshot or scan the code with another phone.
Some manufacturers, such as Xiaomi, Samsung or Realme, may hide the password with text directly beneath the QR code on the sharing menu screen. Carefully inspect the screen; you may not need additional scanning apps. If the text is hidden, using a third-party QR code scanner from the Play Market will solve the problem in seconds.
iOS Features: Limitations and Solutions
For device owners iPhone And iPad least fortunate in terms of direct access to text passwords in older OS versions. Security Policy Apple For a long time, it was impossible to view Wi-Fi keys directly on the device. However, with the release of iOS 16, this feature finally appeared, making life significantly easier for users.
If you're using iOS 16 or later, the process is the same as on macOS. Go to "Settings" -> "Wi-Fi." Tap the blue information icon (the "i" in a circle) to the right of the connected network. In the menu that opens, find the "Password" field. Tap the hidden dots, and the system will ask you to confirm the action using Face ID, Touch ID, or a passcode. The password will then become visible and can be copied.
For devices that don't support the iOS 16 update (such as older iPhone models), a direct method for viewing is impossible without jailbreaking, which is not recommended for security reasons. However, a workaround exists by syncing with a Mac. If your iPhone is synced with your Mac via iCloud Keychain, the password you previously entered on your phone will be saved in the keychain on your computer, where you can view it as described above.
⚠️ Attention: On devices running iOS versions earlier than 16, there's no built-in way to view the password in plain text. Any apps in the App Store that promise to do this are likely scams or simply display a list of known networks without keys, as iOS doesn't provide an API for third-party software to access this data.
This is an additional security measure that ensures that even with physical access to an unlocked phone, an unauthorized person cannot easily extract data without the owner's biometrics.
Finding a password through the router's web interface
If none of the connected devices can display the password (for example, you changed your phone and forgot the key, or reinstalled your computer), the last reliable option is to access the router's settings. This method always works if you know the password to the router's admin panel and have a connection to it, even without internet access.
To log in, you need to know the gateway IP address. This is usually 192.168.0.1 or 192.168.1.1Enter this address into the address bar of any browser. The system will ask for your username and password. If you haven't changed them, they are often listed on a sticker on the bottom of the router (the default is admin/admin).
After authorization, the interface will depend on the router model (TP-Link, Asus, Zyxel, MikroTik). You need to find the section related to wireless mode. It may be called "Wireless," "Wi-Fi," or "Wireless Network." Within this section, look for the "Security" or "WLAN Settings" subsection. This is where your key is stored, in the "WPA Pre-Shared Key" or "Wireless Network Password" field.
The table below shows sample settings paths for popular brands:
| Router brand | Menu section | Subsection | Field name |
|---|---|---|---|
| TP-Link | Wireless | Wireless Security | Wireless Password |
| Asus | Wireless network | General | Verification Method / WPA Key |
| D-Link | Wi-Fi | Security settings | PSK encryption key |
| Keenetic | My Networks and Wi-Fi | Home network | Password |
Changes to your router settings take effect immediately. If you're just looking at the password, don't change anything or click "Save" to avoid accidentally changing other settings, such as the channel or encryption type. If you decide to change the password to a more complex one, write it down in a safe place immediately after applying the changes.
☑️ Check before logging into the router
Prevention and secure storage of passwords
The problem of forgotten passwords arises from human forgetfulness and the difficulty of remembering secure character combinations. Modern approaches to cybersecurity dictate the use of complex keys that are virtually impossible to guess, but also difficult to remember. Therefore, using the right access management tools is critical.
Using password managers such as Bitwarden, 1Password or the built-in storage for Google/Apple accounts solves this problem once and for all. You store one master password, and all other data, including Wi-Fi keys, is stored in an encrypted cloud. This allows you to access your passwords from any device in the world.
Physical backup is also a good practice. A printed copy of your network settings, taped to the bottom of your router or stored in documents, is often more reliable than digital notes that can be accidentally deleted. Don't neglect good old-fashioned archiving of important information.
Changing your passwords regularly is a good habit, but it only makes sense when combined with proper password storage. If you change your password every six months but forget it every week, you're just creating unnecessary work for yourself. Set up automatic password syncing between your devices, and the question of "how to find your password" will become irrelevant.
Frequently Asked Questions (FAQ)
Is it possible to find out my neighbor's Wi-Fi password if I'm connected to his network?
Technically, if you're connected to the network and have administrator rights on your device (as described in the Windows or Android sections), you can see the saved key. However, using someone else's network without the owner's permission is illegal in many countries. These methods are intended solely for restoring access to your own networks.
What should I do if the netsh command says "Access denied"?
This means you're running the command prompt in normal mode, not as an administrator. Right-click the "Command Prompt" or "PowerShell" shortcut and select the appropriate option. Without elevated privileges, the system blocks access to sensitive security data.
Where can I find the password if I reset the router to factory settings?
After a reset, all user settings, including the network name and password, are restored to their factory defaults. Check the sticker on the router—it contains the default password (often labeled as a PIN or WPA Key). If the sticker is worn off, you'll have to connect via cable and set up the network again.
Is it true that you can't see the password on Android without rooting?
This is true for Android versions below 10. Starting with Android 10, the system allows you to generate a QR code with network data, which can be scanned or read. On older versions, it's impossible to extract the password from system files using standard tools without root access.
Can a virus steal saved Wi-Fi passwords?
Yes, malware that has gained administrator privileges can theoretically read saved profiles and keys, as they are stored in the system. This is why it's important to have an antivirus installed and not run suspicious programs that may request elevated privileges.