Forgot your home Wi-Fi password, and the sticker on your router has worn off or was never there? This situation is familiar to many: you connected to the network years ago, and now you need to enter the security key on a new device. Luckily, if your computer is already connected to the network, the password can be easily retrieved from the system settings—without resetting the router or calling your ISP.
In this article we will look at all working methodsHow to find out the Wi-Fi password on a computer Windows 10/11 or macOS — from standard system tools to advanced utilities. You'll learn where saved network keys are stored, how to export them to a file, and what to do if your computer isn't connected to the desired network. And also— How to protect yourself from password theft using these same methods, if strangers have access to your PC.
Important: all methods only work for networks to which the computer is connected. I've already connected beforeIf you are trying to hack someone else's Wi-Fi, it is illegal and technically difficult (modern protocols WPA3 reliably protected). We consider only legal recovery scenarios. own password.
1. How to view your Wi-Fi password using Windows Settings (the easiest way)
If your PC is connected to the network right now, the fastest way is to use the built-in menu WindowsThis method works on Windows 10 And Windows 11 without additional programs.
Instructions:
- 🖱️ Click on the icon Wi-Fi in the lower right corner of the taskbar (next to the clock).
- 🔗 Select your current network and click
Network properties(V Windows 11) orNetwork parameters(V Windows 10). - 📄 Scroll down to the section
Network informationand pressView network properties. - 🔑 In the window that opens, find the line
Network security key— this is the password. To see it, check the box.Show entered characters.
If the point View network properties No, then it's your version. Windows uses a different path. Alternative option:
- Open
Settings → Network and Internet → Wi-Fi. - Click
Managing known networks. - Select the desired network and click
Properties. - Scroll to
Security parameters- there will be a hidden password.
⚠️ Attention: In Windows 11 versions 22H2 and the new menu may look different. If you can't find the items you need, use command line method - it is universal.
2. How to find out your Wi-Fi password using the command line (CMD)
This method works even if the computer not connected to the network right now, but I connected to it before. We'll use the utility netsh, built into Windows.
Step-by-step instructions:
- Open Command line as administrator:
- 🔍 Click
Win + S, entercmd. - 🖱️ Right click on
Command lineand selectRun as administrator.
- 🔍 Click
netsh wlan show profiles
Find the name of the desired network in the list (Profile name).
NAZVANIE_SETI in her real name):
netsh wlan show profile name="NAZVANIE_SETI" key=clear
Security parameters - line Key content contains a password.Example command output (password highlighted):
Profile name: MyWiFi_5G
...
Security parameters
Authentication type: WPA2-Personal
Encryption type: CCMP
Key content : 12345678AbC
⚠️ Note: If a blank line is displayed instead of a password, the network is using WPA3 or the password is not saved in the system (for example, when connecting via WPS).
Run CMD as administrator
Make sure the network name is entered correctly.
Check the case of the letters in the network name (MyWiFi ≠ mywifi)
Copy the password to a safe place-->
3. Export all Wi-Fi passwords to a file (for backup)
If you want to save all passwords From the networks you've ever connected to, you can export them to a text file. This is useful before reinstalling Windows or resetting the router.
Instructions:
- Open Command prompt (administrator) as in the previous method.
- Enter the command to export all profiles:
netsh wlan export profile key=clear folder="C:\WiFi_Passwords\"This will create a folder
WiFi_Passwordson diskC:with files.xmlfor each network. - Open any
.xml-file in Notepad and find the line:<keyMaterial>your_password</keyMaterial> - 📁 Passwords are saved everyone networks, even those to which you haven’t connected for a long time.
- 🔄 Files can be transferred to another PC and imported back via
netsh wlan add profile filename="path_to_file.xml". - 🔒 Passwords are stored in clear text - delete the file after use, if there are other users on the PC.
Advantages of the method:
What to do if the folder is not created?
If after the command the folder C:\WiFi_Passwords\ didn't appear, check:
1. Does your account have sufficient rights (administrator rights are required).
2. Does the disk exist? C: (if not, please specify another path, for example D:\).
3. Are there any errors in the command syntax (spaces after folder= are mandatory).
4. Is the command blocked by an antivirus (temporarily disable protection).
4. How to find the Wi-Fi password on a Mac (macOS)
On computers Apple The process is a little different, but no less simple. macOS All saved passwords are stored in a bunch of keys (Keychain Access).
Instructions for macOS Ventura, Monterey And Big Sur:
- Open Spotlight (
Cmd + Space) and enterBunch of keys(or Keychain Access (in the English version). - In the left menu, select
System(orSystem). - In the search bar, enter the name of your Wi-Fi network.
- Double-click on the found entry and check the box.
Show password. - Enter your account password Mac (the one you use to log in).
- Password from Wi-Fi will be displayed in the field
Show password.
If the password is not displayed:
- 🔄 Make sure you are connected to the correct network (or have connected previously).
- 🔍 Check the filter in Keychain — must be selected
All elements. - 🛠️ If the entry is missing, the network could be connected via Guest access (password is not saved).
For macOS Catalina and older, the interface may differ slightly, but the logic is the same. If you use Touch ID, the system may request a fingerprint instead of a password.
5. Third-party programs for viewing Wi-Fi passwords
If standard methods do not work (for example, the network was connected via WPS or is used WPA3), you can use specialized utilities. They are convenient for viewing all saved passwords in a single window.
Top 3 proven programs:
| Program | OS support | Peculiarities | Link (official) |
|---|---|---|---|
| WirelessKeyView (NirSoft) | Windows 7–11 | Shows all passwords in one window, export to .txt/.html, does not require installation |
nirsoft.net |
| WiFi Password Revealer | Windows 10/11 | Simple interface, copying password to clipboard, Russian language | magicaljellybean.com |
| Mac Wi-Fi Password Finder | macOS 10.12+ | Integration with With a bunch of keys, search by network name | App Store |
How to use WirelessKeyView (for example Windows):
- Download the program from the official website (check
.zip- archive for viruses). - Unzip and run
WirelessKeyView.exe(no administrator needed). - Find your network in the table - the password will be in the column
Key (Ascii). - To copy all passwords, click
File → Save All Items.
⚠️ Attention: Download programs only from official websitesMany "Wi-Fi hackers" on the internet contain viruses or spyware. WirelessKeyView from NirSoft — a proven tool, but some antiviruses may block it as "potentially dangerous" (false positive).
6. What should I do if my computer is not connected to the network?
If your PC never connected It's impossible to extract the password from the desired Wi-Fi network. In this case, there are alternative options:
- 📱 View on phone/tablet:
- On Android:
Settings → Wi-Fi → Network name → Share(lock screen PIN required). - On iPhone:
Settings → Wi-Fi → (i) next to the network(the password will be hidden by asterisks, but it can be copied).
- On Android:
- 🖧 Check the router:
- Turn the router over - the password may be on a sticker (refers to
Wi-Fi Password,Key,PIN). - Go to the router's web interface (
192.168.0.1or192.168.1.1) and look in the sectionWireless → Security.
- Turn the router over - the password may be on a sticker (refers to
- 📞 Contact your provider:
- If the router was issued by the provider (for example, Rostelecom, Beeline), the password can be standardized (for example,
12345678or a combination of the contract number).
- If the router was issued by the provider (for example, Rostelecom, Beeline), the password can be standardized (for example,
If nothing helps, there remains reset the router to factory settings (button Reset on the back panel). After this, the network will be named as on the sticker (for example, TP-Link_1234), and the password is standard (specified there). But all personal router settings (including port forwarding and parental controls) will be reset..
7. How to protect your Wi-Fi from password theft?
Now that you know how to easily extract a password from a computer, it's worth considering security. If other people (coworkers, guests, children) have access to your PC, they could use the same methods.
Methods of protection:
- 🔐 Use
WPA3instead ofWPA2:- Go to your router settings and select
WPA3-Personal(if supported). This protocol encrypts the password even in system logs.
- Go to your router settings and select
- 🛡️ Set up a guest network:
- Create a separate network for guests with limited access to local devices (optional)
Guest Networkin the router).
- Create a separate network for guests with limited access to local devices (optional)
- 🔄 Change your password regularly:
- Update your security key at least once every 3-6 months (especially if it is used by others).
- 👤 Restrict access to your PC:
- Create a separate account with permissions
Guestfor temporary users. - Password login Windows/macOS and turn off auto-login.
- Create a separate account with permissions
Extra tip: If you often share Wi-Fi with friends, use QR code to connect. Many routers (for example, ASUS, Keenetic) generate it in the web interface. This way, guests don't need to know the password—they just scan the code with their phone's camera.
FAQ: Frequently Asked Questions About Wi-Fi Passwords
Is it possible to find out the password for a Wi-Fi connection that another computer on the network has connected to?
No. Passwords are stored locally on each device. If you are not the administrator of that PC (or don't know its login password), it is impossible to retrieve the security key. The exception is if the computer is connected to domain network with centralized management (for example, in an office), but this requires domain administrator rights.
Why is there nothing in the command line instead of a password?
This happens in three cases:
- The network uses
WPA3- This protocol does not save the password in a readable form. - The connection was through WPS (button on the router) - the password is not transmitted to the device.
- The network profile is corrupted or deleted from the system.
Please try connecting to the network again and repeat your request.
How to find out the Wi-Fi password on Linux (Ubuntu, Mint)?
In distributions based on Linux passwords are stored in a file /etc/NetworkManager/system-connections/NETWORK_NAME.nmconnectionOpen it with permissions. sudo and find the line psk=. Command example:
sudo cat /etc/NetworkManager/system-connections/MyWiFi.nmconnection | grep psk=
If you use Wicd, passwords are stored in /etc/wicd/wireless-settings.conf.
Is it possible to recover the password if the router has been reset?
If the router is reset to factory settings, the old password irretrievably lostThe new password will be indicated on the device sticker (usually it is a combination of 8-12 characters, for example 12345678 or admin1234). If the sticker is missing, what remains is:
- Call your provider (if the router is theirs).
- Connect to the router via cable and set a new password in the web interface.
Is it true that Wi-Fi hacking software works?
Most programs like Aircrack-ng or Wifi Hacker useless against modern routers with WPA2/WPA3They can brute force passwords only if:
- The network is using an outdated one
WEP(extremely rare). - The password is weak (for example,
12345678orqwerty). - Do you have physical access to the router (for example, to attack WPS).
In 99% of cases, this is a waste of time. It's better to use the legal methods in this article.