How to Find Your Wi-Fi Password on Android

Need to share but cant remember it? These three ways can help view it.

Android Recover Wifi Password

When you enter a Wi-Fi password, your device remembers them indefinitely. But what happens when you need that password again? Your device remembers it, but for security reasons, it's never going to share it willingly. Fortunately, there are ways to show your Wi-Fi password on Android. These methods do require a rooted device, as the configuration file that stores your Wi-Fi password is in a root-only drive.

While none of these are officially supported, they do take advantage of the way Android handles Wi-Fi on a basic level, without damaging or disrupting anything.

How to Find Wi-Fi Password on Android Using ES File Explorer

The first method for finding your Wi-Fi passwords is an excellent app its own right, ES File Explorer. Now, this app isn't specifically geared for obtaining a Wi-Fi password, but that's a good thing. ES File Explorer is easily one of the best Android file browsers.

  1. Open your Play Store app, and search for "ES File Explorer." It should come right up.

    ES File Explorer On Play Store
    ES File Explorer On Play Store.
  2. Tap ES File Explorer File Manager, then tap Install.

  3. Once you have it, launch ES File Explorer. The home screen it presents lists out your major directories. These 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 through the menu. Tap Root Explorer to enable it.

    Enble Root Explorer
  6. You'll be prompted to grant ES File Explorer root permissions. Accept.

  7. Scroll up through the menu. Tap Local to open up the items below, then find and tap Device to access the root directory of your device.

  8. Tap the data folder. From there, navigate to misc > wifi. The wifi folder contains a handful of items, including your Wi-Fi configuration. That's the file containing your Wi-Fi password.

  9. Tap wpa_supplicant.conf.

  10. That file contains all of your Wi-Fi configuration information, so don't mess with it unless you know what you're doing. However, if you look under the "network" block, you'll find an entry for "psk." That's your password.

    ES File Explorer WiFi Config

    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.

  11. Write your password someplace secure so you can use it elsewhere.

How to See Wi-Fi Password on Android Using Terminal Emulator

If you'd rather not install a new file manager or you'd prefer to keep everything open source, 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 to Android, like SSH, allowing you to use Android like a proper Linux distribution; from the command line, anyway.

  1. Start by installing Termux. It's available on both the Play Store and F-Droid. Search for it in either one, and it'll be the first result.

    Termux
    Termux.
  2. Open Termux. Then, use its built-in package manager to install support for the 'su' command. Run the following command in Termux to accomplish that:

    $ pkg install termux-tools
  3. Now, use the 'su' command in Termux to get root privileges. With root, run the command below to list out the contents of the 'wpa_supplicant.conf' file:

    # cat /data/misc/wifi/wpa_supplicant.conf
    Android CLI WiFi Config File
    WiFi Config Through Termux.
  4. Write down the information you need to sign in to your Wi-Fi.

Show Wi-Fi Password on Android Using ADB

You might prefer to do everything from your computer. If so, ADB is just the tool to do that. It's the Android Debug Bridge straight from Google, and you can use it to do just about anything on your device from your computer. You can 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

    First, if you're on a Debian-based Linux distribution, you can easily install everything you need from your package manager. The fastboot part isn't strictly necessary, but it's good to have anyway. Open a terminal and run the following command:

    $ sudo apt install android-tools-adb android-tools-fastboot

    Open up a terminal, and be ready for the next step.

    Windows

    On Windows, you'll need to download the latest zip from Google. Unpack it in a directory you want to run it out of. Open up that folder, and right click in it. Select the option to open a command prompt there. You'll need that in the next step.

    macOS

    Start by downloading the latest zip from Google. Unpack it in a directory you want to run the Android tools out of. Open a terminal emulator run the command below to change directory into the folder where you unpacked the tools.

    $ 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, type 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 again. You should see your device's serial number appear.

  5. Once you see your device's serial number, you can pull the file onto your computer to view it. Run the following commands from your computer's terminal:

    $ adb shell
    $ su
    $ cp /data/misc/wifi/wpa_supplicant.conf /sdcard/
    $ exit
    $ exit
    $ adb pull /sdcard/wpa_supplicant.conf ~/Downloads/
  6. Open that file with a text editor. You'll see "network" blocks in the file. Locate your network by the "ssid." The password is listed under "psk."