Show saved Wi-Fi passwords on your device
In this article
Yes, you can show saved Wi-Fi passwords on most devices, but the method depends on your operating system and device type. Access requires physical control of the device and administrative or user-level permissions.
Background: How Devices Store Wi-Fi Passwords
When you connect to a Wi-Fi network, your device stores the network name (SSID) and password (pre-shared key) in an encrypted format. This allows automatic reconnection without re-entering credentials. The storage location and encryption method vary by platform.
- Windows: Uses the Credential Manager and stores profiles in the WLAN AutoConfig service database.
- macOS: Stores network details in the Keychain Access system, which encrypts passwords using the user’s login keychain.
- Android: Saves Wi-Fi data in a system database, typically protected by the device’s user lock (PIN, password, or biometric).
- iOS: Does not allow users to view saved Wi-Fi passwords directly, even with device access, due to strict sandboxing and encryption policies.
These systems are designed to balance convenience and security: allowing fast reconnection while preventing unauthorized access.
How It Works: Accessing Stored Network Credentials
Each major operating system provides built-in tools or commands to retrieve saved Wi-Fi passwords, assuming you have access to the device and appropriate permissions.
On Windows
- Open Command Prompt as administrator.
- Type
netsh wlan show profilesto list saved networks. - For a specific network, enter:
netsh wlan show profile name="NETWORK_NAME" key=clear. - Look under Security settings for Key Content, which displays the password.
On macOS
- Open Keychain Access (found in Applications > Utilities).
- In the search bar, type Wi-Fi or the network name.
- Double-click the relevant network entry.
- Check Show password, then enter your administrator password when prompted.
On Android (with root access)
Standard Android does not allow password viewing through settings. However, rooted devices can access the file /data/misc/wifi/wpa_supplicant.conf, which contains plaintext passwords. Apps like Wi-Fi Password Viewer (for rooted devices) can display them.
On iOS
iOS does not provide any native way to view saved Wi-Fi passwords. Even with device access, the system restricts this information. A workaround exists if you use iCloud Keychain and a Mac: the password can be viewed on the Mac via Keychain Access after syncing.
Security and Permissions: What You Need
Accessing saved Wi-Fi passwords is not possible without proper authorization:
- Administrator rights on Windows or macOS are required to view passwords in clear text.
- User authentication (login password, biometrics) is needed to unlock keychain or credential stores.
- Root or jailbreak is required on Android or iOS to bypass system restrictions—this voids warranties and increases security risks.
These safeguards exist to prevent unauthorized access, such as someone stealing your laptop and extracting all nearby network passwords.
Common Problems and Limitations
Users often encounter issues when trying to retrieve Wi-Fi passwords:
- Missing "Key Content" field: If
key=cleardoesn’t show the password, it may be due to insufficient privileges. Run Command Prompt as administrator. - Keychain locked: On macOS, if the keychain is locked or the password doesn’t match, the "Show password" option remains grayed out.
- Android restrictions: Most modern Android versions (10+) block access to system files even with developer options enabled. Rooting is the only reliable method, but it’s not recommended for average users.
- iOS limitations: Apple intentionally prevents password viewing for privacy. Even third-party tools cannot bypass this without jailbreaking.
Another issue is misidentifying networks. Public hotspots or temporary networks may be stored but are not useful for long-term access.
Alternatives to Viewing Saved Passwords
If you can’t retrieve a saved password, consider these alternatives:
- Check the router: Many routers display the Wi-Fi password on a sticker on the back or bottom. Log in to the router’s admin page (usually
192.168.1.1or192.168.0.1) to view or reset the password. - Use WPS (Wi-Fi Protected Setup): If the router has a WPS button, press it and connect devices without entering a password.
- Reset the network: On any device, forget the Wi-Fi network and reconnect by entering the password manually.
- Share via QR code (Android 10+): On an Android device connected to Wi-Fi, go to Settings > Network & Internet > Internet, tap the gear icon next to the network, and select "Share" to generate a QR code. Scanning it reveals the password (requires NFC or camera access).
Note: Sharing passwords via QR code requires the receiving device to support it and may prompt for confirmation on the host device.
Frequently Asked Questions
Can I see saved Wi-Fi passwords without admin rights?
No. On Windows and macOS, administrative or user-level authentication is required. Without it, the system blocks access to encrypted credentials.
Why can’t I see the Wi-Fi password on my iPhone?
iOS does not allow viewing saved Wi-Fi passwords due to Apple’s privacy and security policies. The only way to access it is through a synced Mac using Keychain Access.
Is it legal to view saved Wi-Fi passwords on my own device?
Yes, as long as the device is yours and you have authorized access. Viewing passwords on devices you don’t own or without permission may violate privacy laws or terms of service.
Do routers store Wi-Fi passwords?
Yes, routers store the current Wi-Fi password in their configuration. You can view or change it by logging into the router’s admin interface using the default IP address and login credentials (often found on the router label).
Can I recover a deleted Wi-Fi password?
Once a network is forgotten, the password is removed from the device. If it was never recorded elsewhere, recovery is not possible unless it’s stored on another synced device or the router.
Does viewing a saved password compromise security?
Only if the device is accessed by unauthorized users. Keeping your device locked with a strong password or biometric authentication prevents others from retrieving saved credentials.