How to find out your Wi-Fi router password using a computer: all the methods

Forgot your home Wi-Fi password, and your router doesn't have a sticker with the factory settings? Or do you need to connect a new device, but only have a computer? This article will explain. all working methodsHow to find out your Wi-Fi password via PC – from simple to technically complex. The methods are suitable for all router models (TP-Link, ASUS, Keenetic, Zyxel etc.) and operating systems (Windows 10/11, macOS, Linux).

Important: If you are not a network administrator, some methods may require access rights or physical access to the router. We do not cover hacking other people's networks—only legal recovery methods. own password.

Let's start with the simplest thing—viewing the saved password in Windows settings. If that doesn't work, we'll move on to alternative options, including the command line, the router's web interface, and even a factory reset (as a last resort).

📊 What kind of router do you have?
TP-Link
ASUS
Keenetic
Zyxel
D-Link
Another

1. View the password in Windows settings (without administrator rights)

If your computer is already connected to a Wi-Fi network, you can view the password in the settings. Windows This is the fastest method. It works even without administrator rights (unless you're trying to change your password).

Instructions for Windows 10/11:

  1. Click Win + Ito open Parameters.
  2. Go to the section Network and Internet → Wi-Fi.
  3. Click Managing known networks.
  4. Select your network and click Properties.
  5. Scroll down to the item Network password and press Show.

If the button Show If your account is inactive, it means your account doesn't have permission to view passwords. In this case, try the next method or log in as an administrator.

2. How to find out the password via the command line (CMD)

The command line allows you to extract the Wi-Fi password if you have administrator rights. This method is universal and works on all versions. Windows.

Step-by-step instructions:

  1. Open Command prompt as administrator (click Win + X and select the appropriate item).
  2. Enter the command to view all saved networks:
    netsh wlan show profiles
  3. Find your network name in the list (for example, MyWiFi_2.4G).
  4. Enter the command to extract the password (replace NETWORK_NAME to real):
    netsh wlan show profile name="NETWORK_NAME" key=clear
  5. Find the line in the results Key content - this is your password.

If the command returns an error The operation failed., check:

  • 🔹 Is the network name spelled correctly (case is important!).
  • 🔹 Is the command prompt running as administrator?
  • 🔹 Whether the computer is connected to this network (or was connected previously).
What to do if CMD doesn't show the password?

If the team netsh does not display the password, this may mean that:

- The network uses enterprise authentication (WPA2-Enterprise) and the password is stored elsewhere.

- The network profile is damaged (try connecting again).

- You have limited rights in the system (for example, a guest account).

3. View the password in the router's web interface

If the previous methods don't work, you can access your router settings through a browser. To do this, you'll need:

  • 🔹 A computer connected to the router via cable or Wi-Fi.
  • 🔹 Login and password for entering the admin panel (usually indicated on the router sticker).

Instructions:

  1. Find out Router IP address:
    • IN Windows: open cmd and type ipconfig → find the line Main gateway (usually 192.168.0.1 or 192.168.1.1).
    • IN macOS: System Preferences → Network → Advanced → TCP/IPRouter.
  • Enter this IP into the address bar of your browser (for example, http://192.168.0.1).
  • Enter your login and password (by default it is often admin/admin or admin/empty).
  • Go to the Wi-Fi settings section (names may vary):
    • For TP-Link: Wireless → Wireless Security.
    • For ASUS: Wireless Network → Security Settings.
    • For Keenetic: Wi-Fi → Hotspot.
    • Find the field Password (or PSK, Key) - the current key will be displayed here.
    • ⚠️ Important: If you haven't changed your login/password for your router, use the information on the sticker on the router. If the sticker is missing or the information has been erased, you'll need to reset the router to factory settings (see Section 6).
      Router brand Standard IP address Default login/password
      TP-Link 192.168.0.1 or 192.168.1.1 admin/admin
      ASUS 192.168.1.1 admin/admin
      Keenetic 192.168.1.1 admin/1234 (or empty)
      Zyxel 192.168.1.1 admin/1234

      4. Using macOS to Extract Wi-Fi Password

      On computers Mac You can view your Wi-Fi password through A bunch of keys - built-in password storage.

      How to do it:

      1. Open Spotlight (Cmd + Space) and enter Bunch of keys.
      2. In the left menu, select SystemPasswords.
      3. Find the name of your Wi-Fi network and double-click on it.
      4. Check the box Show password and enter the password for your account macOS.

    If Keychain asks for a password but you don't remember it, try:

    • 🔹 Reset your account password via Recovery mode (Cmd + R when loading).
    • 🔹 Use another method (for example, the router's web interface).

    5. Alternative methods: third-party programs and scripts

    If standard methods fail, you can use specialized utilities. These are suitable for experienced users and require caution (download software only from official sources!).

    Popular programs:

    • 🔹 WirelessKeyView (from NirSoft) — displays all saved Wi-Fi passwords in the system. Works without installation.
    • 🔹 WiFi Password Revealer — a simple utility for extracting passwords from Windows.
    • 🔹 Magical Jelly Bean WiFi Password Revealer — supports exporting passwords to a file.
    • How to use WirelessKeyView:

      1. Download the program from NirSoft official website.
      2. Unzip the archive and run WirelessKeyView.exe (no installation required).
      3. Find your network in the table - the password will be in the column Key (Ascii).
      ⚠️ Warning: Antivirus software may block these programs because they extract protected information. Add the utility to the exceptions list or temporarily disable your antivirus.

      For Linux you can use the command:

      sudo grep psk= /etc/NetworkManager/system-connections/*

      6. Last resort: reset the router to factory settings

      If none of the methods worked, there remains reset the router Factory reset. This will erase all current settings, including the Wi-Fi password, but will allow you to set a new one.

      How to reset a router:

      1. Find the button on the router body Reset (usually small, recessed).
      2. Take a paper clip or a toothpick and press and hold the button 10-15 seconds.
      3. Wait until the indicators on the router blink and reboot.
      4. Connect to the network with the factory name (eg. TP-Link_1234) and password (indicated on the sticker).
      5. Go to the router's web interface (see section 3) and set up a new network.

      Set up a new Wi-Fi name (SSID)|Set a strong password (minimum 8 characters)|Update router firmware|Change administrator login/password|Save settings to file-->

      ⚠️ Note: After the reset, all devices will be disconnected from Wi-Fi. Prepare a list of devices you need to reconnect (smartphones, smart speakers, printers, etc.) in advance.

      If your router doesn't have a reset button or it's not working, try turning the power off for 30 seconds, then turning it on and immediately holding the WPS button (if available) for 10 seconds. On some models, this also resets the settings.

      FAQ: Frequently asked questions about Wi-Fi password recovery

      Is it possible to find out a Wi-Fi password if the computer is not connected to the network?

      No, if the computer has never connected to this network, it is impossible to extract the password. You will need:

      • 🔹 Physical access to the router (to access the web interface or reset the settings).
      • 🔹 Another device already connected to this network (to view the password on it).
      How to find the Wi-Fi password on an Android smartphone?

      On Android 10+ The password can be viewed like this:

      1. Open Settings → Wi-Fi.
      2. Click on your network → Share.
      3. Confirm unlocking (PIN or fingerprint may be required).
      4. The password will be displayed under the QR code.

      On older versions Android will be required root access or third-party applications (eg WiFi Password Viewer).

      What should I do if my router displays an error when accessing the web interface?

      Problems accessing the router admin panel may be caused by:

      • 🔹 Incorrect IP address (check via ipconfig).
      • 🔹 Blocking by antivirus or firewall (temporarily disable them).
      • 🔹 Router malfunction (try rebooting it).
      • 🔹 Changed access port (try 192.168.0.1:8080).

      If nothing helps, reset the router to factory settings (see section 6).

      Is it possible to hack someone else's Wi-Fi if you know its name?

      No, modern encryption standards (WPA2/WPA3) make hacking virtually impossible without physical access to the router or specialized equipment. Password brute-force attempts:

      • 🔹 They violate the law (Article 272 of the Criminal Code of the Russian Federation - unauthorized access to computer information).
      • 🔹 May result in your device being blocked from the network.
      • 🔹 Slows down the router for all users.

      If you need access to someone else's network, ask the owner for the password.

      How to create a strong Wi-Fi password?

      A weak password makes your network vulnerable to hacking. Follow these rules:

      • 🔹 Length: minimum 12 characters (preferably 16+).
      • 🔹 Combination: letters (A-Z, a-z), numbers (0-9), symbols (!@#$%).
      • 🔹 Avoid: names, birth dates, dictionary words, repeated characters (1111, qwerty).
      • 🔹 Example of a strong password: 7K#pL9@mQ2!vF5*.

      Store your password in a password manager (e.g. KeePass or Bitwarden) or on paper in a safe place.