Many people are familiar with the situation of needing to connect a new device to their home network but losing or forgetting the password. Often, they need to access saved access credentials to share them with guests or configure smart devices. Fortunately, modern operating systems and routers store this information in secure vaults that can be accessed legally.
There are several proven methods of extraction security keys Without having to completely reset your device. You can use the built-in operating system functions, the router interface, or specialized traffic analysis utilities. It's important to understand that the steps will vary for each device—whether it's an Android smartphone, iPhone, or Windows laptop.
In this guide, we'll cover all the current methods for obtaining authorization data in detail. We'll cover the built-in operating system tools that don't require third-party software, and we'll also cover the capabilities of the router's web interface. This will allow you to quickly restore access to local network and avoid unnecessary complications with reconfiguring equipment.
Viewing saved passwords on Windows
The Windows operating system stores profiles of every network your computer has ever connected to for decades. Even if you change your router or forget the data, they may remain in the registry. You don't need third-party programs to view them; you can simply use the command line or the network connections graphical interface.
The fastest way to access the currently active network is to use the Wi-Fi properties menu. Right-click the connection icon in the system tray and select "Open network and Internet settings." Then go to Network and Sharing Center, click on the name of your wireless network and select the "Wireless Network Properties" button.
In the window that opens, go to the "Security" tab. You'll see a field with masked characters. To copy the password, simply check the box next to it. "Show input characters"The system will require administrator rights, after which the hidden text will become visible.
⚠️ Attention: If you are not an administrator on this computer, the system will not allow you to view saved security keys. On corporate networks, this method is often blocked by security policies.
If you need to find out information about a network your computer has connected to in the past but isn't currently connected to, the command line can help. Open Terminal as an administrator and enter the command netsh wlan show profilesYou'll see a list of all saved profiles. To view the key for a specific profile, use the command:
netsh wlan show profile name="Network_Name" key=clear
In the output, find the line "Key Content." This is where the access code you're looking for will be displayed in clear text. This method works on all modern versions of Windows, including 10 and 11.
How to find out your password on Android and iOS
Mobile devices also store connection history, but access to this data is heavily restricted by Google and Apple security policies. On Android devices, the situation changed with the release of version 10. Users can now easily view and copy access data through system settings.
To do this, go to Settings → Connections → Wi-FiTap the gear icon next to the active network or select "Share" (QR code). On many smartphones (Samsung, Xiaomi, Pixel), a text password will be displayed under the QR code. If there is no text, take a screenshot of the QR code and scan it with any scanner app or Google Lens—the password will be decrypted.
On Apple devices the situation is more complicated due to the closed nature iOSHowever, starting with iOS 16, Apple added the long-awaited password viewing feature. Go to Settings → Wi-Fi. Tap the blue information icon (i) next to your active network. Tap the "Password" line several times until the system prompts you for Face ID or Touch ID. After authentication, the password will be displayed and can be copied.
- 📱 On Android, use the Share feature to generate a QR code with your access details.
- 🍏 On iPhone/iPad, the viewing function is only available in iOS 16 and later via the network menu.
- 🔒 For older versions of iOS (up to 15), there are no standard viewing methods without jailbreaking.
Mac owners can also access saved passwords through iCloud Keychain. Open Keychain using Spotlight, find your network name in the list, double-click it, and check "Show password." You'll be prompted to enter your macOS account password or Touch ID.
Login to the router's web interface
The most secure method, which works regardless of the type of device connected (phone, tablet, TV), is to access the router's settings. If you have physical access to the router or are already connected to its network (even without internet access), you can view or change the password in the web interface.
Open your browser and enter the gateway IP address in the address bar. Most often, this is 192.168.0.1 or 192.168.1.1The exact address is often indicated on a sticker on the bottom of the device. You will need to enter your username and password to access the control panel. By default, this is often admin/admin, but if you changed them earlier, you need to use the new data.
Interfaces vary by manufacturer, but the logic is the same. Look for sections labeled "Wireless," "Wireless Mode," or "WLAN." Inside, find the "Security" subsection. The "Wireless Password" field contains the character combination you're looking for.
| Manufacturer | Typical address | Menu section | Path to password |
|---|---|---|---|
| TP-Link | 192.168.0.1 | Wireless | Wireless Security → Password |
| ASUS | 192.168.1.1 | Wireless network | General → WPA Pre-Shared Key |
| D-Link | 192.168.0.1 | Wi-Fi | Security Settings → Encryption Key |
| Keenetic | my.keenetic.net | Home network | Wireless Network → Access Point |
It's important to note that firmware interfaces are subject to update. If you can't find the item you need, consult the official documentation for your router model, as the menu structure may change with the release of new software versions.
What should I do if I've changed my router password and forgotten it?
If the default admin/admin password doesn't work, and you've changed the password and forgotten it, a hard reset will help. There's a small hole on the back panel. Press it with a paperclip for 10-15 seconds while the router is turned on. The device will reset to factory settings, and the password will be the one on the sticker.
Use of specialized snails
For advanced users, there are programs that allow you to manage network connections and recover forgotten passwords. One of the most well-known tools is WirelessKeyView from NirSoft. This utility scans the Windows registry and displays a list of all saved networks and their keys.
The program requires no installation and works immediately after launch. It displays the SSID (network name) and key in both HEX format and plain text. This is convenient if standard Windows tools are unavailable or the interface is damaged. However, such programs should only be downloaded from the developers' official websites to avoid viruses.
There are also mobile QR code scanner apps, which can be useful if you have access to a friend's phone who is already connected to the network. Your friend generates a QR code through the Android settings, you scan it with your device, and some scanners display the password in text format along with a connection link.
- 💻 WirelessKeyView is a classic Windows utility that restores keys from the registry.
- 📡 WiFi Password Viewer — an analogue for mobile devices (requires root rights on older Android devices).
- 🛡️An antivirus scan is required when downloading any network utilities from unverified sources.
⚠️ Attention: Using programs to crack or guess passwords for other people's networks (brute force) is illegal. Use these tools only to restore access to your own networks or networks you are authorized to administer.
Recovery via command line and Linux
Linux and macOS users have their own tools for managing network configurations. In Linux distributions that use NetworkManager (e.g., Ubuntu, Mint), saved passwords are stored encrypted in configuration files. Accessing them requires superuser (root) privileges.
Files are usually located in a directory /etc/NetworkManager/system-connections/To view the contents of the network settings file, use the command sudo cat or nmcliFor example, the team nmcli -s -g 802-11-wireless-security.psk connection show "Network_Name" can display the password in clear text if you have the appropriate rights.
On macOS, as mentioned earlier, the primary storage location is Keychain. However, you can speed up the process via Terminal. The command security find-generic-password -wa "Network_Name" will request permission to access the key and provide the password. This is faster than manually searching through the graphical interface.
☑️ Check before resetting your router
Frequently Asked Questions (FAQ)
Is it possible to find out the Wi-Fi password if I'm not connected to the network?
No, it's impossible to directly find out the password without connecting to the router or without a saved profile on the device. The only option is physical access to the router (sticker on the bottom) or logging into its web interface via a LAN cable.
Is it safe to store passwords in your browser?
Browsers (Chrome, Edge, Opera) often offer to save your Wi-Fi password to your Google or Microsoft account. This is convenient for syncing between devices, but if your account is hacked, the attacker will have access to all saved networks. Two-factor authentication is recommended.
What is WPS and can I use it to find out the password?
WPS (Wi-Fi Protected Setup) is a standard for simplified connection. Theoretically, vulnerabilities in WPS allow someone to brute-force the PIN and discover the password. However, on modern routers, this feature is often disabled by default or protected from brute-force attacks. Using WPS hacking methods on other people's networks is illegal.
I changed the password on my router, but my phone won't connect. What should I do?
The device is trying to use an old saved password. Go to Wi-Fi settings on your phone, select your network, and tap "Forget network." Then reconnect using the new password.
To summarize, recovering a Wi-Fi password is a task that can be accomplished using the built-in tools of any modern operating system. Whether it's Windows, macOS, Android, or iOS, these systems provide security management tools accessible to the average user. The key is to have physical access to the device where the network was previously saved or to know the router login credentials.
Don't forget the basic rules cyber hygieneUse complex passwords, regularly update your router firmware, and avoid using WPS unless absolutely necessary. This will protect your home network from unauthorized access and ensure stable operation of all connected devices.