How to view your Wi-Fi password on a laptop: all the working methods

Forgot your home Wi-Fi password, and the sticker on your router has worn off? Or need to connect a new device but can't be bothered to find the piece of paper with the code? Don't rush to reset your router— The Wi-Fi password is already saved on your laptop., and it can be easily extracted. In this article, we will look at all the current methods for Windows 10/11 And macOS, including hidden system functions, command line and third-party utilities.

Important: These methods only work for networks to which the laptop has previously connected. If you've never entered a password on this device (for example, if you connected via WPS or guest access), these instructions won't help. In this case, you'll need to access your router settings or reset it.

Before you begin, please check:

✅ The laptop is connected to a network for which you need to find out the password (or was connected previously).

✅ You have administrator rights on the device (for some methods).

✅ The router does not use dynamic passwords (for example, on public networks).

📊 What OS does your laptop use?
Windows 10
Windows 11
macOS
Linux
Don't know

1. The standard method via Windows Settings (without programs)

The easiest method for users Windows 10/11 — use the built-in network settings. It doesn't require any additional software and takes less than a minute.

Instructions:

  • 🖱️ Open the menu Start and select Parameters (gear icon).
  • 🌐 Go to the section Network and InternetWi-Fi.
  • 🔍 Scroll down and click Managing known networks.
  • 📋 Select the desired network from the list and click Properties.
  • 🔑 In the field Network password the hidden line will be displayed - click the button Show (you will need to enter the administrator password).

If the button Show If the link is inactive or missing, your account doesn't have administrator rights. In this case, try the methods in the following sections.

2. How to find out the password through the Network and Sharing Center (alternative method)

This method works in Windows 7/8/10/11 This method is suitable if the first method didn't work. Here we use the classic Control Panel, which maintains compatibility with older OS versions.

