How to view the WiFi password on the computer you're connected to

Needing to connect a new device to a wireless network but forgetting the password is one of the most common situations in today's digital environment. Fortunately, Windows and macOS operating systems save authentication data by default for automatic future connections, making it easy to retrieve when needed. You don't need to hack the router or reset it to factory settings; you can simply use the system's built-in tools.

In this article we will take a detailed look at all the available methods of obtaining security keys for various operating system versions. We'll cover both the graphical settings interface and more advanced command-line methods, which are often faster and more reliable. Understanding these processes will help you not only solve the current problem but also better manage the security of your home network.

It's worth noting that most of the steps described below require administrator rights on your device. This is a standard security measure to prevent unauthorized access to sensitive information. If you're using a corporate computer, access to some features may be restricted by your system administrator.

View saved networks in Windows 10 and 11

In Windows operating systems, you can view the password for an active or previously used network through the standard settings menu. This method is the simplest and most intuitive for inexperienced users, as it doesn't require entering complex commands. However, the settings interface in Windows 11 has undergone significant changes compared to previous versions, so the paths may differ.

To get started, open the Start menu and go to "Settings" (the gear icon). Next, select the "Network & Internet" tab. In the list of available options, find "Wi-Fi" and click it. Here you'll see a list of known networks, and if you select the one you want, the system will prompt you to view the connection properties.

⚠️ Note: In Windows 10, viewing the password for an active network often requires going to the Network and Sharing Center, as this option may be hidden or moved in the new settings.

An alternative and faster way to access the required settings is to use the Run window. Press the key combination Win + R on the keyboard. In the dialog box that appears, enter the command ncpa.cpl and press Enter. The Network Connections window will open. Find your wireless connection icon, right-click it, and select "Status."

In the status window that opens, click "Wireless Network Properties." Go to the "Security" tab. This is where the "Network Security Key" field is located, hidden by asterisks by default. Check the "Show entered characters" box to see your password in plain text.

  • 🔍 Right-click on the Wi-Fi icon in the tray.
  • 🔍 Select "Open Network & Internet settings".
  • 🔍 Go to "Network and Sharing Center".
  • 🔍 Click on the name of your blue wireless network.
📊 What version of Windows are you using?
Windows 10
Windows 11
Windows 8.1
Windows 7
Other OS

Using the Command Line to Extract Keys

For those who prefer speed and precision, the Windows command line provides powerful tools for managing network profiles. This method is especially useful if the graphical interface isn't working correctly or if you need to find the password for a network to which the computer isn't currently connected but the profile is saved.

To launch the command prompt with administrator privileges, right-click the "Start" button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin)". First, you need to list all saved Wi-Fi profiles. To do this, enter the command:

netsh wlan show profiles

In response, the system will display a list of all networks the device has ever connected to. Find the exact name of the desired network (Profile Name). Then, use the command to display a specific profile by adding the key key=clear, which forces the system to show the password in clear text:

netsh wlan show profile name="Network_Name" key=clear

In the security information section, find the "Key Content" line. The value to the right of the colon is your password. This method works on all modern versions of Windows, including server editions, and is not affected by interface updates.

⚠️ Important: When entering the network name in quotation marks, be sure to include capitalization and spaces. If the name contains special characters, they must also be included exactly.

What to do if the command fails?

If the system reports "Access Denied," make sure you're running the command prompt as an administrator. If the profile isn't found, check the spelling of the network name in the profile list.

How to retrieve a password on macOS (MacBook, iMac)

Apple computer users can also easily recover forgotten passwords thanks to the integrated key management system, Keychain Access. In newer versions of macOS (Ventura and later), this process has become even simpler and has been moved to the main system settings, making it accessible even for beginners.

In macOS Ventura and Sonoma, open "System Preferences" from the Apple menu. Go to "Wi-Fi" in the sidebar. On the right, find the "Advanced" button or simply scroll down the list of known networks. Find the desired network in the list and click the button with three dots or the information icon (i) next to it. In the window that opens, you'll see a "Password" field hidden by dots. Click the "Copy" button or the eye icon, and the system will prompt you to enter your user account password or use Touch ID for confirmation.

