It's quite common to need to connect a new device to a wireless network but lose or forget the password. Fortunately, modern operating systems and routers store this information in memory to simplify reconnection. If your smartphone, tablet, or computer is already connected to the network, you can extract the security key without complex hacking using built-in tools or specialized software.
Restoring access to WPA2 security key Using WPA3 requires care, as the methods vary depending on the client device's operating system. Below, we'll detail proven methods for various platforms, including Windows desktop computers, Android and iOS mobile devices, and router web interfaces.
It's worth noting that some actions may require you to access an administrator account on your computer or physically access the router itself. This is a security measure designed to prevent unauthorized access to your home network settings.
Viewing a password in the Windows operating system
The Windows operating system stores all known networks in a special profile. If your computer has ever connected to a router, the encryption key is likely stored in the registry or network management system. The easiest way to view it is through the graphical interface, but in some cases, you'll need to use the command line.
First, open the Network and Network Control Panel. The path may vary slightly depending on your version of Windows, but it's typically located at: Control Panel → Network and Internet → Network and Sharing CenterHere you need to find an active wireless connection and click on its name.
In the status window that opens, click the button Wireless network properties. Switch to the tab SecurityYou'll see a "Network Security Key" field with symbols hidden by dots or asterisks. Check the box next to it. "Show input characters", and the system will show the password in clear text.
- 🔍 Make sure your account has administrator rights, otherwise the system will not allow you to change display settings.
- 💻 This method works reliably on Windows 7, 8, 10, and 11 without installing additional software.
- ⚙️ If the Security tab is unavailable, try running Command Prompt as administrator.
An alternative method for advanced users is to use the command line. Open a console (cmd) with administrator privileges and enter the following command to display all saved profiles: netsh wlan show profilesFind the name of the desired network in the list, and then request a detailed report by adding a keyword key=clear.
⚠️ Warning: When working with the command line, pay attention to syntax. A typo in the profile name may result in a message about the missing element, but will not cause any harm to the system.
Using the command line to extract the key
If the GUI is unresponsive or you prefer text commands, the method netsh is the most secure. It allows you not only to view the password but also to export profiles or delete old entries for networks you no longer use.
To obtain the password for a specific network, use the following command. Replace "Network_Name" with the actual name of your Wi-Fi network (SSID). The command must be entered exactly, including spaces and quotation marks if the network name contains spaces:
netsh wlan show profile name="Network_Name" key=clear
In the command output, find the "Security Settings" section. The line Key Contents will contain the password you're looking for. This method is especially useful when you need to quickly copy data or if the Windows interface is unstable.
On other platforms, the command syntax may differ, or such capabilities may be limited by the security policies of the mobile OS.
How to find out the password on Android devices
Android smartphone owners are less fortunate, as Google strictly restricts app and user access to system files where Wi-Fi passwords are stored. However, starting with Android 10, a built-in sharing mechanism via QR code allows you to view the password.
Go to Settings → Wi-FiTap the name of the network you're connected to or the gear icon next to it. If you're using a modern version of Android, you'll see a button Share or a QR code icon. Viewing the password may require confirmation via fingerprint, Face ID, or screen unlock PIN.
After confirmation, a QR code for connecting another device will appear on the screen. This code often (but not always, depending on the manufacturer's interface, such as Samsung, Xiaomi, or Pixel) displays a text password underneath it. If the text is hidden, you can take a screenshot and scan the QR code using any third-party scanner, which will display the connection string in this format: WIFI:S:MyNetwork;T:WPA;P:MyPassword;;Part after P: and there is your password.
- 📱 On Android 9 and below, viewing the password is not possible without root access.
- 🔐 To access the functions, your smartphone screen must be unlocked.
- 📸 You can send a screenshot of the QR code to yourself in a messenger and open it there for scanning.
For devices with root rights, there are file managers that allow you to look into the system folder /data/misc/wifi. File wpa_supplicant.conf contains a list of all networks and passwords in plaintext. However, rooting your device is a complex procedure that may void your warranty.
⚠️ Warning: Rooting your device and modifying system files may result in unstable operation or complete data loss. Only do this if you fully understand the risks.
Some manufacturers, such as Xiaomi or HuaweiSome devices may hide the QR code function deeper in the menu or use their own Wi-Fi management utilities. In such cases, it's worth looking for the "Details" or "Advanced" section in the network properties.
iOS Features: Can You See Your iPhone's Password?
For a long time, iOS didn't allow users to view saved Wi-Fi passwords directly in Settings. Apple's security policy was extremely strict. This only changed with the release of iOS 16.
If your iPhone or iPad is updated to iOS 16 or later, the process is simple. Open Settings → Wi-FiFind the network whose password you need to know and click on the blue information icon (i) to the right of the name. In the menu that opens, find the "Password" field. Tap the hidden dots, and the system will display your password using Face ID or Touch ID for authorization. You can copy it or send it to another Apple device via AirDrop.
There's no built-in method for devices running older versions of iOS (15 and below). The only options are to use a keychain connection with a Mac computer if the keys are synced via iCloud Keychain, or to view the password directly on the router.
| iOS version | Viewing option | Method | Requirements |
|---|---|---|---|
| iOS 16+ | Eat | Wi-Fi settings | Face ID / Touch ID |
| iOS 15 and below | No | Via a router or Mac | Access to the admin panel |
| iPadOS 16+ | Eat | Wi-Fi settings | Device password |
It's important to note that the rules on iPad are the same as on iPhone. If you don't have a device with iOS 16+, you'll have to find workarounds, such as accessing your router settings, as discussed below.
Why did Apple hide passwords for so long?
Apple's security policy is based on the principle of risk minimization. If a phone falls into the wrong hands, an attacker won't be able to quickly steal passwords for all networks, even if they unlock the screen. This protects user data on both corporate and public networks.
Login to the router's web interface
The most universal method, which works for any connected device (TV, smart speaker, old Nokia), is to log in to the router's control panel. The Wi-Fi password is always specified in the wireless network settings.
To do this, you need to find out the gateway's IP address. On Windows, this is done with the command ipconfig In the console, find the line "Default gateway" (usually 192.168.0.1 or 192.168.1.1). Entering this address in your browser will take you to the router's authorization page.
The login and password for entering the admin panel are often written on a sticker on the bottom of the router (standard admin/adminIf you've changed them before and forgot, you'll have to reset your router to factory settings, which will require you to reconfigure your internet connection.
After logging in, find the section Wireless or Wi-Fi, then Wireless SecurityIn the field WPA Pre-Shared Key or "Password" will display the current key. You can also change it to a new, more complex one here.
- 🌐 The entrance address is often written on a sticker under the router body.
- 🔑 Standard logins are often admin/admin or admin/password.
- ⚠️ Resetting your router will delete all your provider settings, so be careful.
⚠️ Note: Router interfaces from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) may vary. Look for sections labeled "Wireless," "WLAN," or "Security."
☑️ Check before logging into the router
Third-party programs and utilities
There are many Wi-Fi connection management programs that can display saved passwords. However, using such software requires extreme caution. Many "free keys" contain malicious code.
Proven utilities such as WirelessKeyView NirSoft's software scans the Windows registry and displays a list of all saved networks and their keys in a convenient format. The program requires no installation and is portable.
Using such tools is justified when standard Windows tools fail or are damaged. However, they should only be downloaded from the developers' official websites.
On mobile platforms (Android/iOS), installing third-party apps for "hacking" or viewing passwords is often useless due to security restrictions. Such apps often simply display ads or require root access, as discussed above.
Safety measures and prevention
Once you've regained access, it's recommended to consider your network security. If your password was easy to guess or you shared it with many guests, it's best to change it.
A complex password should contain at least 12 characters and include uppercase and lowercase letters, numbers, and special characters. Avoid using birthdays, phone numbers, or simple sequences like 12345678.
It's also worth checking which encryption protocol is being used. Make sure it's selected in your router. WPA2-PSK (AES) or modern WPA3The WEP and WPA (TKIP) protocols are considered obsolete and are easily cracked.
Update your router firmware regularly. Manufacturers release updates that patch vulnerabilities that could allow attackers to access your network and steal data.
What should I do if my router doesn't accept the new password?
Make sure you're entering case-sensitive characters. Check if CapsLock is enabled. If the problem persists, try changing the encryption type in your router settings from Mixed to pure WPA2-PSK, as some older devices don't work well with mixed modes.
Is it possible to find out someone else's Wi-Fi password?
No, it is impossible to legally find out the password for a network to which you are not connected and do not have access rights without using brute-force methods, which is illegal and violates computer security laws.
Where is the Wi-Fi password file stored in Windows?
Passwords are stored in the system registry and protected configuration files in the folder C:\ProgramData\Microsoft\Wlansvc\Profiles\InterfacesDirect reading of these files without special utilities is difficult due to encryption.
Will my router reset my internet settings if I change my Wi-Fi password?
No, changing the wireless network password (SSID password) in the Wireless Security section does not affect your ISP connection settings (PPPoE, L2TP, IPoE). The internet will continue to work, but all devices will need to be reconnected with the new password.