Have you forgotten your home Wi-Fi password, and it's hidden under a sticker on your router that's long since worn off? Or do you need to connect a new gadget, but the password isn't saved on your phone? This situation is familiar to many. Luckily, if your computer or laptop is... Windows 10/11 If you're already connected to this network, you can retrieve the saved password in a few minutes—without accessing the router or resetting the settings.
In this article you will find 5 proven methodsHow to view a Wi-Fi password on a computer: from standard system tools to advanced methods for experienced users. We'll explore the nuances of each option, warn you of potential risks, and offer tips on how to avoid security issues. And if you're administering a network in an office or public place, there's a link at the end of the article. FAQ with answers to frequently asked questions about managing Wi-Fi passwords.
Spoiler: the easiest way is through "Windows Settings", but it only works for the current network. If you want to see passwords for all saved networks (for example, guest or old ones), you'll have to use command line or special utilities. Don't worry—we'll explain every step in detail, even if you've never worked with CMD or PowerShell.
1. How to find out the password for your current Wi-Fi connection using Windows Settings
This method is suitable if your computer currently connected to the network whose password you want to find out. This method doesn't require administrator rights and takes less than a minute.
Open the menu Start and go to Settings → Network and Internet → Wi-FiIn the right block, find the line Managing Known Networks — all networks your PC has ever connected to are displayed here. Click on the name of the desired network (in our case, this is the current connection).
On the page that opens, scroll down to the section "Properties" and click on the link View network propertiesIn the new window, find the field Network password — by default it's hidden by dots. To see it, check the box next to Show entered charactersDone! Now you can copy the password or write it down.
- ✅ Pros: Fast, no need to enter commands, works on all versions of Windows 10/11.
- ❌ Cons: Shows the password only for the current network. To view other saved networks, use a different method.
2. View all saved Wi-Fi passwords using the Network and Sharing Center
If you need to see passwords from all networksFor all the computers the computer has ever connected to (e.g., home, work, and guest), use the classic Control Panel. This method is slightly more complicated than the previous one, but doesn't require any knowledge of commands.
Open Control Panel (can be found through the search in the menu) Start). Go to the section Network and Internet → Network and Sharing CenterIn the left menu, select Managing wireless networks (V Windows 11 This item may be called Changing adapter settings).
You will see a list of all saved networks. Right-click on the desired network and select PropertiesIn the new window, go to the tab "Safety"Here in the field Network security key, the password is hidden. To see it, check the box next to Show entered characters.
⚠️ Attention: IN Windows 11 The path to this menu may vary. If you don't find it Managing wireless networks, try an alternative method through command line (described below).
- 📌 Suitable for: view passwords for all saved networks.
- 🔒 Requires: administrator rights (if the network was added by another user).
- ⚠️ Limitation: In some Windows 10/11 builds, this section may be hidden.
What to do if the Security tab is missing?
This means the network was configured without a password (an open network) or its profile is corrupted. Try removing the network from the list and reconnecting.
3. How to extract a Wi-Fi password via the command line (CMD)
If the GUI does not show the password you need (or you prefer to work with the console), use command lineThis method is universal and works on all versions of Windows, including server editions.
Open Command line as administrator (find it through the search, right-click and select Run as administrator). Enter the following command to see a list of all saved networks:
netsh wlan show profiles
In the results, find the name of the network you need (for example, TP-Link_1234) and run the command to view its password:
netsh wlan show profile name="TP-Link_1234" key=clear
In the block Security Settings find the line Key content — this is the password. If the field is empty, it means the password isn't saved in the system (for example, the network is open or the connection was configured manually without saving).
| Team | Description |
|---|---|
netsh wlan show profiles |
Shows a list of all saved Wi-Fi networks. |
netsh wlan show profile name="NETWORK_NAME" key=clear |
Displays network details including password (in line Key content). |
netsh wlan export profile name="NETWORK_NAME" folder="C:\" |
Exports a network profile to a file .xml (the password will be in the tag) <keyMaterial>). |
⚠️ Attention: Teams netsh may not work on some corporate networks where Wi-Fi is managed via Group Policy or 802.1XIn this case, the password is stored on the domain controller, not on the local PC.
Run the command prompt as administrator|Make sure the network name is entered correctly (case is important!)|Check that the network has previously connected to this PC|If the password is not displayed, try exporting the profile to XML
-->
4. Export Wi-Fi passwords to a file (for backup)
If you want save all Wi-Fi passwords To export a file to a separate file (for example, to transfer to another computer or for backup), use the export command. This is useful if you frequently reinstall Windows or work with multiple devices.
Open CMD as administrator and run:
netsh wlan export profile key=clear folder="C:\WiFi_Passwords"
This command will create a folder WiFi_Passwords on disk C: and save files there .xml for each network. Each file will contain the following line:
<keyMaterial>YOUR_PASSWORD</keyMaterial>
Files can be opened with any text editor (for example, With a notepad). Please note: passwords in XML are stored in the open, therefore Do not share these files with others. and store them in a safe place.
- 💾 Why is this necessary?
- 🔄 Quickly transfer Wi-Fi settings to a new PC.
- 📱 Connect devices without manually entering a password (for example, via a QR code from a file).
- 🔒 Create a backup before reinstalling Windows.
- 🚨 Risks: files
.xmlcontain passwords in clear text - their theft can compromise your network.
5. Using PowerShell to View Wi-Fi Passwords
PowerShell — a more powerful tool than CMD, and also allows you to extract Wi-Fi passwords. This method is useful if you need to automate a process (for example, for a script) or obtain the data in a convenient format.Launch PowerShell as administrator and run the command:
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Key contents\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); [PSCustomObject]@{PROFILE_NAME=$name;PASSWORD=$pass}} | Format-Table -AutoSize
This command:
- Gets a list of all Wi-Fi profiles.
- Extracts the password for each profile.
- Outputs the result as a table with two columns: network name And password.
If you need to save the result to a file, add the following to the end of the command:
| Out-File -FilePath "C:\WiFi_Passwords.txt" -Encoding UTF8
⚠️ Attention: In some systems, script execution in PowerShell blocked by security policies. If the command doesn't work, first run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser (requires administrator rights).
Via Windows Settings|Via Network and Sharing Center|Via Command Prompt (CMD)|Via PowerShell|I don't know, I haven't tried it yet-->
6. Third-party programs for viewing Wi-Fi passwords
If standard methods do not work (for example, due to corporate policy restrictions), you can use specialized utilitiesThey are convenient for beginners, as they offer a graphical interface and additional features (such as generating QR codes for quick connection).
Here are the proven programs:
- 🔍 WirelessKeyView (from NirSoft) is a free utility that displays all saved Wi-Fi passwords. It doesn't require installation and works without administrator rights (though with limitations). Download from official website.
- 🛡️ WiFi Password Revealer - a simple program with the ability to export passwords to
.txtor.csv. Supports Windows 7–11. - 📱 Magical Jelly Bean WiFi Password Revealer - besides passwords, it shows SSID, encryption type and other network parameters.
How to use (using example) WirelessKeyView):
- Download the archive with the program and unzip it.
- Run the file
WirelessKeyView.exe(for full access to passwords, you need administrator rights). - In the main window you will see a table with all the networks and their passwords in the column «Key (Ascii)».
- To copy the password, right-click on the line and select
Copy Key.
⚠️ Attention: Download programs only from official developer websites! Password viewing utilities are often spoofed by hackers, who add viruses or spyware to them. Before running, check the file using VirusTotal.
Why do some programs show blank passwords?
This happens if:
- The network was connected without saving the password (for example, via WPS).
- The network profile is damaged or deleted.
- The password is stored in the domain policy (in corporate networks).
- You ran the program without administrator rights.
7. How to protect your network after viewing the password
Once you know your Wi-Fi password, don't forget about securityIf the password is simple (for example, 12345678 or qwerty), it's easy to hack. Here's what to do:
- 🔐 Change your password to a complex one:
- Minimum length - 12 characters.
- Use mixed case letters, numbers, and special characters (e.g.
K7#pL9!mQ2$x). - Do not use personal information (dates of birth, names, addresses).
- 🔄 Update your security protocol: In the router settings, select
WPA3-Personal(orWPA2/WPA3(for compatibility). Avoid legacy protocols.WEPAndWPA. - 📡 Hide SSID: In the router settings, disable network name broadcasting (option
Hide SSIDorHide network). This will not protect against targeted attacks, but it will reduce the number of accidental connections. - 🚫 Restrict access by MAC addresses: In the router panel, add only the MAC addresses of your devices to the white list (you can find them through
ipconfig /allV CMD).
To change the password on your router:
- Open your browser and enter the router's IP address (usually
192.168.0.1or192.168.1.1). - Log in (login and password are often used)
admin/admin, if you haven't changed them). - Go to the section
Wireless(orWi-Fi→Security). - In the field
PasswordorKeyEnter a new password and save the settings.
⚠️ Attention: After changing the password, all devices will be disconnected from the network. Please have the new password ready for quick connection.
FAQ: Frequently Asked Questions About Wi-Fi Passwords in Windows
Is it possible to find out the password for a Wi-Fi network that the computer has never connected to?
No. Windows only stores passwords for networks your PC has connected to at least once. If the network is new or the connection was configured manually without saving, you won't be able to retrieve the password. In this case, you'll be left with:
- Look at the password on the router sticker (if it hasn’t been changed).
- Request a password from the network administrator (at the office or in a public place).
- Reset the router to factory settings (all devices will be disabled!).
Why is there no Security tab in the Network and Sharing Center?
This can happen for several reasons:
- The network was configured via WPS (button on the router) without entering a password.
- The network profile is corrupted (try deleting the network and connecting again).
- You are using Windows 11 with an updated interface - try the method via CMD.
- The network is corporate (for example, in an office or university), and the password is stored on the authentication server.
Is it possible to find out the Wi-Fi password from a phone (Android/iOS)?
Yes, but the methods are different from Windows:
- Android (rooted): use apps like WiFi Password Viewer (requires root).
- Android (without root): on some firmware (for example, MIUI or EMUI) the password can be found in the network settings (section
Share password). - iPhone/iPad: iOS doesn't allow you to view passwords for saved networks. The only way is if you have a Mac connected to the same network (the password is stored in
Connected Keychain).
How to transfer Wi-Fi passwords to another computer?
There are two reliable ways:
- Via profile export: use the command
netsh wlan export profile(described in section 4), then import the files on the new PC with the commandnetsh wlan add profile filename="path_to_file.xml". - Via Windows backup: if you use tools like Macrium Reflect or a built-in utility
wbadmin, Wi-Fi passwords will be saved with the system.
⚠️ Don't just copy profile files—they may not work on a new PC due to differences in network adapter drivers.
What to do if none of the methods worked?
If you've tried all the methods and still can't extract the password, there are some drastic measures left:
- Reset the router: press and hold the button
Reseton the router for 10-15 seconds. After reset, use the password from the sticker (usually it's a combination likeadminor12345678). - Contact your provider: If your router was provided by your internet service provider, call support—they can reset your password remotely.
- Use a bootable USB flash drive: using a Linux-based Live CD (e.g. Kali Linux) It is possible to extract passwords from Windows configuration files, but this requires skill.