Mobile Phones Android How to Find Your Wi-Fi Password on Android View your passwords when you need to share it but can't remember it Share Pin Email Print Westend61 / Getty Images Android Switching from iOS By Nicholas Congleton Writer Nick Congleton has been a tech writer and blogger since 2015. His work has appeared in PCMech, Make Tech Easier, Infosec Institute, and others. our editorial process Twitter LinkedIn Nicholas Congleton Updated August 02, 2019 When you enter a Wi-Fi password, the device remembers it indefinitely; however, for security reasons, it will never share the password willingly. There are ways to display a Wi-Fi password on Android if you have a rooted device. It's also possible to access all your password-protected Android folders with a command-line tool called ADB. The information below should apply no matter who made your Android device: Samsung, Google, Huawei, Xiaomi, etc. How to Find WI-Fi Passwords on Android Using Solid Explorer The Solid Explorer app is one of the best Android file browsers. Use it to retrieve your Wi-Fi password. To use these methods, enable root access to the Android device. This may void the warranty. Back up your data before attempting to root a smartphone or tablet. Open the Google Play Store app and search for Solid Explorer. Tap Solid Explorer File Manager, then tap Install. Open Solid Explorer. The home screen lists your major directories, which are the media folders that you access on a regular basis. Tap the stacked lines in the upper-left corner of the screen to open the menu. In the Storages section, tap Root. In the root filesystem, tap data. Tap Grant to give Solid Explorer root permissions. Tap misc. Tap wifi. Tap wpa_supplicant.conf, then choose a text editor such as SE Text Editor from Solid Explorer. The wpa_supplicant.conf file contains the Wi-Fi configuration information. Do not change this file. Look under the network block and find the entry for psk. That's the password. If you connect to multiple Wi-Fi networks with the device, you'll find a network block for each one. Check the ssid entry in each block for the network name. Store the password in a secure place so that you can use it later. How to See WI-Fi Passwords on Android Using a Terminal Emulator If you don't want to install a new file manager, use a terminal emulator on the Android device to access the file that contains the Wi-Fi password. There are several terminal emulators, but Termux is a clear stand-out. It's more than a terminal emulator, as it brings command-line utilities, such as SSH, to Android so that you can use a mobile device like a Linux distribution. To view Wi-Fi passwords with Termux: Search for Termux in the Google Play Store and install the app. Open Termux. Enter the following text in the command line: $ pkg install termux-tools To add root (superuser) permissions, enter the command: $ su When prompted, grant superuser permissions to Termux. Enter the following text on the command line: # cat /data/misc/wifi/wpa_supplicant.conf Look under the network block to find an entry for psk. If you connect to multiple Wi-Fi networks with the device, you'll find a network block for each one. Check the ssid entry in each block for the network name. Store the password in a secure place. How to Show WI-Fi Passwords on Android Using ADB If you prefer to do everything from a computer, the Android Debug Bridge (ADB) is just the tool to do that. Use the ADB to pull the Wi-Fi configuration directly from a phone and view it on a computer. Install the ADB on your computer. This works best from Linux, but you can use Windows or Mac. Linux Open a terminal and run the following command: $ sudo apt install android-tools-adb android-tools-fastboot Windows On Windows, download the latest platform-tools from Google. After unzipping the compressed file, open the folder and right-click inside of it. Select the option to open a terminal window. macOS Download the latest Google platform tools for Mac. After unzipping the compressed file, open the Mac Terminal app and run this command: $ cd /path/to/android/tools Connect the Android device to the computer with a USB cable. To copy the configuration file from Android, switch the connection on the device from charging to MTP for file transfer. On the computer, enter the following into a terminal window: $ adb devices A notification appears on the device asking you to enable USB debugging. Allow it, then run the command above to see the Android device's serial number. Run the following commands from the terminal: $ adb shell$ su# cat /data/misc/wifi/wpa_supplicant.conf To copy the configuration, run: # cp /data/misc/wifi/wpa_supplicant.conf /sdcard/# exit$ exit$ adb pull /sdcard/wpa_supplicant.conf ~/Downloads/ Then, open the file on the computer and access everything. Look for the network blocks in the file. Locate your network by the ssid. The password is listed under psk. To exit the shell, enter: # exit$ exit Disconnect the Android device.