How to Find the Password of a Wi-Fi Network You're Already Connected to: Official and Alternative Methods

Have you ever found yourself in a situation where you need to connect a new device to your home Wi-Fi, but you've long forgotten the password and the sticker on the router is worn off? Or where friends ask you to share a network, but you can't remember the password you entered years ago? This problem is familiar to many—according to surveys, 63% of users don't remember the password for their own network, despite regular use.

Fortunately, if your device is already connected to Wi-Fi, you can retrieve the saved password legally—without hacking or compromising security. In this article, we'll cover 5 official methods We'll also show you how to find the password through the router's web interface for different operating systems (Windows, macOS, Android, iOS). Important: All steps described are applicable. only to networks you already have access to (i.e. your laptop/phone is successfully connected).

We warn you in advance: if we are talking about someone else’s network (for example, in a cafe or office), attempts to extract the password without the administrator’s permission may violate cybersecurity legislation (In Russia, Article 272 of the Russian Criminal Code, "Unauthorized access to computer information"). We consider only legal scenarios!

📊 Which OS do you use most often?
Windows
macOS
Android
iOS
Linux

1. How to find your Wi-Fi password on Windows 10/11 (via the Network and Sharing Center)

The easiest way for PC users is to use Windows' built-in tools. This method works on Windows 7, 8, 10, and 11, if you have administrator rights on the device.

Instructions:

  • 🖱️ Right-click on the icon Wi-Fi in the lower right corner of the taskbar (next to the clock) and select Open Network and Internet settings.
  • 📋 In the window that opens, scroll down and click Additional network settingsAdditional sharing options.
  • 🔗 Follow the link Network and Sharing Center (in the left menu).
  • 📡 Find the section View active networks and click on the name of your Wi-Fi network (blue link next to Connections).
  • 🔐 In the new window, click the button Wireless network properties, then go to the tab Security.
  • 👁️ Check the box Show entered characters — the password will be displayed in the field Network security key.

If the button Wireless network properties is inactive or missing, then your connection is configured through WPS or Enterprise authentication (for example, in corporate networks). In this case, the password can only be extracted through command line or router.

Make sure you are connected to the correct network|Run Command Prompt as administrator|Check network permissions|Save the password in a safe place after viewing-->

⚠️ Attention: On some versions of Windows 11 (especially with the latest updates), the tab Security may be missing. This is due to the security policies of corporate OS editions. In this case, use the method with netsh (described below).

2. Alternative method for Windows: Command Prompt (netsh)

If the graphical interface does not show the password, a utility will come to the rescue netsh (Network Shell). This method works even on locked corporate PCs, as long as you have administrator rights.

