Ever forgotten your Wi-Fi password and needed to connect another device? Don’t worry — your computer keeps a record of every network you’ve...
Ever forgotten your Wi-Fi password and needed to connect another device? Don’t worry — your computer keeps a record of every network you’ve joined. Here’s how you can view all your saved Wi-Fi passwords on Windows, macOS, and Linux safely.
💻 View Wi-Fi Password on Windows (GUI Method)
- Open Control Panel → Network and Internet → Network and Sharing Center.
- Click your Wi-Fi connection name next to Connections:.
- Select Wireless Properties → Security tab.
- Check the box labeled Show Characters.
This method shows the password for the network you’re currently connected to.
⚙️ View All Saved Wi-Fi Passwords (Command Prompt)
To see passwords for all saved networks on your PC:
Step 1 — List All Wi-Fi Profiles
netsh wlan show profiles
Step 2 — View Password for a Specific Network
netsh wlan show profile name="PROFILE_NAME" key=clear
Replace PROFILE_NAME with your Wi-Fi network name. Look for the line that says Key Content — that’s your password.
⚡ PowerShell Command to View All Wi-Fi Passwords at Once
Open PowerShell as Administrator and paste this script:
$profiles = (netsh wlan show profiles) -split "`n" | Where-Object { $_ -match 'All User Profile' } |
ForEach-Object { ($_ -replace '.*:\s*','').Trim() }
$results = foreach ($p in $profiles) {
$info = netsh wlan show profile name="$p" key=clear
$keyLine = $info | Where-Object { $_ -match 'Key Content' }
$pwd = if ($keyLine) { ($keyLine -replace '.*:\s*','').Trim() } else { '(none)' }
[PSCustomObject]@{ Profile = $p; Password = $pwd }
}
$results | Format-Table -AutoSize
This script lists every saved Wi-Fi profile and its password in a neat table.
🍎 macOS Method
To find your Wi-Fi password on Mac:
- Open Keychain Access (Applications → Utilities).
- Search for your Wi-Fi network name.
- Double-click it → enable Show password (enter your Mac password).
Or run this command in Terminal:
security find-generic-password -D "AirPort network password" -a "SSID_NAME" -gw
🐧 Linux Method
Use the following commands:
List Saved Networks
nmcli connection show
Show Password for a Network
nmcli -s -g 802-11-wireless-security.psk connection show "CONNECTION_NAME"
Or view directly from NetworkManager folder (root required):
sudo grep -R '^psk=' /etc/NetworkManager/system-connections/ -n
⚠️ Important Security Notes
- You must run these commands as Administrator (Windows) or root (Linux).
- Only retrieve Wi-Fi passwords for networks you own or have permission to access.
- Keep your passwords private — don’t share screenshots online.
🧠 Final Thoughts
Whether you’re reconnecting a new phone or helping a friend, these commands make it easy to recover saved Wi-Fi passwords from your computer. Just remember to handle the information responsibly.
💡 Tip: Save your Wi-Fi passwords securely using a password manager or your phone’s keychain to avoid losing them again.
No comments