wifipw
v1.0.0
Published
Extract saved WiFi passwords from the command line (Windows, macOS, Linux)
Downloads
11
Maintainers
Readme
wifipw
Extract saved WiFi passwords from the command line — works on Windows, macOS, and Linux.
Install
npm install -g wifipwUsage
wifipw Show current WiFi network + password
wifipw current Show current WiFi network + password
wifipw list List all saved WiFi profiles
wifipw password [ssid] Get password for a specific SSID
wifipw --help Show help
wifipw --version Show versionPlatform Notes
Windows
- Run as Administrator —
key=clearrequires elevation. - Enterprise/802.1X network passwords cannot be extracted.
macOS
- A keychain access dialog will pop up — approve it to reveal the password.
- Uses
security find-generic-passwordandnetworksetup.
Linux
- NetworkManager (
nmcli) is required. - Some commands need
sudoto reveal secrets. - Passwords stored in GNOME Keyring / KDE Wallet (agent-owned secrets) are not extractable via this tool.
License
MIT