Step-by-step instructions:

  1. Open command line as administrator:
    • 🔍 Click Win + S, enter cmd.
    • 🖱️ Right click on Command line and select Run as administrator.
  • Enter the command to view all saved networks:
    netsh wlan show profiles

    Remember the exact name of your network (case is important!).

  • Extract the password for a specific network:
    netsh wlan show profile name="NETWORK_NAME" key=clear

    Replace NETWORK_NAME to the name of your Wi-Fi (for example, TP-Link_1234).

  • Find the line Key content - this is your password.
  • Example of command output:

    
    

    Profile name: TP-Link_1234

    ...

    Security parameters

    Authentication type: WPA2-Personal

    Encryption type: CCMP

    Key contents: 12345678Qw!

    netsh wlan export profile name="NETWORK_NAME" folder="C:\" key=clear

    This will create a file .xml on drive C with the password in clear text.-->

    3. How to view your Wi-Fi password on macOS (via Keychain Access)

    On MacBooks and iMacs, Wi-Fi passwords are stored in the system storage. Bunch of keys (Keychain Access). You can access them in a few clicks if you know your account password.

    Instructions:

    • 🔍 Open Spotlight (Cmd + Space) and enter Bunch of keys (or Keychain Access (in the English version).
    • 🔐 In the left menu, select System (or login, if the password is saved for the current user).
    • 📡 Enter the name of your Wi-Fi network in the search bar.
    • 📋 Double-click on the found entry and check the box Show password.
    • 🔑 Enter your macOS account password—the network security key will then be displayed.

    If there is no network entry, then:

    • ❌ You are connected via WPS or Enterprise networks (For example, 802.1X).
    • ❌ The password is not saved in the keychain (rare, but it happens when connecting manually).
    • ❌ You don't have administrator rights on this Mac.
    ⚠️ Attention: On macOS Ventura 13.3+ Apple has tightened its security policies. If you see a message "Access Denied", try:

    • 🔄 Restart your Mac and try again.
    • 🔑 Temporarily disable FileVault (disk encryption) in System Preferences → Security & Privacy.

    4. Retrieve Android Password (with or without root access)

    On smartphones running Android The situation is more complicated: by default, the system does not allow viewing saved Wi-Fi passwords without root rightsHowever, there are workarounds for some devices.

    Why does Android hide Wi-Fi passwords?

    Google restricts access to passwords for security reasons. Unlike Windows or macOS, where the user has complete control over the device, Android was designed from the ground up as a sandbox system, isolating each application. This prevents the widespread distribution of malware but also complicates legal data extraction.

    Method 1: Without root (only for some devices)

    Some manufacturers (eg Xiaomi, Huawei, Samsung) allow you to view passwords through the engineering menu or proprietary utilities:

    • 📱 On Xiaomi/Redmi/POCO:
      1. Open Settings → Wi-Fi.
      2. Tap on your network name and select Share.
      3. Confirm the action with your fingerprint/password – a QR code with the password will appear.
  • 🤖 On Samsung (One UI 4.0+):
    1. Go to Settings → Connections → Wi-Fi.
    2. Click on the gear next to your network.
    3. Select QR code — the password will be displayed below the code.
  • Method 2: With root rights (universal method)

    If you have root access, use a file manager with root support (eg Root Explorer or FX File Explorer):

    1. Open the manager and go to the following path:
      /data/misc/wifi/WifiConfigStore.xml
    2. Find the line with the name of your network (<string name="SSID">...).
    3. There will be a field below PreSharedKey - this is the password.

    Alternatively, you can use the app WiFi Password Viewer (requires root).

    ⚠️ Attention: Rooting will void your device's warranty and may result in blocking banking applications (due to trigger SafetyNet). On new smartphones (Android 12+) this can also damage the module. Widevine L1, which will cause Netflix/Disney+ to show videos in low resolution.

    5. View your password on iPhone or iPad (with limitations)

    Apple strictly controls access to system data, so iPhone or iPad extract Wi-Fi password impossible without jailbreakHowever, there are two legal workarounds:

    Method 1: Via Mac (if devices are synced)

    If your iPhone is connected to the same Apple ID as your Mac, you can find the password in iCloud Keychain:

    1. On Mac, open Bunch of keys (Cmd + SpaceKeychain Access).
    2. Enter the name of the Wi-Fi network in the search.
    3. Double-click on the entry and check the box Show password.
    4. Enter your Mac account password and the network key will be displayed.

    Method 2: Via a router (universal)

    If you don't have a Mac, all you have to do is go to your router settings (instructions in the next section).

    On devices with jailbreak you can use a tweak WiFi Passwords from the repository repo.hackyouriphone.org, but we do not recommend this method due to security risks.

    6. Universal method: password via the router's web interface

    If none of the above methods work, the most reliable option is to access the router's control panel. This works. on any device (PC, smartphone, tablet) connected to the network.

    Instructions:

    1. 🌐 Find out Router IP address:
      • On Windows: open command prompt and type ipconfig. Look for the line Main gateway (usually 192.168.0.1 or 192.168.1.1).
      • On macOS/Linux: in the terminal, run netstat -rn | grep default.
      • On Android/iOS: use apps like Fing or Network Analyzer.
  • 🔗 Enter the IP address in the address bar of your browser (e.g. http://192.168.0.1).
  • 🔐 Enter your username and password to log in. Standard combinations:
    Manufacturer Login Password
    TP-Link admin admin
    ASUS admin admin
    D-Link admin (empty) or admin
    Zyxel Keenetic admin It is indicated on the router sticker.
    Huawei admin @HuaweiHgw or on a sticker
  • 📡 Go to the section Wi-Fi (or Wireless, Wireless network).
  • 🔑 Find the tab Security (Security) - here in the field Password (Password/Pre-Shared Key) the current key will be displayed.
  • ⚠️ Attention: If you haven't changed the default password of your router, you can find it on the sticker on the back of the device (field Password or Key). However, this only works for a new network—if the password has changed, the sticker is useless.

    Common mistakes and how to avoid them

    When attempting to extract a password, users often encounter typical problems. Here are the most common ones and their solutions:

    • 🚫 "No administrator rights" (Windows/macOS):

      Solution: Run Command Prompt/Terminal as Administrator (sudo (on macOS). If this is a work PC, please contact your IT department.

    • 🔄 "The password is displayed as dots/asterisks":

      Solution: In Windows, check the box Show entered charactersOn Mac in Keychain click Show password.

    • 📵 "The router doesn't open by IP":

      Solution:

      1. Check if you are connected to this router's network.
      2. Try alternative IPs: 192.168.1.1, 192.168.8.1, 10.0.0.1.
      3. Disable your VPN/proxy - they may be blocking access.

    • 🔒 "I forgot my router password.":

      Solution: Reset the router settings using the button Reset (Hold for 10-15 seconds). Then use the information on the sticker.

    • If none of the methods worked, your network may be using dynamic keys (for example, in hotels or airports). In this case, the password is generated by the authentication server and is not stored on the devices.

      FAQ: Answers to frequently asked questions

      ❓ Is it possible to find out the password for someone else's Wi-Fi connection that I'm connected to?

      Technically yes (if you have administrator rights on the device), but this is against the lawIn Russia, unauthorized access to other people's networks is classified under Article 272 of the Russian Criminal Code ("Unauthorized access to computer information") and is punishable by a fine of up to 200,000 rubles or correctional labor. Use this only for your own networks!

      ❓ Why isn't there a built-in password viewer feature on Android?

      Google deliberately restricts access to Wi-Fi passwords for security reasons. Unlike Windows or macOS, where the user has complete control over the system, Android was designed as a platform with strict app isolation. This prevents the widespread distribution of malware but also complicates legal data extraction.

      The exception is that some manufacturers (Xiaomi, Samsung) add this function to their shells, but this is their initiative, not a requirement from Google.

      ❓ I reset my router, but the internet isn't working. What should I do?

      After resetting your router to factory settings, you need to:

      1. Connect to the router network (the name and password are indicated on the sticker).
      2. Login to the web interface (192.168.0.1 or 192.168.1.1).
      3. In the section Internet (WAN) enter the data from the provider (usually PPPoE- login and password). This information can be found in the contract or clarified by contacting the provider's support team.
      4. Save settings and reboot the router.

      If you are unsure of the parameters, call your provider - they will tell you the correct settings.

      ❓ Is it possible to find out the Wi-Fi password from a TV (Smart TV)?

      On the majority Smart TV (Samsung, LG, Sony) do not have built-in tools for viewing Wi-Fi passwords. Exceptions:

      • Samsung Tizen: If the TV is connected to a Samsung account, the password can be synced with the app SmartThings on a smartphone.
      • Android TV (For example, Xiaomi Mi TV): You can try methods for Android (but root is required).

      In other cases, all you have to do is access the router settings from another device.

      ❓ How can I protect my Wi-Fi from this type of hack?

      To prevent unauthorized access to your network:

      • 🔐 Use WPA3 instead of WPA2 (if the router supports it).
      • 🔄 Change your password regularly (every 3-6 months).
      • 📵 Turn off WPS - This protocol is vulnerable to brute force attacks.
      • 👥 Turn it on MAC address filtering (although this is not a panacea).
      • 🛡️ Create guest network for friends, it is isolated from the main one.

      We also recommend disabling remote access to the router control panel (option Remote Management).