In older versions of macOS (Monterey and earlier), the procedure is slightly different. Open the Keychain Access app (you can find it in Spotlight by clicking Cmd + Space). In the left column, select the "System" or "Login" category. Find the name of your Wi-Fi network in the list of names.

  • 🍎 Double-click on the network name in the list.
  • 🍎 In the window that opens, check the box "Show password".
  • 🍎 Enter your macOS administrator password to confirm.
  • 🍎 Copy the displayed text to the clipboard.

This method is standard across the Apple ecosystem and provides a high level of security, as access to the keys is protected by biometrics or a login password. Keys in Keychain are synced via iCloud, so the password can be accessed on your other Apple devices.

Comparison of access methods

The choice of password recovery method depends on your operating system, your comfort level with technical tools, and the specific situation. A graphical interface is more intuitive, but may be hidden in menus after major OS updates. The command line is universal, but requires precise typing.

Below is a table comparing the key features of various methods for viewing saved passwords across different platforms. This will help you quickly navigate and choose the most suitable option.

Method OS Complexity Requires admin rights Speed
Windows Settings Win 10/11 Low Yes Average
Command line Win All Average Yes High
Bunch of keys macOS Low Yes High
Wi-Fi settings macOS 13+ Very low Yes (biometrics) High

It's important to understand that all of these methods only work if the device has previously successfully connected to this network. If the computer has never connected to this Wi-Fi network, it's impossible to find the password through its settings without access to the router or other device where the password is stored.

Restoring access via the router's web interface

If none of the computers remember the password, the only option is to configure the router itself. To do this, connect to the router via Ethernet cable or Wi-Fi (if the connection is still active on any device) and log into its admin panel.

Open your browser and enter your router's IP address in the address bar. Most often, this is 192.168.0.1, 192.168.1.1 or 192.168.31.1The exact address is often indicated on a sticker on the bottom of the device. You will need to enter the router administrator login and password (not to be confused with the Wi-Fi password). By default, this is often admin/admin, but it's better to check the sticker.

Once you've logged into the interface, find the section related to wireless networking. It may be labeled "Wireless," "Wi-Fi," "Wireless Mode," or "WLAN." Within this section, you'll find a subsection labeled "Security" or "Wi-Fi Settings." There, you'll see a "Password" (Password, Key, or Passphrase) field, which you can change or simply view.

⚠️ Note: Router interfaces from different manufacturers (TP-Link, ASUS, D-Link, Keenetic) vary significantly. Look for sections labeled "Wireless" or with an antenna icon.

☑️ Check before logging into the router

Completed: 0 / 4

Frequently Asked Questions (FAQ)

Is it possible to find out the Wi-Fi password if I'm not connected to the network right now?

Yes, if your computer has previously connected to this network and saved the profile. In Windows, this can be done via the command line with the command netsh wlan show profile, specifying the name of the saved network. On macOS, the password is stored in Keychain regardless of the connection status.

What should I do if the "Show characters" field is inactive (gray)?

This means your account doesn't have administrator privileges. You need to log out and log in as an administrator, or ask the computer owner to enter the administrator password to confirm the action.

Where can I find the password if the router is new and I've never changed it?

Look at the sticker on the bottom or back of the router. It contains the factory password (Wireless Password / PIN / Key). If you've changed the password before and forgot it, and your devices don't remember it, you'll need to reset the router to factory settings using the Reset button.

Is it safe to save passwords on your computer?

Yes, operating systems encrypt stored passwords. However, if an attacker with administrator rights gains access to your computer, they can extract this data. Always use a strong password when logging in.

In conclusion, managing Wi-Fi passwords is a basic skill that significantly simplifies life in the digital world. Knowing these techniques will ensure you can quickly connect guests or new devices to the network without any fuss. Remember to keep your devices secure and update passwords regularly, especially if they're used by a large number of people.