Step-by-step instructions:

  1. Press the key combination Win + R, enter ncpa.cpl and press Enter.
  2. A window will open Network connectionsFind your active wireless connection (usually labeled with your network's name) and right-click on it → State.
  3. In the new window, click Wireless network properties.
  4. Go to the tab Security and check the box Show entered characters. The password will be displayed in the field. Network security key.

If the tab Security is missing or the password field is empty, this may mean:

  • 🔌 The laptop is connected to the network via cable, not Wi-Fi.
  • 🛡️ The network uses enterprise authentication (for example, in offices or universities).
  • 🔄 The password was changed on the router after the last connection.
What to do if the password field is empty?

If the field Network security key empty, but the laptop is connected to Wi-Fi, try updating the adapter drivers or using the command line (method 3). In rare cases, this indicates corruption of system files—checking sfc /scannow.

3. Command Prompt: A Universal Method for All Windows Versions

If the graphical interface does not show the password, help will come console command netshThis method works even in safe mode and does not require administrator rights to view (but they are required to execute the command).

Follow these steps:

  1. Open Command line as administrator (click Win + XTerminal (administrator)).
  2. Enter the command to display all saved networks:
    netsh wlan show profiles

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

  3. Enter the command to view the password (replace NETWORK_NAME to the real name):
    netsh wlan show profile name="NETWORK_NAME" key=clear
  4. Find the line Key content - this is your password.

Example of command output:

Security settings:

Authentication type: WPA2-Personal

Encryption type: CCMP

Key contents: 12345678

Check your administrator rights|Make sure your laptop is connected to the network|Remember the exact Wi-Fi name (including spaces and case)|Be prepared to enter commands manually (copying and pasting doesn't always work)

-->

⚠️ Attention: If the command returns an error Failed to execute command, check:

  • 🔤 Correct spelling of the network name (including spaces and symbols).
  • 🛠️ Service performance Automatic WLAN configuration (run it through services.msc).
  • 🖧 Integrity of system files (run sfc /scannow).

4. Viewing your password on macOS (for Apple laptops)

On MacBook or iMac With macOS You can find out your Wi-Fi password through the app Bunch of keys — the system's built-in password manager. This method works on all versions from Mac OS X Lion (10.7) to the last Sonoma.

Instructions:

  1. Open Spotlight (combination Command + Space) and enter Bunch of keys.
  2. In the left menu, select SystemPasswords.
  3. In the search bar, enter the name of your Wi-Fi network.
  4. Double-click on the found entry and check the box Show password.
  5. Enter your account password macOS (the one you use to log in).

If the network entry is missing, it may mean:

  • 🔄 The laptop connected to the network via guest access (without saving the password).
  • 🗑️ Connection history was cleared manually.
  • 🔒 The network uses 802.1X (enterprise), and the password is stored elsewhere.

5. Third-party programs for viewing Wi-Fi passwords

If standard methods don't work, you can use specialized utilities. They're convenient for viewing all saved passwords at once or exporting them to a file.

Top 3 proven programs:

Program OS support Peculiarities Link (official)
WirelessKeyView Windows XP–11 Shows all saved passwords, export to TXT/HTML nirsoft.net
WiFi Password Revealer Windows 7–11 Simple interface, copying password to clipboard magicaljellybean.com
Wifi Password Decryptor Windows, macOS Recovering passwords from backups securityxploded.com

⚠️ Attention: Download programs only from official websites! Many "Wi-Fi hackers" listed in search results contain viruses or spyware. Before installing, check the file for VirusTotal.

Example of work WirelessKeyView:

  • 📥 Download the program archive and unzip it (no installation required).
  • 🖱️ Run the file WirelessKeyView.exe on behalf of the administrator.
  • 🔍 The table will display all networks with passwords in the column Key (Ascii).
  • 📋 To save the list, click FileSave All Items.

6. How to find out the password if the laptop is not connected to the network

If your laptop was previously connected to Wi-Fi but is now disconnected (or the network is unavailable), you can still extract the password. Here are three working options:

Option 1: Via the Windows Registry

  • 🖱️ Click Win + R, enter regedit and press Enter.
  • 🔍 Follow the path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wlansvc\Interfaces\

    There will be folders with GUID identifiers here - open them one by one.

  • 📋 Look for the parameter in each folder Profile → the value will contain the network name.
  • 🔑 The password is stored in encrypted form in the parameter KeyMaterial (you can decrypt it through WirelessKeyView).

Option 2: From a Windows backup

If you have a system backup (for example, via File History or Acronis), Wi-Fi passwords can be extracted from files:

  • 📁 Navigate to the backup folder using the following path:
    Windows\System32\config\RegBack\
  • 🔍 Copy the files SYSTEM And SOFTWARE.
  • 🛠️ Use the utility Offline Registry Editor to read data (similar to the registry method).

Option 3: Via another connected gadget

If a smartphone is connected to the same network Android with root rights or another laptop, you can extract the password from there:

  • 📱 On Android: use the app WiFi Password Viewer (root required).
  • 💻 On the second laptop: repeat any of the methods above.
Is it possible to find out the password without administrator rights?

Yes, but with restrictions. Windows You can view the password through netsh without admin rights if you are already connected to the network. macOS You will need your account password. Third-party programs (for example, WirelessKeyView) also require elevated rights.

7. Common mistakes and how to avoid them

When trying to find a Wi-Fi password, users often encounter common problems. Here are the most common ones and their solutions:

Error Cause Solution
The password field is empty The network uses WPS or enterprise authentication Check your router settings or contact your network administrator.
Error Failed to execute command V netsh Service Automatic WLAN configuration disabled Run it through services.msc or restart your laptop
You do not have permission to view your password. Limited rights account Log in as administrator or request permissions
The password is displayed as dots Character hiding mode is enabled Check the box Show entered characters or Show password

⚠️ Attention: If you are trying to find out the password for someone else's network (for example, a neighbor's or a cafe), this may be regarded as unauthorized access According to Article 272 of the Russian Criminal Code, use these methods only for your own networks!

Also remember that in public places (airports, hotels) the following are often used:

  • 🔄 Dynamic passwords (change every day).
  • 🛡️ Portal authentication (requires login/password on the website).
  • 🕒 Time limit (password is valid for 24 hours).

FAQ: Answers to Frequently Asked Questions

Is it possible to find out the password for a Wi-Fi network that the laptop has never connected to?

No. All the methods in this article only work for networks the device has connected to before. If the laptop has never entered a password (for example, it connected via WPS or guest access), it won't be possible to retrieve it. In this case, the following steps remain:

  • Look at the password on the router sticker (usually on the back).
  • Access your router settings via a browser (usually at 192.168.1.1 or 192.168.0.1).
  • Reset the router to factory settings (button Reset for 10 seconds).
Why is there no "Show password" button in Windows Settings?

This can happen for several reasons:

  1. Your account doesn't have administrator rights. Try logging in with a different account or requesting administrator rights.
  2. The network uses enterprise authentication (for example, in offices or universities). In this case, the password is stored on the radius server, not on the device.
  3. The password was changed on the router after the laptop was last connected. Refresh the connection: disconnect from the network and reconnect.
  4. The system's security settings have been corrupted. Try restoring them using the command:
    netsh winsock reset
How to save all Wi-Fi passwords to a file for backup?

To export all saved passwords to a text file, follow these steps:

For Windows:

  1. Open Command line on behalf of the administrator.
  2. Enter the command to export all profiles:
    netsh wlan export profile folder="C:\WiFi_Backup\" key=clear
  3. Passwords will be saved in the folder C:\WiFi_Backup\ in the form of XML files.

For macOS:

  1. Open Terminal.
  2. Enter the command:
    security find-generic-password -ga "NETWORK_NAME" | grep "password:"
  3. To save all passwords to a file, use:
    security dump-keychain -d login.keychain > wifi_passwords.txt

⚠️ Keep your password file in a safe place—it contains confidential information!

Do these methods work on Linux?

On distributions Linux (Ubuntu, Fedora, Mint, etc.) Wi-Fi passwords are stored in configuration files NetworkManager or wpa_supplicantTo view them:

  1. Open terminal and enter:
    sudo cat /etc/NetworkManager/system-connections/NETWORK_NAME

    (replace NETWORK_NAME to the name of your network).

  2. Find the line psk= - there will be a password after it.
  3. If used wpa_supplicant, check the file:
    sudo cat /etc/wpa_supplicant/wpa_supplicant.conf

For convenience, you can install graphical utilities:

  • Wifi Password (for GNOME).
  • KWiFiManager (for KDE).
Is it possible to find out the password from an Android phone or iPhone?

Yes, but with restrictions:

On Android:

  • 📱 On stock Android (Pixel, Nexus) or with root access: use the app WiFi Password Viewer.
  • 🔧 Without root: go to Settings → Wi-Fi, select the network and press Share (PIN or fingerprint required).

On iPhone/iPad:

  • 🍎 On devices with iOS 16+: go to Settings → Wi-Fi, tap on the network → Password (Face ID/Touch ID required).
  • 🔄 On older versions of iOS: passwords can only be extracted via an iTunes backup (using utilities like iBackup Viewer).

⚠️ On some firmware (for example, MIUI On Xiaomi, passwords are hidden even for root users.