How to Find Your Wi-Fi Password on Android

Need to share it but cant remember it? 3 ways to view your passwords

Woman in her kitchen in the morning, posting sticky notes on the fridge

Westend61/Getty Images

When you enter a Wi-Fi password, your device remembers it indefinitely; however, for security reasons, it's never going to share the password willingly. Fortunately, there are ways to display your Wi-Fi password on Android if you have a rooted device. It's possible to access all off 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 ES File Explorer

The ES File Explorer app is easily one of the best Android file browsers. Use it to retrieve your Wi-Fi password:

To use any of these methods, you must enable root access to your Android device, which will void the warranty. Be sure to back up your data before attempting to root your smartphone or tablet.

  1. Open the Google Play Store app and search for ES File Explorer.

    ES File Explorer on the Google Play Store
  2. Tap ES File Explorer File Manager, then tap Install.

  3. Open ES File Explorer. The home screen lists your major directories, which are the media folders that you'd typically access on a regular basis.

  4. Tap the stacked lines in the upper-left corner of the screen to open the menu.

  5. Scroll down and tap Root Explorer.

    Scroll down and tap Root Explorer.
  6. Allow ES File Explorer root permissions.

  7. Scroll up through the menu and tap Local > Device to access the root directory of your device.

  8. Tap the data folder.

  9. Navigate to misc > wifi.

  10. Tap wpa_supplicant.conf.

    The wpa_supplicant.conf file contains all of your Wi-Fi configuration information, so don't mess with it.

  11. Look under the network block to find an entry for psk. That's your password.

    Look under the network block to find an entry for

    If you connect to multiple Wi-Fi networks with your device, you'll find a network block for each one. Check the ssid entry in each block for your network name.

  12. Write down your password and store it someplace secure so that you can use it later.

How to See Wi-Fi Passwords on Android Using a Terminal Emulator

If you'd rather not install a new file manager, you can choose to use a terminal emulator on your Android device to access the file storing your WiFi password.

There are a bunch of terminal emulators, but Termux is a clear stand-out. It's much more than just a terminal emulator, as it brings a lot of Linux command line utilities, like SSH, to Android so that you can use your mobile device like a proper Linux distribution.

To view Wi-Fi passwords with Termux:

  1. Search for Termux in the Google Play Store and install the app.

    Search for Termux in the Google Play Store and install the app.
  2. Open Termux.

  3. Input the following text in the command line:

    $ pkg install termux-tools
  4. Input the following text on the command liner:

    # cat /data/misc/wifi/wpa_supplicant.conf
    Look under the network block to find an entry for psk.
    WiFi Config Through Termux.
  5. Look under the network block to find an entry for psk.

    If you connect to multiple Wi-Fi networks with your device, you'll find a network block for each one. Check the ssid entry in each block for your network name.

  6. Write down your password and store it someplace secure so that you can use it later.

How to Show Wi-Fi Passwords on Android Using ADB

You might prefer to do everything from your computer. If so, the Android Debug Bridge (ADB) is just the tool to do that. Use the ADB to pull your Wi-Fi configuration directly from your phone and view it on your computer:

  1. Start by installing the ADB on your computer. This works best from Linux, but you can absolutely 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, you'll need to 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

    Start by downloading 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
  2. Connect your Android device to your computer via USB. When it's plugged in, switch the connection on the device from charging to MTP for file transfer.

  3. Back on the computer, enter the following into your terminal window:

    $ adb devices
  4. A notification will appear on your device asking you to enable USB debugging. Allow it, then run the command above again to see your Android device's serial number appear.

  5. Run the following commands from the terminal:

    $ adb shell
    $ su
    $ cp /data/misc/wifi/wpa_supplicant.conf /sdcard/
    $ exit
    $ exit
    $ adb pull /sdcard/wpa_supplicant.conf ~/Downloads/
  6. Locate the wpa_supplicant.conf file on your computer and open it with a text editor.

  7. Look for the network blocks in the file. Locate your network by the ssid. The password is listed under psk.