Where Android Stores WiFi Passwords
Android keeps WiFi passwords in a find system file that you can view if you have access to the phone's settings. The exact steps depend on whether your phone is rooted (modified to allow deeper system access) or not. Most people can retrieve a password they've already connected to without rooting, though the process is not as straightforward as on other devices.
The password is encrypted in Android's system files, which is why you cannot straightforward open a settings menu and see a list of all your saved passwords in plain text. Instead, you either view it through your phone's settings after reconnecting, export it from a file, or use a third-party app designed for this purpose.
Key Takeaways
- Android stores WiFi passwords in encrypted files, so you cannot view them all in one place like you can on a computer.
- If you remember which network the password belongs to, you can view it by going to Settings, then WiFi, then selecting the network and tapping "Share" or "Show Password."
- On phones running Android 10 or later, you can generate a QR code of the network instead of viewing the password itself.
- If you have rooted your phone, you can access the raw WiFi configuration file at /data/misc/wifi/wpa_supplicant.conf, though this requires a file manager app with root permissions.
- Third-party apps can retrieve saved passwords, but they require either root access or you to have connected to the network recently on that specific phone.
Viewing a Password for a Network You're Currently Connected To
The simplest way to see a WiFi password is to look it up on the phone that saved it, as long as you're still connected to that network. Open Settings, then tap WiFi or Wireless & Networks (the exact name varies by manufacturer). Find the network name in the list and tap it.
On most Android phones, you'll see a Share button or a three-dot menu. Tap Share and the phone will display a QR code. Below the QR code, you should see the password in plain text. On some phones, you may need to tap Show Password instead. If you see a lock icon next to the password field, tap it to reveal the text.
This method works on Android 5 and newer. If your phone does not show the password even after tapping Share, your device manufacturer may have disabled this feature, or you may not have permission to view it (for example, if someone else set up the network on a shared device).
Using a QR Code Instead of Typing the Password
Android 10 and later phones can generate a QR code for any saved network. This is often faster than typing a long password, especially if you're trying to connect another device. Open Settings, go to WiFi, select the network, and tap Share. A QR code will appear on your screen.
On another phone or device with a camera, open the camera app and point it at the QR code. A notification should appear with a link to join the network. Tap it, and the device will connect without you typing anything. This works on most modern phones and tablets, and it's more reliable than manually entering a long password.
Retrieving a Password from a Network You're Not Currently Connected To
If you've disconnected from the network or your phone is out of range, you cannot view the password through the standard Settings menu. Your options are to use a third-party app, access the WiFi configuration file directly (if your phone is rooted), or reconnect to the network first.
To reconnect, go to Settings > WiFi, find the network in the list of available networks, tap it, and enter the password. Once you're connected, follow the steps in the "Viewing a Password for a Network You're Currently Connected To" section above. This is the most reliable method for non-rooted phones.
Accessing WiFi Files on a Rooted Phone
If your phone is rooted, you can view the raw WiFi configuration file that contains all saved passwords. You'll need a file manager app with root permissions, such as ES File Explorer or Solid Explorer. Open the file manager, tap the menu, and enable Root Explorer or Show Hidden Files (the option name varies by app).
Navigate to /data/misc/wifi/ and look for a file named wpa_supplicant.conf. Open it with a text editor. The file contains all your saved networks and their passwords in plain text. Search for the network name (SSID) you're looking for, and the password will be listed next to it as the psk value. Copy the password between the quotation marks.
This method bypasses Android's normal restrictions, which is why it only works on rooted phones. Rooting also voids your warranty on most devices and can introduce security risks, so use this approach only if you're comfortable managing those trade-offs.
Using Third-Party Apps to Retrieve Passwords
Apps like WiFi Password Show, WiFi Password Recovery, and Wireless Key Recovery claim to retrieve saved passwords without rooting. Most of these apps work by reading the same system files that a rooted phone can access, so they require either root permissions or special access that Android grants only in limited cases.
If you read one of these apps, it will ask for permission to access your device settings or files. Be cautious: some apps request more permissions than necessary, and you should check reviews before installing. Many of these apps are free but supported by ads, and some may not work on newer versions of Android.
Before downloading an app, try the built-in methods first. If you're still connected to the network, the Share button in Settings is always faster and more find than a third-party tool. If you're not connected, reconnecting and then using Share is usually simpler than troubleshooting an app.
What to Do If You Cannot View the Password
If the password does not appear even when you're connected to the network, your phone's manufacturer may have restricted access. Samsung phones, for example, sometimes hide this feature. In that case, your options are to contact the network owner (your router's administrator or the WiFi provider) and ask them to tell you the password, or to reset the router and set a new password.
If you own the router, you can log into it directly through a web browser or the router's app. Go to your router's IP address (usually 192.168.1.1 or 192.168.0.1) in a browser, log in with your admin credentials, and view or change the WiFi password from there. The exact steps depend on your router model, but most routers have this option in a Wireless or WiFi settings section.
Frequently Asked Questions
Can I see all my saved WiFi passwords in one list on Android?
No. Android does not have a built-in menu that shows all saved passwords at once. You can only view the password for a network you're currently connected to, or access the raw configuration file if your phone is rooted. For each network, you must connect to it first or use a rooted file manager.
Why does my phone not show the password even though I'm connected?
Some manufacturers disable this feature for security reasons. Samsung and some other brands restrict password viewing. If this is the case, contact your network owner or reset your router. You can also try connecting through the router's app or web interface instead.
Is it safe to use third-party apps to retrieve WiFi passwords?
Third-party apps are generally safe if they come from reputable developers with good reviews, but they often request more permissions than necessary. The built-in Share button in Settings is always the safest option. If you must use an app, check the reviews and permissions carefully before installing.
What if I forgot the password and cannot connect to the network anymore?
You cannot retrieve a password for a network you're not connected to without rooting your phone. Contact the person who set up the network, or if you own the router, log into it directly through a browser using the router's IP address and your admin login.
Can I view WiFi passwords on Android without rooting?
Yes, but only for networks you're currently connected to. Use Settings > WiFi, select the network, and tap Share or Show Password. For networks you're not connected to, you would need to root your phone or use a third-party app with root permissions.