Show a saved Wi-Fi password on Windows
Reveal the stored password of a wireless network Windows has connected to, using netsh wlan show profile key=clear.
01Command
$ netsh wlan show profile name="HomeWiFi" key=clear02What it does
Windows stores the password of every network it connects to. The key=clear option tells netsh to display that stored key in plain text instead of hiding it. Look for the "Key Content" line in the output. This only works for networks this PC has previously joined.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- netshEvidence: Documents netsh WLAN commands including `netsh wlan show profile name=... key=clear` and `netsh wlan delete profile name=...`.
- Netsh commands - Windows CMDEvidence: Reference for netsh context commands such as wlan delete profile and winhttp proxy.
Last verified: 2026-09-18 · Category: Network
06Related solutions
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.
Enumerate every wireless network Windows remembers, inspect a profile's settings, and export profiles for backup or transfer to another PC.